Skip to content

Commit

Permalink
Drop support for Ruby 2.2 and lower
Browse files Browse the repository at this point in the history
  • Loading branch information
denisdefreyne committed Jun 9, 2018
1 parent 96ba49a commit 2c19adb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
@@ -1,5 +1,5 @@
AllCops:
TargetRubyVersion: 2.1
TargetRubyVersion: 2.3

# This makes DSLs a little uglier, since it makes sense to line up the first
# arguments:
Expand Down
7 changes: 1 addition & 6 deletions .travis.yml
@@ -1,13 +1,8 @@
language: ruby
rvm:
- 2.1
- 2.2
- 2.3
- 2.4
- ruby-head
matrix:
allow_failures:
- rvm: ruby-head
- 2.5
before_install:
- gem update --remote bundler
- gem update --system
2 changes: 1 addition & 1 deletion README.adoc
Expand Up @@ -11,7 +11,7 @@ nested commands.

== Requirements ==

Cri requires Ruby 2.1 or newer.
Cri requires Ruby 2.3 or newer.

== Usage ==

Expand Down
2 changes: 1 addition & 1 deletion cri.gemspec
Expand Up @@ -14,7 +14,7 @@ Gem::Specification.new do |s|
s.files = Dir['[A-Z]*'] + Dir['{lib,test}/**/*'] + ['cri.gemspec']
s.require_paths = ['lib']

s.required_ruby_version = '~> 2.1'
s.required_ruby_version = '~> 2.3'

s.add_dependency('colored', '~> 1.2')

Expand Down

0 comments on commit 2c19adb

Please sign in to comment.