Upgrade Rails and Fix tests warning
This commit is contained in:
parent
622da75d5d
commit
43a221ff82
150
Gemfile.lock
150
Gemfile.lock
|
@ -7,58 +7,71 @@ PATH
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
actioncable (5.2.1)
|
actioncable (6.0.2.1)
|
||||||
actionpack (= 5.2.1)
|
actionpack (= 6.0.2.1)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
websocket-driver (>= 0.6.1)
|
websocket-driver (>= 0.6.1)
|
||||||
actionmailer (5.2.1)
|
actionmailbox (6.0.2.1)
|
||||||
actionpack (= 5.2.1)
|
actionpack (= 6.0.2.1)
|
||||||
actionview (= 5.2.1)
|
activejob (= 6.0.2.1)
|
||||||
activejob (= 5.2.1)
|
activerecord (= 6.0.2.1)
|
||||||
|
activestorage (= 6.0.2.1)
|
||||||
|
activesupport (= 6.0.2.1)
|
||||||
|
mail (>= 2.7.1)
|
||||||
|
actionmailer (6.0.2.1)
|
||||||
|
actionpack (= 6.0.2.1)
|
||||||
|
actionview (= 6.0.2.1)
|
||||||
|
activejob (= 6.0.2.1)
|
||||||
mail (~> 2.5, >= 2.5.4)
|
mail (~> 2.5, >= 2.5.4)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
actionpack (5.2.1)
|
actionpack (6.0.2.1)
|
||||||
actionview (= 5.2.1)
|
actionview (= 6.0.2.1)
|
||||||
activesupport (= 5.2.1)
|
activesupport (= 6.0.2.1)
|
||||||
rack (~> 2.0)
|
rack (~> 2.0, >= 2.0.8)
|
||||||
rack-test (>= 0.6.3)
|
rack-test (>= 0.6.3)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||||
actionview (5.2.1)
|
actiontext (6.0.2.1)
|
||||||
activesupport (= 5.2.1)
|
actionpack (= 6.0.2.1)
|
||||||
|
activerecord (= 6.0.2.1)
|
||||||
|
activestorage (= 6.0.2.1)
|
||||||
|
activesupport (= 6.0.2.1)
|
||||||
|
nokogiri (>= 1.8.5)
|
||||||
|
actionview (6.0.2.1)
|
||||||
|
activesupport (= 6.0.2.1)
|
||||||
builder (~> 3.1)
|
builder (~> 3.1)
|
||||||
erubi (~> 1.4)
|
erubi (~> 1.4)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||||
activejob (5.2.1)
|
activejob (6.0.2.1)
|
||||||
activesupport (= 5.2.1)
|
activesupport (= 6.0.2.1)
|
||||||
globalid (>= 0.3.6)
|
globalid (>= 0.3.6)
|
||||||
activemodel (5.2.1)
|
activemodel (6.0.2.1)
|
||||||
activesupport (= 5.2.1)
|
activesupport (= 6.0.2.1)
|
||||||
activerecord (5.2.1)
|
activerecord (6.0.2.1)
|
||||||
activemodel (= 5.2.1)
|
activemodel (= 6.0.2.1)
|
||||||
activesupport (= 5.2.1)
|
activesupport (= 6.0.2.1)
|
||||||
arel (>= 9.0)
|
activestorage (6.0.2.1)
|
||||||
activestorage (5.2.1)
|
actionpack (= 6.0.2.1)
|
||||||
actionpack (= 5.2.1)
|
activejob (= 6.0.2.1)
|
||||||
activerecord (= 5.2.1)
|
activerecord (= 6.0.2.1)
|
||||||
marcel (~> 0.3.1)
|
marcel (~> 0.3.1)
|
||||||
activesupport (5.2.1)
|
activesupport (6.0.2.1)
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
i18n (>= 0.7, < 2)
|
i18n (>= 0.7, < 2)
|
||||||
minitest (~> 5.1)
|
minitest (~> 5.1)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 1.1)
|
||||||
arel (9.0.0)
|
zeitwerk (~> 2.2)
|
||||||
builder (3.2.3)
|
builder (3.2.4)
|
||||||
concurrent-ruby (1.1.3)
|
concurrent-ruby (1.1.5)
|
||||||
crass (1.0.4)
|
crass (1.0.5)
|
||||||
diff-lcs (1.3)
|
diff-lcs (1.3)
|
||||||
erubi (1.7.1)
|
erubi (1.9.0)
|
||||||
globalid (0.4.1)
|
globalid (0.4.2)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 4.2.0)
|
||||||
i18n (1.1.1)
|
i18n (1.7.0)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
loofah (2.2.3)
|
loofah (2.4.0)
|
||||||
crass (~> 1.0.2)
|
crass (~> 1.0.2)
|
||||||
nokogiri (>= 1.5.9)
|
nokogiri (>= 1.5.9)
|
||||||
mail (2.7.1)
|
mail (2.7.1)
|
||||||
|
@ -66,43 +79,45 @@ GEM
|
||||||
marcel (0.3.3)
|
marcel (0.3.3)
|
||||||
mimemagic (~> 0.3.2)
|
mimemagic (~> 0.3.2)
|
||||||
method_source (0.9.2)
|
method_source (0.9.2)
|
||||||
mimemagic (0.3.2)
|
mimemagic (0.3.3)
|
||||||
mini_mime (1.0.1)
|
mini_mime (1.0.2)
|
||||||
mini_portile2 (2.3.0)
|
mini_portile2 (2.4.0)
|
||||||
minitest (5.11.3)
|
minitest (5.13.0)
|
||||||
nio4r (2.3.1)
|
nio4r (2.5.2)
|
||||||
nio4r (2.3.1-java)
|
nio4r (2.5.2-java)
|
||||||
nokogiri (1.8.5)
|
nokogiri (1.10.7)
|
||||||
mini_portile2 (~> 2.3.0)
|
mini_portile2 (~> 2.4.0)
|
||||||
nokogiri (1.8.5-java)
|
nokogiri (1.10.7-java)
|
||||||
rack (2.0.6)
|
rack (2.0.8)
|
||||||
rack-test (1.1.0)
|
rack-test (1.1.0)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
rails (5.2.1)
|
rails (6.0.2.1)
|
||||||
actioncable (= 5.2.1)
|
actioncable (= 6.0.2.1)
|
||||||
actionmailer (= 5.2.1)
|
actionmailbox (= 6.0.2.1)
|
||||||
actionpack (= 5.2.1)
|
actionmailer (= 6.0.2.1)
|
||||||
actionview (= 5.2.1)
|
actionpack (= 6.0.2.1)
|
||||||
activejob (= 5.2.1)
|
actiontext (= 6.0.2.1)
|
||||||
activemodel (= 5.2.1)
|
actionview (= 6.0.2.1)
|
||||||
activerecord (= 5.2.1)
|
activejob (= 6.0.2.1)
|
||||||
activestorage (= 5.2.1)
|
activemodel (= 6.0.2.1)
|
||||||
activesupport (= 5.2.1)
|
activerecord (= 6.0.2.1)
|
||||||
|
activestorage (= 6.0.2.1)
|
||||||
|
activesupport (= 6.0.2.1)
|
||||||
bundler (>= 1.3.0)
|
bundler (>= 1.3.0)
|
||||||
railties (= 5.2.1)
|
railties (= 6.0.2.1)
|
||||||
sprockets-rails (>= 2.0.0)
|
sprockets-rails (>= 2.0.0)
|
||||||
rails-dom-testing (2.0.3)
|
rails-dom-testing (2.0.3)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 4.2.0)
|
||||||
nokogiri (>= 1.6)
|
nokogiri (>= 1.6)
|
||||||
rails-html-sanitizer (1.0.4)
|
rails-html-sanitizer (1.3.0)
|
||||||
loofah (~> 2.2, >= 2.2.2)
|
loofah (~> 2.3)
|
||||||
railties (5.2.1)
|
railties (6.0.2.1)
|
||||||
actionpack (= 5.2.1)
|
actionpack (= 6.0.2.1)
|
||||||
activesupport (= 5.2.1)
|
activesupport (= 6.0.2.1)
|
||||||
method_source
|
method_source
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.8.7)
|
||||||
thor (>= 0.19.0, < 2.0)
|
thor (>= 0.20.3, < 2.0)
|
||||||
rake (12.3.1)
|
rake (13.0.1)
|
||||||
rake-compiler (1.0.5)
|
rake-compiler (1.0.5)
|
||||||
rake
|
rake
|
||||||
rspec (3.8.0)
|
rspec (3.8.0)
|
||||||
|
@ -118,23 +133,24 @@ GEM
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.8.0)
|
rspec-support (~> 3.8.0)
|
||||||
rspec-support (3.8.0)
|
rspec-support (3.8.0)
|
||||||
sprockets (3.7.2)
|
sprockets (4.0.0)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
rack (> 1, < 3)
|
rack (> 1, < 3)
|
||||||
sprockets-rails (3.2.1)
|
sprockets-rails (3.2.1)
|
||||||
actionpack (>= 4.0)
|
actionpack (>= 4.0)
|
||||||
activesupport (>= 4.0)
|
activesupport (>= 4.0)
|
||||||
sprockets (>= 3.0.0)
|
sprockets (>= 3.0.0)
|
||||||
thor (0.20.3)
|
thor (1.0.1)
|
||||||
thread_safe (0.3.6)
|
thread_safe (0.3.6)
|
||||||
thread_safe (0.3.6-java)
|
thread_safe (0.3.6-java)
|
||||||
tzinfo (1.2.5)
|
tzinfo (1.2.5)
|
||||||
thread_safe (~> 0.1)
|
thread_safe (~> 0.1)
|
||||||
websocket-driver (0.7.0)
|
websocket-driver (0.7.1)
|
||||||
websocket-extensions (>= 0.1.0)
|
websocket-extensions (>= 0.1.0)
|
||||||
websocket-driver (0.7.0-java)
|
websocket-driver (0.7.1-java)
|
||||||
websocket-extensions (>= 0.1.0)
|
websocket-extensions (>= 0.1.0)
|
||||||
websocket-extensions (0.1.3)
|
websocket-extensions (0.1.4)
|
||||||
|
zeitwerk (2.2.2)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
java
|
java
|
||||||
|
|
|
@ -3,7 +3,8 @@ require 'spec_helper'
|
||||||
describe ActionView::Base do
|
describe ActionView::Base do
|
||||||
describe '.rucaptcha_input_tag' do
|
describe '.rucaptcha_input_tag' do
|
||||||
it 'should work' do
|
it 'should work' do
|
||||||
view = ActionView::Base.new
|
context = ActionView::LookupContext.new([])
|
||||||
|
view = ActionView::Base.new(context)
|
||||||
expect(view.respond_to?(:rucaptcha_input_tag)).to eq true
|
expect(view.respond_to?(:rucaptcha_input_tag)).to eq true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue