Skip to content

Commit

Permalink
Drop MRI 2.2 support
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Nov 22, 2018
1 parent 79f85fc commit a584eec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Expand Up @@ -3,7 +3,7 @@ AllCops:
Exclude:
- 'bundler/**/*'
- 'lib/rubygems/resolver/molinillo/**/*'
TargetRubyVersion: 2.2
TargetRubyVersion: 2.3

Layout/AccessModifierIndentation:
Enabled: true
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -9,7 +9,6 @@ branches:
- /^[\d.]+$/
- /.+-stable$/
rvm:
- 2.2.10
- 2.3.8
- 2.4.5
- 2.5.3
Expand Down
2 changes: 0 additions & 2 deletions appveyor.yml
Expand Up @@ -9,8 +9,6 @@ clone_depth: 10

environment:
matrix:
- ruby_version: 22
- ruby_version: 22-x64
- ruby_version: 23-x64
- ruby_version: 24-x64
- ruby_version: 25-x64
Expand Down
2 changes: 1 addition & 1 deletion rubygems-update.gemspec
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |s|
"hide_lib_for_update/note.txt", *Dir["bundler/man/*.1"]
]

s.required_ruby_version = Gem::Requirement.new(">= 2.2.2")
s.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
s.required_rubygems_version = Gem::Requirement.new(">= 0")

s.specification_version = 4
Expand Down
5 changes: 3 additions & 2 deletions util/ci
Expand Up @@ -48,10 +48,11 @@ case ARGV
when %w(before_script)
if TOOL.rubygems?
run('gem', %W(uninstall executable-hooks gem-wrappers bundler-unload -x --force -i #{`gem env home`.strip}@global))
# 2.2 images of Travis was broken about bundled gems
if (RUBY_VERSION >= "2.2.0" && RUBY_VERSION < "2.3.0") || RUBY_VERSION >= "2.6.0"

if RUBY_VERSION >= "2.6.0"
run('gem', %w(install minitest -v 5.4.3))
end

# 2.5 images of Travis was broken about bundler installation.
if RUBY_VERSION >= "2.5.0" && RUBY_VERSION < "2.6.0"
run('gem', %w(install bundler -v 1.16.2))
Expand Down

0 comments on commit a584eec

Please sign in to comment.