Skip to content

Commit 19812b5

Browse files
committed
Drop support for Ruby 2.2
Ruby 2.2 has been EOL since June 2018. Supporting it requires additional effort in our test environment, so drop support.
1 parent 29b431f commit 19812b5

File tree

4 files changed

+9
-16
lines changed

4 files changed

+9
-16
lines changed

.rubocop.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AllCops:
2-
TargetRubyVersion: 2.2
2+
TargetRubyVersion: 2.3
33

44
Layout/ClosingParenthesisIndentation:
55
Enabled: false

.travis.yml

+6-13
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,18 @@ language: ruby
33
cache: bundler
44

55
rvm:
6-
- 2.2
7-
- 2.3.7
8-
- 2.4.4
9-
- 2.5.1
10-
- 2.6
6+
- 2.3.8
7+
- 2.4.5
8+
- 2.5.5
9+
- 2.6.2
1110

1211
before_script:
1312
- git config --global user.email "travis@travis.ci"
1413
- git config --global user.name "Travis CI"
1514

1615
before_install:
17-
- |
18-
export RVM_CURRENT=`rvm current|cut -c6-8`
19-
if [ "${RVM_CURRENT}" == "2.2" ]; then
20-
gem --version
21-
else
22-
gem update --system
23-
fi
24-
- gem install bundler:'< 2'
16+
- gem update --system
17+
- gem install bundler
2518

2619
script:
2720
- bundle exec rspec

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ any Ruby code.
5454

5555
This project aims to support the following Ruby runtimes on both \*nix and Windows:
5656

57-
* MRI 2.2+
57+
* MRI 2.3+
5858

5959
### Dependencies
6060

overcommit.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Gem::Specification.new do |s|
2525
Dir['libexec/**/*'] +
2626
Dir['template-dir/**/*']
2727

28-
s.required_ruby_version = '>= 2.2'
28+
s.required_ruby_version = '>= 2.3'
2929

3030
s.add_dependency 'childprocess', '~> 0.6', '>= 0.6.3'
3131
s.add_dependency 'iniparse', '~> 1.4'

0 commit comments

Comments
 (0)