Skip to content

Commit

Permalink
Target Ruby versions >= 2.1
Browse files Browse the repository at this point in the history
Required keyword arguments appeared in Ruby 2.1, after the introduction
of keyword arguments in Ruby 2.0.
  • Loading branch information
laserlemon committed Mar 31, 2017
1 parent 3607df5 commit 2eea39b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
2 changes: 0 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ cache: bundler
language: ruby
matrix:
allow_failures:
- rvm: "2.0"
- rvm: ruby-head
notifications:
webhooks:
on_start: always
urls:
- http://buildlight.collectiveidea.com/
rvm:
- "2.0"
- "2.1"
- "2.2"
- "2.3.4"
Expand Down
2 changes: 1 addition & 1 deletion interactor.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2eea39b

Please sign in to comment.