Skip to content

Commit

Permalink
Removes maximum Rails version restriction
Browse files Browse the repository at this point in the history
The gem itself is pretty small and the Rails integration API has been
very stable. Rather than have folks waiting for a version bump for every
minor (or major) release of Rails, it makes more sense to test against
changes proactively and respond to issues when they come up.
  • Loading branch information
gaffneyc committed Sep 1, 2019
1 parent 8f9b993 commit 769524d
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ matrix:
- rvm: "2.5"
gemfile: gemfiles/rails42.gemfile

# Test Rails master against the latest stable version of Ruby
- rvm: "ruby"
gemfile: gemfiles/rails-master.gemfile

exclude:
- rvm: "2.3"
gemfile: Gemfile
Expand All @@ -37,6 +41,7 @@ matrix:
gemfile: gemfiles/rails60.gemfile
allow_failures:
- rvm: ruby-head
- gemfile: gemfiles/rails-master.gemfile

before_install:
# Use bundler 1.x with Rails 4.2
Expand Down
11 changes: 11 additions & 0 deletions gemfiles/rails-master.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
source "https://rubygems.org"

gemspec path: ".."

gem "rails", github: "rails/rails"

group :test do
gem "aruba"
gem "codeclimate-test-reporter", "~> 1.0"
gem "rspec"
end
2 changes: 1 addition & 1 deletion interactor-rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(/^spec/)

spec.add_dependency "interactor", "~> 3.0"
spec.add_dependency "rails", ">= 4.2", "< 6.1"
spec.add_dependency "rails", ">= 4.2"

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
Expand Down

0 comments on commit 769524d

Please sign in to comment.