dbview_cti.gemspec in dbview_cti-0.2.2 vs dbview_cti.gemspec in dbview_cti-0.2.3

- old
+ new

@@ -18,7 +18,9 @@ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.add_dependency "rails", ">= 3.2.0" s.add_development_dependency "rspec-rails", "~> 3.5" - s.add_development_dependency "foreigner" + if ENV["RAILS_VERSION"] && ENV["RAILS_VERSION"][0].to_i < 5 + s.add_development_dependency "foreigner" + end end