diff --git a/.travis.yml b/.travis.yml index 51bee40..279ee40 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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 diff --git a/gemfiles/rails-master.gemfile b/gemfiles/rails-master.gemfile new file mode 100644 index 0000000..f04aeb1 --- /dev/null +++ b/gemfiles/rails-master.gemfile @@ -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 diff --git a/interactor-rails.gemspec b/interactor-rails.gemspec index 9f2dc87..2346b0e 100644 --- a/interactor-rails.gemspec +++ b/interactor-rails.gemspec @@ -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"