Make 4.1 -> 4.2 changes
Just following the recommended stuff in the upgrade guide!
This commit is contained in:
parent
f80d220a62
commit
685ac2b4ad
6 changed files with 14 additions and 0 deletions
3
Gemfile
3
Gemfile
|
@ -53,6 +53,9 @@ gem "letter_opener", :group => :development
|
||||||
# For parallel API calls.
|
# For parallel API calls.
|
||||||
gem "parallel", "~> 1.13.0"
|
gem "parallel", "~> 1.13.0"
|
||||||
|
|
||||||
|
# For debugging.
|
||||||
|
gem 'web-console', '~> 2.2', '>= 2.2.1'
|
||||||
|
|
||||||
# TODO: Rails requests the latest version of these dependencies, but they
|
# TODO: Rails requests the latest version of these dependencies, but they
|
||||||
# require Ruby 2.5 or higher, so we have to request lower ones instead!
|
# require Ruby 2.5 or higher, so we have to request lower ones instead!
|
||||||
# (loofah is slightly trickier: it requires a recent nokogiri, but recent
|
# (loofah is slightly trickier: it requires a recent nokogiri, but recent
|
||||||
|
|
|
@ -48,6 +48,8 @@ GEM
|
||||||
babel-source (>= 4.0, < 6)
|
babel-source (>= 4.0, < 6)
|
||||||
execjs (~> 2.0)
|
execjs (~> 2.0)
|
||||||
bcrypt (3.1.19)
|
bcrypt (3.1.19)
|
||||||
|
binding_of_caller (1.0.0)
|
||||||
|
debug_inspector (>= 0.0.1)
|
||||||
builder (3.2.4)
|
builder (3.2.4)
|
||||||
capistrano (2.15.5)
|
capistrano (2.15.5)
|
||||||
highline
|
highline
|
||||||
|
@ -75,6 +77,7 @@ GEM
|
||||||
concurrent-ruby (1.2.2)
|
concurrent-ruby (1.2.2)
|
||||||
connection_pool (2.2.5)
|
connection_pool (2.2.5)
|
||||||
crass (1.0.6)
|
crass (1.0.6)
|
||||||
|
debug_inspector (1.1.0)
|
||||||
devise (4.9.2)
|
devise (4.9.2)
|
||||||
bcrypt (~> 3.0)
|
bcrypt (~> 3.0)
|
||||||
orm_adapter (~> 0.1)
|
orm_adapter (~> 0.1)
|
||||||
|
@ -226,6 +229,11 @@ GEM
|
||||||
execjs (>= 0.3.0, < 3)
|
execjs (>= 0.3.0, < 3)
|
||||||
warden (1.2.7)
|
warden (1.2.7)
|
||||||
rack (>= 1.0)
|
rack (>= 1.0)
|
||||||
|
web-console (2.3.0)
|
||||||
|
activemodel (>= 4.0)
|
||||||
|
binding_of_caller (>= 0.7.2)
|
||||||
|
railties (>= 4.0)
|
||||||
|
sprockets-rails (>= 2.0, < 4.0)
|
||||||
will_paginate (3.0.7)
|
will_paginate (3.0.7)
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
|
@ -262,6 +270,7 @@ DEPENDENCIES
|
||||||
sanitize (~> 2.0.3)
|
sanitize (~> 2.0.3)
|
||||||
sass-rails (~> 5.0, >= 5.0.7)
|
sass-rails (~> 5.0, >= 5.0.7)
|
||||||
uglifier (~> 4.2)
|
uglifier (~> 4.2)
|
||||||
|
web-console (~> 2.2, >= 2.2.1)
|
||||||
will_paginate (~> 3.0.pre2)
|
will_paginate (~> 3.0.pre2)
|
||||||
|
|
||||||
RUBY VERSION
|
RUBY VERSION
|
||||||
|
|
|
@ -32,6 +32,8 @@ module OpenneoImpressItems
|
||||||
config.assets.initialize_on_precompile = false
|
config.assets.initialize_on_precompile = false
|
||||||
|
|
||||||
config.middleware.insert_after ActionDispatch::Flash, Rack::Attack
|
config.middleware.insert_after ActionDispatch::Flash, Rack::Attack
|
||||||
|
|
||||||
|
config.active_record.raise_in_transactional_callbacks = true
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
BIN
vendor/cache/binding_of_caller-1.0.0.gem
vendored
Normal file
BIN
vendor/cache/binding_of_caller-1.0.0.gem
vendored
Normal file
Binary file not shown.
BIN
vendor/cache/debug_inspector-1.1.0.gem
vendored
Normal file
BIN
vendor/cache/debug_inspector-1.1.0.gem
vendored
Normal file
Binary file not shown.
BIN
vendor/cache/web-console-2.3.0.gem
vendored
Normal file
BIN
vendor/cache/web-console-2.3.0.gem
vendored
Normal file
Binary file not shown.
Loading…
Reference in a new issue