bump to Rails 6.1.4
This commit is contained in:
parent
9041e3df49
commit
431e67aec3
2
Gemfile
2
Gemfile
|
@ -1,6 +1,6 @@
|
||||||
source "https://rubygems.org"
|
source "https://rubygems.org"
|
||||||
|
|
||||||
gem "rails", "~> 6.0.3.3"
|
gem "rails", "~> 6.1.4"
|
||||||
|
|
||||||
gem "mysql2"
|
gem "mysql2"
|
||||||
|
|
||||||
|
|
296
Gemfile.lock
296
Gemfile.lock
|
@ -1,108 +1,117 @@
|
||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
Ascii85 (1.0.3)
|
Ascii85 (1.1.0)
|
||||||
actioncable (6.0.3.7)
|
actioncable (6.1.4.1)
|
||||||
actionpack (= 6.0.3.7)
|
actionpack (= 6.1.4.1)
|
||||||
|
activesupport (= 6.1.4.1)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
websocket-driver (>= 0.6.1)
|
websocket-driver (>= 0.6.1)
|
||||||
actionmailbox (6.0.3.7)
|
actionmailbox (6.1.4.1)
|
||||||
actionpack (= 6.0.3.7)
|
actionpack (= 6.1.4.1)
|
||||||
activejob (= 6.0.3.7)
|
activejob (= 6.1.4.1)
|
||||||
activerecord (= 6.0.3.7)
|
activerecord (= 6.1.4.1)
|
||||||
activestorage (= 6.0.3.7)
|
activestorage (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.7)
|
activesupport (= 6.1.4.1)
|
||||||
mail (>= 2.7.1)
|
mail (>= 2.7.1)
|
||||||
actionmailer (6.0.3.7)
|
actionmailer (6.1.4.1)
|
||||||
actionpack (= 6.0.3.7)
|
actionpack (= 6.1.4.1)
|
||||||
actionview (= 6.0.3.7)
|
actionview (= 6.1.4.1)
|
||||||
activejob (= 6.0.3.7)
|
activejob (= 6.1.4.1)
|
||||||
|
activesupport (= 6.1.4.1)
|
||||||
mail (~> 2.5, >= 2.5.4)
|
mail (~> 2.5, >= 2.5.4)
|
||||||
rails-dom-testing (~> 2.0)
|
rails-dom-testing (~> 2.0)
|
||||||
actionpack (6.0.3.7)
|
actionpack (6.1.4.1)
|
||||||
actionview (= 6.0.3.7)
|
actionview (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.7)
|
activesupport (= 6.1.4.1)
|
||||||
rack (~> 2.0, >= 2.0.8)
|
rack (~> 2.0, >= 2.0.9)
|
||||||
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.2.0)
|
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
||||||
actionpack-page_caching (1.2.3)
|
actionpack-page_caching (1.2.4)
|
||||||
actionpack (>= 5.0.0)
|
actionpack (>= 4.0.0)
|
||||||
actiontext (6.0.3.7)
|
actiontext (6.1.4.1)
|
||||||
actionpack (= 6.0.3.7)
|
actionpack (= 6.1.4.1)
|
||||||
activerecord (= 6.0.3.7)
|
activerecord (= 6.1.4.1)
|
||||||
activestorage (= 6.0.3.7)
|
activestorage (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.7)
|
activesupport (= 6.1.4.1)
|
||||||
nokogiri (>= 1.8.5)
|
nokogiri (>= 1.8.5)
|
||||||
actionview (6.0.3.7)
|
actionview (6.1.4.1)
|
||||||
activesupport (= 6.0.3.7)
|
activesupport (= 6.1.4.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.1, >= 1.2.0)
|
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
||||||
activejob (6.0.3.7)
|
activejob (6.1.4.1)
|
||||||
activesupport (= 6.0.3.7)
|
activesupport (= 6.1.4.1)
|
||||||
globalid (>= 0.3.6)
|
globalid (>= 0.3.6)
|
||||||
activemodel (6.0.3.7)
|
activemodel (6.1.4.1)
|
||||||
activesupport (= 6.0.3.7)
|
activesupport (= 6.1.4.1)
|
||||||
activerecord (6.0.3.7)
|
activerecord (6.1.4.1)
|
||||||
activemodel (= 6.0.3.7)
|
activemodel (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.7)
|
activesupport (= 6.1.4.1)
|
||||||
activerecord-typedstore (1.3.1)
|
activerecord-typedstore (1.4.0)
|
||||||
activerecord (>= 5.2)
|
activerecord (>= 5.2)
|
||||||
activestorage (6.0.3.7)
|
activestorage (6.1.4.1)
|
||||||
actionpack (= 6.0.3.7)
|
actionpack (= 6.1.4.1)
|
||||||
activejob (= 6.0.3.7)
|
activejob (= 6.1.4.1)
|
||||||
activerecord (= 6.0.3.7)
|
activerecord (= 6.1.4.1)
|
||||||
|
activesupport (= 6.1.4.1)
|
||||||
marcel (~> 1.0.0)
|
marcel (~> 1.0.0)
|
||||||
activesupport (6.0.3.7)
|
mini_mime (>= 1.1.0)
|
||||||
|
activesupport (6.1.4.1)
|
||||||
concurrent-ruby (~> 1.0, >= 1.0.2)
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
||||||
i18n (>= 0.7, < 2)
|
i18n (>= 1.6, < 2)
|
||||||
minitest (~> 5.1)
|
minitest (>= 5.1)
|
||||||
tzinfo (~> 1.1)
|
tzinfo (~> 2.0)
|
||||||
zeitwerk (~> 2.2, >= 2.2.2)
|
zeitwerk (~> 2.3)
|
||||||
addressable (2.7.0)
|
addressable (2.8.0)
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
afm (0.2.2)
|
afm (0.2.2)
|
||||||
ast (2.4.1)
|
ast (2.4.2)
|
||||||
bcrypt (3.1.16)
|
bcrypt (3.1.16)
|
||||||
builder (3.2.4)
|
builder (3.2.4)
|
||||||
byebug (11.1.3)
|
byebug (11.1.3)
|
||||||
capybara (3.34.0)
|
capybara (3.36.0)
|
||||||
addressable
|
addressable
|
||||||
|
matrix
|
||||||
mini_mime (>= 0.1.3)
|
mini_mime (>= 0.1.3)
|
||||||
nokogiri (~> 1.8)
|
nokogiri (~> 1.8)
|
||||||
rack (>= 1.6.0)
|
rack (>= 1.6.0)
|
||||||
rack-test (>= 0.6.3)
|
rack-test (>= 0.6.3)
|
||||||
regexp_parser (~> 1.5)
|
regexp_parser (>= 1.5, < 3.0)
|
||||||
xpath (~> 3.2)
|
xpath (~> 3.2)
|
||||||
chunky_png (1.3.12)
|
chunky_png (1.4.0)
|
||||||
commonmarker (0.21.0)
|
commonmarker (0.23.2)
|
||||||
ruby-enum (~> 0.5)
|
concurrent-ruby (1.1.9)
|
||||||
concurrent-ruby (1.1.8)
|
crack (0.4.5)
|
||||||
crack (0.4.3)
|
rexml
|
||||||
safe_yaml (~> 1.0.0)
|
|
||||||
crass (1.0.6)
|
crass (1.0.6)
|
||||||
database_cleaner (1.8.5)
|
database_cleaner (2.0.1)
|
||||||
|
database_cleaner-active_record (~> 2.0.0)
|
||||||
|
database_cleaner-active_record (2.0.1)
|
||||||
|
activerecord (>= 5.a)
|
||||||
|
database_cleaner-core (~> 2.0.0)
|
||||||
|
database_cleaner-core (2.0.1)
|
||||||
diff-lcs (1.4.4)
|
diff-lcs (1.4.4)
|
||||||
docile (1.3.2)
|
docile (1.4.0)
|
||||||
erubi (1.10.0)
|
erubi (1.10.0)
|
||||||
exception_notification (4.4.3)
|
exception_notification (4.4.3)
|
||||||
actionmailer (>= 4.0, < 7)
|
actionmailer (>= 4.0, < 7)
|
||||||
activesupport (>= 4.0, < 7)
|
activesupport (>= 4.0, < 7)
|
||||||
execjs (2.7.0)
|
execjs (2.8.1)
|
||||||
factory_bot (6.1.0)
|
factory_bot (6.2.0)
|
||||||
activesupport (>= 5.0.0)
|
activesupport (>= 5.0.0)
|
||||||
factory_bot_rails (6.1.0)
|
factory_bot_rails (6.2.0)
|
||||||
factory_bot (~> 6.1.0)
|
factory_bot (~> 6.2.0)
|
||||||
railties (>= 5.0.0)
|
railties (>= 5.0.0)
|
||||||
faker (2.13.0)
|
faker (2.19.0)
|
||||||
i18n (>= 1.6, < 2)
|
i18n (>= 1.6, < 2)
|
||||||
ffi (1.13.1)
|
ffi (1.15.4)
|
||||||
flamegraph (0.9.5)
|
flamegraph (0.9.5)
|
||||||
globalid (0.4.2)
|
globalid (0.5.2)
|
||||||
activesupport (>= 4.2.0)
|
activesupport (>= 5.0)
|
||||||
good_migrations (0.0.2)
|
good_migrations (0.1.0)
|
||||||
activerecord (>= 3.1)
|
activerecord (>= 3.1)
|
||||||
railties (>= 3.1)
|
railties (>= 3.1)
|
||||||
hashdiff (1.0.1)
|
hashdiff (1.0.1)
|
||||||
|
@ -115,103 +124,104 @@ GEM
|
||||||
rails-dom-testing (>= 1, < 3)
|
rails-dom-testing (>= 1, < 3)
|
||||||
railties (>= 4.2.0)
|
railties (>= 4.2.0)
|
||||||
thor (>= 0.14, < 2.0)
|
thor (>= 0.14, < 2.0)
|
||||||
json (2.3.1)
|
json (2.6.1)
|
||||||
listen (3.2.1)
|
listen (3.7.0)
|
||||||
rb-fsevent (~> 0.10, >= 0.10.3)
|
rb-fsevent (~> 0.10, >= 0.10.3)
|
||||||
rb-inotify (~> 0.9, >= 0.9.10)
|
rb-inotify (~> 0.9, >= 0.9.10)
|
||||||
loofah (2.9.1)
|
loofah (2.12.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)
|
||||||
mini_mime (>= 0.1.1)
|
mini_mime (>= 0.1.1)
|
||||||
marcel (1.0.1)
|
marcel (1.0.2)
|
||||||
memory_profiler (0.9.14)
|
matrix (0.4.2)
|
||||||
|
memory_profiler (1.0.0)
|
||||||
method_source (1.0.0)
|
method_source (1.0.0)
|
||||||
mini_mime (1.1.0)
|
mini_mime (1.1.2)
|
||||||
mini_portile2 (2.5.1)
|
mini_portile2 (2.6.1)
|
||||||
minitest (5.14.4)
|
minitest (5.14.4)
|
||||||
mysql2 (0.5.3)
|
mysql2 (0.5.3)
|
||||||
nio4r (2.5.7)
|
nio4r (2.5.8)
|
||||||
nokogiri (1.11.4)
|
nokogiri (1.12.5)
|
||||||
mini_portile2 (~> 2.5.0)
|
mini_portile2 (~> 2.6.1)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
oauth (0.5.6)
|
oauth (0.5.6)
|
||||||
parallel (1.19.2)
|
parallel (1.21.0)
|
||||||
parser (2.7.1.4)
|
parser (3.0.2.0)
|
||||||
ast (~> 2.4.1)
|
ast (~> 2.4.1)
|
||||||
pdf-reader (2.4.0)
|
pdf-reader (2.5.0)
|
||||||
Ascii85 (~> 1.0.0)
|
Ascii85 (~> 1.0)
|
||||||
afm (~> 0.2.1)
|
afm (~> 0.2.1)
|
||||||
hashery (~> 2.0)
|
hashery (~> 2.0)
|
||||||
ruby-rc4
|
ruby-rc4
|
||||||
ttfunk
|
ttfunk
|
||||||
public_suffix (4.0.6)
|
public_suffix (4.0.6)
|
||||||
puma (5.3.2)
|
puma (5.5.2)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
racc (1.5.2)
|
racc (1.6.0)
|
||||||
rack (2.2.3)
|
rack (2.2.3)
|
||||||
rack-attack (6.5.0)
|
rack-attack (6.5.0)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
rack-mini-profiler (2.0.4)
|
rack-mini-profiler (2.3.3)
|
||||||
rack (>= 1.2.0)
|
rack (>= 1.2.0)
|
||||||
rack-test (1.1.0)
|
rack-test (1.1.0)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
rails (6.0.3.7)
|
rails (6.1.4.1)
|
||||||
actioncable (= 6.0.3.7)
|
actioncable (= 6.1.4.1)
|
||||||
actionmailbox (= 6.0.3.7)
|
actionmailbox (= 6.1.4.1)
|
||||||
actionmailer (= 6.0.3.7)
|
actionmailer (= 6.1.4.1)
|
||||||
actionpack (= 6.0.3.7)
|
actionpack (= 6.1.4.1)
|
||||||
actiontext (= 6.0.3.7)
|
actiontext (= 6.1.4.1)
|
||||||
actionview (= 6.0.3.7)
|
actionview (= 6.1.4.1)
|
||||||
activejob (= 6.0.3.7)
|
activejob (= 6.1.4.1)
|
||||||
activemodel (= 6.0.3.7)
|
activemodel (= 6.1.4.1)
|
||||||
activerecord (= 6.0.3.7)
|
activerecord (= 6.1.4.1)
|
||||||
activestorage (= 6.0.3.7)
|
activestorage (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.7)
|
activesupport (= 6.1.4.1)
|
||||||
bundler (>= 1.3.0)
|
bundler (>= 1.15.0)
|
||||||
railties (= 6.0.3.7)
|
railties (= 6.1.4.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.3.0)
|
rails-html-sanitizer (1.4.2)
|
||||||
loofah (~> 2.3)
|
loofah (~> 2.3)
|
||||||
railties (6.0.3.7)
|
railties (6.1.4.1)
|
||||||
actionpack (= 6.0.3.7)
|
actionpack (= 6.1.4.1)
|
||||||
activesupport (= 6.0.3.7)
|
activesupport (= 6.1.4.1)
|
||||||
method_source
|
method_source
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.13)
|
||||||
thor (>= 0.20.3, < 2.0)
|
thor (~> 1.0)
|
||||||
rainbow (3.0.0)
|
rainbow (3.0.0)
|
||||||
rake (13.0.3)
|
rake (13.0.6)
|
||||||
rb-fsevent (0.10.4)
|
rb-fsevent (0.11.0)
|
||||||
rb-inotify (0.10.1)
|
rb-inotify (0.10.1)
|
||||||
ffi (~> 1.0)
|
ffi (~> 1.0)
|
||||||
rb-readline (0.5.5)
|
rb-readline (0.5.5)
|
||||||
regexp_parser (1.8.2)
|
regexp_parser (2.1.1)
|
||||||
rexml (3.2.4)
|
rexml (3.2.5)
|
||||||
rotp (6.1.0)
|
rotp (6.2.0)
|
||||||
rqrcode (1.1.2)
|
rqrcode (2.1.0)
|
||||||
chunky_png (~> 1.0)
|
chunky_png (~> 1.0)
|
||||||
rqrcode_core (~> 0.1)
|
rqrcode_core (~> 1.0)
|
||||||
rqrcode_core (0.1.2)
|
rqrcode_core (1.2.0)
|
||||||
rspec-core (3.9.2)
|
rspec-core (3.10.1)
|
||||||
rspec-support (~> 3.9.3)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-expectations (3.9.2)
|
rspec-expectations (3.10.1)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.9.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-mocks (3.9.1)
|
rspec-mocks (3.10.2)
|
||||||
diff-lcs (>= 1.2.0, < 2.0)
|
diff-lcs (>= 1.2.0, < 2.0)
|
||||||
rspec-support (~> 3.9.0)
|
rspec-support (~> 3.10.0)
|
||||||
rspec-rails (4.0.1)
|
rspec-rails (5.0.2)
|
||||||
actionpack (>= 4.2)
|
actionpack (>= 5.2)
|
||||||
activesupport (>= 4.2)
|
activesupport (>= 5.2)
|
||||||
railties (>= 4.2)
|
railties (>= 5.2)
|
||||||
rspec-core (~> 3.9)
|
rspec-core (~> 3.10)
|
||||||
rspec-expectations (~> 3.9)
|
rspec-expectations (~> 3.10)
|
||||||
rspec-mocks (~> 3.9)
|
rspec-mocks (~> 3.10)
|
||||||
rspec-support (~> 3.9)
|
rspec-support (~> 3.10)
|
||||||
rspec-support (3.9.3)
|
rspec-support (3.10.2)
|
||||||
rubocop (0.81.0)
|
rubocop (0.81.0)
|
||||||
jaro_winkler (~> 1.5.1)
|
jaro_winkler (~> 1.5.1)
|
||||||
parallel (~> 1.10)
|
parallel (~> 1.10)
|
||||||
|
@ -226,23 +236,22 @@ GEM
|
||||||
rubocop (>= 0.72.0)
|
rubocop (>= 0.72.0)
|
||||||
rubocop-rspec (1.41.0)
|
rubocop-rspec (1.41.0)
|
||||||
rubocop (>= 0.68.1)
|
rubocop (>= 0.68.1)
|
||||||
ruby-enum (0.8.0)
|
ruby-progressbar (1.11.0)
|
||||||
i18n
|
|
||||||
ruby-progressbar (1.10.1)
|
|
||||||
ruby-rc4 (0.1.5)
|
ruby-rc4 (0.1.5)
|
||||||
ruumba (0.1.16)
|
ruumba (0.1.17)
|
||||||
rubocop
|
rubocop
|
||||||
safe_yaml (1.0.5)
|
scenic (1.5.4)
|
||||||
scenic (1.5.2)
|
|
||||||
activerecord (>= 4.0.0)
|
activerecord (>= 4.0.0)
|
||||||
railties (>= 4.0.0)
|
railties (>= 4.0.0)
|
||||||
scenic-mysql_adapter (1.0.1)
|
scenic-mysql_adapter (1.0.1)
|
||||||
mysql2
|
mysql2
|
||||||
scenic (>= 1.4.0)
|
scenic (>= 1.4.0)
|
||||||
simplecov (0.19.0)
|
simplecov (0.21.2)
|
||||||
docile (~> 1.1)
|
docile (~> 1.1)
|
||||||
simplecov-html (~> 0.11)
|
simplecov-html (~> 0.11)
|
||||||
simplecov-html (0.12.2)
|
simplecov_json_formatter (~> 0.1)
|
||||||
|
simplecov-html (0.12.3)
|
||||||
|
simplecov_json_formatter (0.1.3)
|
||||||
sitemap_generator (6.1.2)
|
sitemap_generator (6.1.2)
|
||||||
builder (~> 3.0)
|
builder (~> 3.0)
|
||||||
sprockets (3.7.2)
|
sprockets (3.7.2)
|
||||||
|
@ -252,32 +261,31 @@ GEM
|
||||||
actionpack (>= 3.0)
|
actionpack (>= 3.0)
|
||||||
activesupport (>= 3.0)
|
activesupport (>= 3.0)
|
||||||
sprockets (>= 2.8, < 4.0)
|
sprockets (>= 2.8, < 4.0)
|
||||||
stackprof (0.2.15)
|
stackprof (0.2.17)
|
||||||
svg-graph (2.2.0)
|
svg-graph (2.2.1)
|
||||||
thor (1.1.0)
|
thor (1.1.0)
|
||||||
thread_safe (0.3.6)
|
|
||||||
transaction_isolation (1.0.5)
|
transaction_isolation (1.0.5)
|
||||||
activerecord (>= 3.0.11)
|
activerecord (>= 3.0.11)
|
||||||
transaction_retry (1.0.3)
|
transaction_retry (1.0.3)
|
||||||
activerecord (>= 3.0.11)
|
activerecord (>= 3.0.11)
|
||||||
transaction_isolation (>= 1.0.2)
|
transaction_isolation (>= 1.0.2)
|
||||||
ttfunk (1.6.2.1)
|
ttfunk (1.7.0)
|
||||||
tzinfo (1.2.9)
|
tzinfo (2.0.4)
|
||||||
thread_safe (~> 0.1)
|
concurrent-ruby (~> 1.0)
|
||||||
uglifier (4.2.0)
|
uglifier (4.2.0)
|
||||||
execjs (>= 0.3.0, < 3)
|
execjs (>= 0.3.0, < 3)
|
||||||
unicode-display_width (1.7.0)
|
unicode-display_width (1.8.0)
|
||||||
vcr (6.0.0)
|
vcr (6.0.0)
|
||||||
webmock (3.8.3)
|
webmock (3.14.0)
|
||||||
addressable (>= 2.3.6)
|
addressable (>= 2.8.0)
|
||||||
crack (>= 0.3.2)
|
crack (>= 0.3.2)
|
||||||
hashdiff (>= 0.4.0, < 2.0.0)
|
hashdiff (>= 0.4.0, < 2.0.0)
|
||||||
websocket-driver (0.7.3)
|
websocket-driver (0.7.5)
|
||||||
websocket-extensions (>= 0.1.0)
|
websocket-extensions (>= 0.1.0)
|
||||||
websocket-extensions (0.1.5)
|
websocket-extensions (0.1.5)
|
||||||
xpath (3.2.0)
|
xpath (3.2.0)
|
||||||
nokogiri (~> 1.8)
|
nokogiri (~> 1.8)
|
||||||
zeitwerk (2.4.2)
|
zeitwerk (2.5.1)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
ruby
|
ruby
|
||||||
|
@ -308,7 +316,7 @@ DEPENDENCIES
|
||||||
puma
|
puma
|
||||||
rack-attack
|
rack-attack
|
||||||
rack-mini-profiler
|
rack-mini-profiler
|
||||||
rails (~> 6.0.3.3)
|
rails (~> 6.1.4)
|
||||||
rb-readline
|
rb-readline
|
||||||
rotp
|
rotp
|
||||||
rqrcode
|
rqrcode
|
||||||
|
|
|
@ -22,7 +22,7 @@ Bundler.require(*Rails.groups)
|
||||||
module Lobsters
|
module Lobsters
|
||||||
class Application < Rails::Application
|
class Application < Rails::Application
|
||||||
# Initialize configuration defaults for originally generated Rails version.
|
# Initialize configuration defaults for originally generated Rails version.
|
||||||
config.load_defaults 5.2
|
config.load_defaults 6.1
|
||||||
|
|
||||||
# Settings in config/environments/* take precedence over those specified here.
|
# Settings in config/environments/* take precedence over those specified here.
|
||||||
# Application configuration can go into files in config/initializers
|
# Application configuration can go into files in config/initializers
|
||||||
|
@ -32,9 +32,6 @@ module Lobsters
|
||||||
# Custom directories with classes and modules you want to be autoloadable.
|
# Custom directories with classes and modules you want to be autoloadable.
|
||||||
# config.autoload_paths += %W(#{config.root}/extras)
|
# config.autoload_paths += %W(#{config.root}/extras)
|
||||||
|
|
||||||
# Eager load everything in extras/
|
|
||||||
config.eager_load_paths << Rails.root.join("extras").to_s
|
|
||||||
|
|
||||||
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
||||||
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
||||||
config.time_zone = 'Central Time (US & Canada)'
|
config.time_zone = 'Central Time (US & Canada)'
|
||||||
|
|
|
@ -61,6 +61,3 @@ Rails.application.configure do
|
||||||
# routes, locales, etc. This feature depends on the listen gem.
|
# routes, locales, etc. This feature depends on the listen gem.
|
||||||
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
|
||||||
end
|
end
|
||||||
|
|
||||||
Keybase.DOMAIN = Rails.application.domain
|
|
||||||
Keybase.BASE_URL = ENV.fetch('KEYBASE_BASE_URL') { 'https://keybase.io' }
|
|
||||||
|
|
|
@ -34,6 +34,10 @@ Rails.application.configure do
|
||||||
config.action_controller.allow_forgery_protection = false
|
config.action_controller.allow_forgery_protection = false
|
||||||
|
|
||||||
config.action_mailer.perform_caching = false
|
config.action_mailer.perform_caching = false
|
||||||
|
config.action_mailer.default_url_options = {
|
||||||
|
host: 'localhost',
|
||||||
|
port: 3000,
|
||||||
|
}
|
||||||
|
|
||||||
# Tell Action Mailer not to deliver emails to the real world.
|
# Tell Action Mailer not to deliver emails to the real world.
|
||||||
# The :test delivery method accumulates sent emails in the
|
# The :test delivery method accumulates sent emails in the
|
||||||
|
@ -42,7 +46,4 @@ Rails.application.configure do
|
||||||
|
|
||||||
# Print deprecation notices to the stderr.
|
# Print deprecation notices to the stderr.
|
||||||
config.active_support.deprecation = :stderr
|
config.active_support.deprecation = :stderr
|
||||||
|
|
||||||
# Raises error for missing translations.
|
|
||||||
config.action_view.raise_on_missing_translations = true
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
%w{extras lib}.each do |dir|
|
||||||
|
Rails.autoloaders.main.push_dir(Rails.root.join(dir))
|
||||||
|
Dir[File.join(Rails.root, dir, "*.rb")].sort.each {|l| require l }
|
||||||
|
end
|
|
@ -1,4 +1,5 @@
|
||||||
require "rails"
|
require "rails"
|
||||||
|
require "rubocop"
|
||||||
|
|
||||||
unless Rails.env.production?
|
unless Rails.env.production?
|
||||||
module RuboCop
|
module RuboCop
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
require "rails"
|
require "rails"
|
||||||
|
require "rubocop"
|
||||||
|
|
||||||
unless Rails.env.production?
|
unless Rails.env.production?
|
||||||
module RuboCop
|
module RuboCop
|
||||||
|
|
|
@ -63,11 +63,6 @@ describe 'tags', type: :request do
|
||||||
expect(response).to redirect_to edit_tag_path
|
expect(response).to redirect_to edit_tag_path
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'rejects updates with unpermiited params' do
|
|
||||||
expect { post "/tags/#{tag.tag}", params: { tag: { is_media: true } } }
|
|
||||||
.to raise_error ActionController::UnpermittedParameters
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'updates with all permitted params' do
|
it 'updates with all permitted params' do
|
||||||
post "/tags/#{tag.tag}", params: { tag: {
|
post "/tags/#{tag.tag}", params: { tag: {
|
||||||
tag: 'mytag',
|
tag: 'mytag',
|
||||||
|
|
Loading…
Reference in New Issue