From 97e5cfa00e8406cc0df87856fc3ebe9e4136cce0 Mon Sep 17 00:00:00 2001 From: Chris Beer Date: Thu, 7 Jul 2016 19:23:59 -0700 Subject: [PATCH] Relax rails dependency to support Rails 5 --- Gemfile | 1 + sir_trevor_rails.gemspec | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index f19ac8b..d94e7f4 100644 --- a/Gemfile +++ b/Gemfile @@ -5,4 +5,5 @@ gemspec if RUBY_VERSION < '2.2' gem 'rack', '< 2' + gem 'rails', '< 5' end diff --git a/sir_trevor_rails.gemspec b/sir_trevor_rails.gemspec index 6a96bb5..eb634cb 100644 --- a/sir_trevor_rails.gemspec +++ b/sir_trevor_rails.gemspec @@ -34,7 +34,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency "capybara" spec.add_development_dependency "launchy" - spec.add_dependency "rails", ">= 3", "< 5" + spec.add_dependency "rails", ">= 3", "< 6" spec.add_dependency "redcarpet", ">= 2.0.1", "< 4" spec.add_dependency "twitter-text", "~> 1.4" spec.add_dependency 'multi_json', '~> 1.0'