diff --git a/Gemfile b/Gemfile index 9d29d94b..f7c1e112 100644 --- a/Gemfile +++ b/Gemfile @@ -11,6 +11,5 @@ platforms :jruby do gem "activerecord-jdbcsqlite3-adapter" end -gem "rails", "> 5.x" +gem "rails", "~> 5.0" gem "mongoid", github: "mongodb/mongoid" -gem "minitest-rails", github: "blowmage/minitest-rails" diff --git a/draper.gemspec b/draper.gemspec index 8adf8f4e..cbcfc6ce 100644 --- a/draper.gemspec +++ b/draper.gemspec @@ -19,10 +19,10 @@ Gem::Specification.new do |s| s.required_ruby_version = '>= 2.2.2' - s.add_dependency 'activesupport', '> 5.x' - s.add_dependency 'actionpack', '> 5.x' + s.add_dependency 'activesupport', '~> 5.0' + s.add_dependency 'actionpack', '~> 5.0' s.add_dependency 'request_store', '~> 1.0' - s.add_dependency 'activemodel', '> 5.x' + s.add_dependency 'activemodel', '~> 5.0' s.add_dependency 'activemodel-serializers-xml' s.add_development_dependency 'ammeter'