From 179e816b058fdd1adbdcf3cb9ecaa280eb421826 Mon Sep 17 00:00:00 2001 From: agross Date: Wed, 26 Apr 2017 10:34:36 -0700 Subject: [PATCH] support rails 4 and up to rails 5.1 --- restful-jsonapi.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restful-jsonapi.gemspec b/restful-jsonapi.gemspec index 55ecd2f..8b80696 100644 --- a/restful-jsonapi.gemspec +++ b/restful-jsonapi.gemspec @@ -18,7 +18,7 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_dependency "rails", "~>5.0.x" + spec.add_dependency "rails", [">=4", "<=5.1"] spec.add_development_dependency "bundler", "~> 1.7" spec.add_development_dependency "rake", "~> 10.0"