From 07e0bc872977df86203a6709b045423a21f95e5b Mon Sep 17 00:00:00 2001 From: tranhuyhoangbka Date: Sat, 28 Nov 2020 13:04:02 +0900 Subject: [PATCH] fix error when bundle in rails < 6.0.3 --- Gemfile.lock | 2 +- devise_security_extension.gemspec | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 59f0f1cf..d783c379 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -3,7 +3,7 @@ PATH specs: devise_security_extension (0.10.0) devise (>= 3.0.0, < 5.0) - railties (~> 6.0.3, >= 3.2.6) + railties (>= 3.2.6, <= 6.0.3.4) GEM remote: https://rubygems.org/ diff --git a/devise_security_extension.gemspec b/devise_security_extension.gemspec index 3595ca22..1f03f2a2 100644 --- a/devise_security_extension.gemspec +++ b/devise_security_extension.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |s| s.require_paths = ['lib'] s.required_ruby_version = '>= 2.1.0' - s.add_runtime_dependency 'railties', '~> 6.0.3', '>= 3.2.6' + s.add_runtime_dependency 'railties', '>= 3.2.6', '<= 6.0.3.4' s.add_runtime_dependency 'devise', '>= 3.0.0', '< 5.0' s.add_development_dependency 'bundler', '>= 1.3.0', '< 2.0' s.add_development_dependency 'sqlite3', '~> 1.3.10'