From 2eea39be094bcecb280fcde4f499dca8d96fee03 Mon Sep 17 00:00:00 2001 From: Steve Richert Date: Fri, 31 Mar 2017 15:09:29 -0400 Subject: [PATCH] Target Ruby versions >= 2.1 Required keyword arguments appeared in Ruby 2.1, after the introduction of keyword arguments in Ruby 2.0. --- .rubocop.yml | 2 +- .travis.yml | 2 -- interactor.gemspec | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index 8338bf2..0745e89 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,7 +1,7 @@ # This should always correspond to the required Ruby version specified in the # gemspec. AllCops: - TargetRubyVersion: 2.0 + TargetRubyVersion: 2.1 # TODO: What should we do here? Style/FrozenStringLiteralComment: diff --git a/.travis.yml b/.travis.yml index 46b42c6..423fc3e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,6 @@ cache: bundler language: ruby matrix: allow_failures: - - rvm: "2.0" - rvm: ruby-head notifications: webhooks: @@ -16,7 +15,6 @@ notifications: urls: - http://buildlight.collectiveidea.com/ rvm: - - "2.0" - "2.1" - "2.2" - "2.3.4" diff --git a/interactor.gemspec b/interactor.gemspec index e6844b0..b226a50 100644 --- a/interactor.gemspec +++ b/interactor.gemspec @@ -17,7 +17,7 @@ Gem::Specification.new do |spec| spec.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR) spec.test_files = spec.files.grep(/^spec/) - spec.required_ruby_version = ">= 2.0" + spec.required_ruby_version = ">= 2.1" spec.add_development_dependency "bundler", "~> 1.9" spec.add_development_dependency "rake", "~> 10.4"