From 306d32899c898f785d7598786b50dbff5e513f56 Mon Sep 17 00:00:00 2001 From: yinchuang94 Date: Fri, 29 Jan 2021 03:22:47 +0800 Subject: [PATCH] elvis support rails 6 --- .travis.yml | 2 +- Gemfile.activesupport51 | 8 ++++---- time_difference.gemspec | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6beb99a..151aa92 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,4 +10,4 @@ gemfile: - Gemfile.activesupport51 before_install: - - gem install bundler \ No newline at end of file + - gem install bundler diff --git a/Gemfile.activesupport51 b/Gemfile.activesupport51 index 65b4cf0..7bec995 100644 --- a/Gemfile.activesupport51 +++ b/Gemfile.activesupport51 @@ -1,4 +1,4 @@ -source "https://rubygems.org" -gemspec - -gem 'activesupport', '~> 5.1' \ No newline at end of file +source "https://rubygems.org" +gemspec + +gem 'activesupport', '~> 6.0.0' diff --git a/time_difference.gemspec b/time_difference.gemspec index 5ece9c4..eb0f42f 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', '~> 6.0.0') gem.add_development_dependency('rspec', '~> 3.7.0') gem.add_development_dependency('rake')