From c65fe2b6f5166421a5e7023d515dd1228fed1695 Mon Sep 17 00:00:00 2001 From: Jonathan Kwok Date: Mon, 4 Jul 2016 13:31:50 -0400 Subject: [PATCH] Test for Rails 5 support --- .travis.yml | 12 +++++++++++- Gemfile.activesupport50 | 4 ++++ active_utils.gemspec | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 Gemfile.activesupport50 diff --git a/.travis.yml b/.travis.yml index ef88d67..b747b71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,20 @@ rvm: - "1.9" - "2.0" - "2.1" -- "2.2" +- "2.2.2" gemfile: - Gemfile.activesupport32 - Gemfile.activesupport40 - Gemfile.activesupport41 - Gemfile.activesupport42 +- Gemfile.activesupport50 + +matrix: + exclude: + - rvm: "1.9" + gemfile: Gemfile.activesupport50 + - rvm: "2.0" + gemfile: Gemfile.activesupport50 + - rvm: "2.1" + gemfile: Gemfile.activesupport50 diff --git a/Gemfile.activesupport50 b/Gemfile.activesupport50 new file mode 100644 index 0000000..2429859 --- /dev/null +++ b/Gemfile.activesupport50 @@ -0,0 +1,4 @@ +source "https://rubygems.org" +gemspec + +gem 'activesupport', '~> 5.0.0' diff --git a/active_utils.gemspec b/active_utils.gemspec index f6f8cc0..5d27f4e 100644 --- a/active_utils.gemspec +++ b/active_utils.gemspec @@ -14,7 +14,7 @@ Gem::Specification.new do |s| s.rubyforge_project = "active_utils" - s.add_dependency('activesupport', '>= 3.2') + s.add_dependency('activesupport', '>= 3.2', '< 5.1.0') s.add_dependency('i18n') s.add_development_dependency('rake')