diff --git a/.travis.yml b/.travis.yml index 6beb99a..d7443fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,11 +3,22 @@ rvm: - 2.2 - 2.3 - 2.4 + - 2.5 + - 2.6 + - jruby - jruby-19mode # JRuby in 1.9 mode +matrix: + exclude: + - rvm: 2.2 + gemfile: Gemfile.activesupport60 + - rvm: 2.3 + gemfile: Gemfile.activesupport60 + - rvm: 2.4 + gemfile: Gemfile.activesupport60 + - rvm: jruby-19mode + gemfile: Gemfile.activesupport60 # uncomment this line if your project needs to run something other than `rake`: script: bundle exec rspec spec gemfile: - Gemfile.activesupport51 - -before_install: - - gem install bundler \ No newline at end of file + - Gemfile.activesupport60 diff --git a/Gemfile.activesupport60 b/Gemfile.activesupport60 new file mode 100644 index 0000000..4cbcabf --- /dev/null +++ b/Gemfile.activesupport60 @@ -0,0 +1,4 @@ +source "https://rubygems.org" +gemspec + +gem 'activesupport', '~> 6.0' diff --git a/time_difference.gemspec b/time_difference.gemspec index 5ece9c4..4bdbf72 100644 --- a/time_difference.gemspec +++ b/time_difference.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |gem| gem.version = "0.7.0" gem.license = 'MIT' - gem.add_runtime_dependency('activesupport', '~> 5.1') + gem.add_runtime_dependency('activesupport', '>= 5.1') gem.add_development_dependency('rspec', '~> 3.7.0') gem.add_development_dependency('rake')