Skip to content

Commit

Permalink
Drop Ruby v2.2 and update Bundler to v2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
acant committed Dec 16, 2024
1 parent 49ae33b commit 0397c15
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-20.04, macos-13]
ruby: [2.2, 2.3, 2.4, 2.5, 2.6, head, jruby, jruby-head]
ruby: [2.3, 2.4, 2.5, 2.6, head, jruby, jruby-head]
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || endsWith(matrix.ruby, 'jruby') }}
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -19,7 +19,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
# HACK: Continue to use bundler <2 because of Ruby v2.2 support. Once the
# lowest dependency is Ruby v2.3 we can consider upgrading to Bundler 2.x.
bundler: 1.14
bundler: 2.1
bundler-cache: true
- run: bundle exec rake spec
coverage:
Expand All @@ -30,10 +30,10 @@ jobs:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: '2.2'
ruby-version: '2.3'
# HACK: Continue to use bundler <2 because of Ruby v2.2 support. Once the
# lowest dependency is Ruby v2.3 we can consider upgrading to Bundler 2.x.
bundler: 1.14
bundler: 2.1
bundler-cache: true
- run: bundle exec rake
env:
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.10
2.3.8
4 changes: 2 additions & 2 deletions rspec-side_effects.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.required_ruby_version = '>= 2.2.0'
spec.required_ruby_version = '>= 2.3.0'

spec.add_runtime_dependency 'rspec-core', '>= 2.99.0'

spec.add_development_dependency 'bundler', '~> 1.14'
spec.add_development_dependency 'bundler', '~> 2.1'
spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rspec', '~> 3.0'

Expand Down

0 comments on commit 0397c15

Please sign in to comment.