From 1be89c706812444d9fbaf5cc6de1a09328c4dca8 Mon Sep 17 00:00:00 2001 From: Maxime Chaisse-Leal Date: Fri, 19 May 2017 21:10:01 -0700 Subject: [PATCH] Add support for Rails 5.1.x --- .travis.yml | 4 ++-- crypt_keeper.gemspec | 4 ++-- .../{activerecord_5_0.gemfile => activerecord_5_1.gemfile} | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) rename gemfiles/{activerecord_5_0.gemfile => activerecord_5_1.gemfile} (60%) diff --git a/.travis.yml b/.travis.yml index c2bc16b..19ff64c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,11 +7,11 @@ rvm: gemfile: - gemfiles/activerecord_4_2.gemfile - - gemfiles/activerecord_5_0.gemfile + - gemfiles/activerecord_5_1.gemfile matrix: exclude: - - gemfile: gemfiles/activerecord_5_0.gemfile + - gemfile: gemfiles/activerecord_5_1.gemfile rvm: 2.1.10 addons: diff --git a/crypt_keeper.gemspec b/crypt_keeper.gemspec index a1592f6..bd8e606 100644 --- a/crypt_keeper.gemspec +++ b/crypt_keeper.gemspec @@ -16,8 +16,8 @@ Gem::Specification.new do |gem| gem.require_paths = ["lib"] gem.version = CryptKeeper::VERSION - gem.add_runtime_dependency 'activerecord', '>= 4.2', '< 5.1' - gem.add_runtime_dependency 'activesupport', '>= 4.2', '< 5.1' + gem.add_runtime_dependency 'activerecord', '>= 4.2', '< 5.2' + gem.add_runtime_dependency 'activesupport', '>= 4.2', '< 5.2' gem.add_runtime_dependency 'aes', '~> 0.5.0' gem.add_runtime_dependency 'armor', '~> 0.0.2' diff --git a/gemfiles/activerecord_5_0.gemfile b/gemfiles/activerecord_5_1.gemfile similarity index 60% rename from gemfiles/activerecord_5_0.gemfile rename to gemfiles/activerecord_5_1.gemfile index a06e237..e70b16b 100644 --- a/gemfiles/activerecord_5_0.gemfile +++ b/gemfiles/activerecord_5_1.gemfile @@ -2,7 +2,7 @@ source "https://rubygems.org" -gem "activerecord", "~> 5.0.0" -gem "activesupport", "~> 5.0.0" +gem "activerecord", "~> 5.1" +gem "activesupport", "~> 5.1" gemspec :path => "../"