Add patch to relax rails

This commit is contained in:
Sruthi Chandran 2018-12-25 13:26:31 +05:30
parent 4603606b20
commit 410d4c4ce0
2 changed files with 12 additions and 0 deletions

11
debian/patches/0470-relax-rails.patch vendored Normal file
View file

@ -0,0 +1,11 @@
--- a/Gemfile
+++ b/Gemfile
@@ -5,7 +5,7 @@
gem_versions = {}
gem_versions['activerecord_sane_schema_dumper'] = rails5? ? '1.0' : '0.2'
-gem_versions['rails'] = rails5? ? '5.0.7' : '4.2.11'
+gem_versions['rails'] = rails5? ? '~> 5.0' : '4.2.11'
gem_versions['rails-i18n'] = rails5? ? '~> 5.1' : '~> 4.0.9'
# The 2.0.6 version of rack requires monkeypatch to be present in

View file

@ -12,6 +12,7 @@
0440-remove-puma.patch
0450-remove-bullet.patch
0460-relax-rspec-rails.patch
0470-relax-rails.patch
0500-set-webpack-root.patch
0510-remove-dev-dependencies.patch
0520-add-system-lib-path-for-webpack.patch