diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-06-25 17:49:34 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-06-25 17:49:34 +0200 |
| commit | 7f26a8202556db3a584f1360950a671d2a60a1ea (patch) | |
| tree | 1e37bb2eaa941ed0dbe2591c67cc850409d1658e /config/environments/test.rb | |
| parent | 5f8cc4fa269dadc895d99eec9ef3a82b17c5890a (diff) | |
Upgrade to Rails 5.2.8.1 on Ruby 2.5.8
- Bump rails 4.2.11.3 → 5.2.8.1, ruby 2.4.10 → 2.5.8
- Upgrade acts-as-taggable-on ~> 3.5 → ~> 6.0
- Upgrade exception_notification ~> 4.4 → ~> 4.5
- Upgrade globalize ~> 5.0 → ~> 5.2.0
- Upgrade pg ~> 0.17 → ~> 1.0
- Upgrade sass-rails ~> 4.0 → ~> 5.0
- Upgrade libxml-ruby to ~> 3.2 (5.x requires Ruby 3.2+)
- Pin awesome_nested_set ~> 3.4.0 (3.9 has lft/rgt update bug)
- Add rails-controller-testing gem
- Add assets initializer for jquery precompile
- Add acts_as_taggable missing indexes migration
- Set eager_load, serve_static_files, active_record settings
Diffstat (limited to 'config/environments/test.rb')
| -rw-r--r-- | config/environments/test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index 3b2413e..858bebb 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb | |||
| @@ -15,9 +15,8 @@ Cccms::Application.configure do | |||
| 15 | config.active_support.deprecation = :log | 15 | config.active_support.deprecation = :log |
| 16 | config.active_support.test_order = :sorted | 16 | config.active_support.test_order = :sorted |
| 17 | 17 | ||
| 18 | config.active_record.raise_in_transactional_callbacks = true | ||
| 19 | |||
| 20 | config.eager_load = false | 18 | config.eager_load = false |
| 21 | config.serve_static_files = true | 19 | config.serve_static_files = true |
| 22 | config.static_cache_control = "public, max-age=3600" | 20 | config.static_cache_control = "public, max-age=3600" |
| 21 | config.assets.compile = true | ||
| 23 | end | 22 | end |
