Skip to content

Commit

Permalink
Merge pull request #156 from kachick/ruby3.3
Browse files Browse the repository at this point in the history
Update to Ruby 3.3 era
  • Loading branch information
kachick authored Jan 10, 2024
2 parents 5e8ae17 + 3d1d23b commit ad663b4
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest]
ruby: ['head', '3.2', '3.1']
ruby: ['head', '3.3', '3.2']
gemfile: ['Gemfile', 'gemfiles/oldest.gemfile']
runs-on: ${{ matrix.os }}
env: # $BUNDLE_GEMFILE must be set at the job level, so it is set for all steps
Expand Down
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ require:
- rubocop-rake

AllCops:
TargetRubyVersion: 3.1
TargetRubyVersion: 3.2
DisplayCopNames: true
Exclude:
- '**/vendor/**/*'
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.0
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ I hope this might be a choice to integrate `PowerAssert` in RSpec.

Require following dependencies

- Ruby 3.1 or higher # Tested only in the head and last 2 rubies
- Ruby 3.2 or higher # Tested only in the head and last 2 rubies
- [rspec](https://rubygems.org/gems/rspec/)
- [power_assert](https://rubygems.org/gems/power_assert)
- [irb](https://rubygems.org/gems/irb) # To colorize
Expand Down
6 changes: 3 additions & 3 deletions dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"steep_expectations.yml"
],
"plugins": [
"https://plugins.dprint.dev/json-0.17.4.wasm",
"https://plugins.dprint.dev/markdown-0.16.0.wasm",
"https://plugins.dprint.dev/prettier-0.27.0.json@3557a62b4507c55a47d8cde0683195b14d13c41dda66d0f0b0e111aed107e2fe"
"https://plugins.dprint.dev/json-0.19.1.wasm",
"https://plugins.dprint.dev/markdown-0.16.3.wasm",
"https://plugins.dprint.dev/prettier-0.32.1.json@19aa403ef0862ba8c41164e3dc6f84c0b7a66c2b11e42726b23dd25e6302ada9"
]
}
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# https://github.com/NixOS/nix/issues/730#issuecomment-162323824
bashInteractive

ruby_3_2
ruby_3_3
# Required to build psych via irb dependency
# https://github.com/kachick/rspec-matchers-power_assert_matchers/issues/122
# https://github.com/ruby/irb/pull/648
Expand Down
2 changes: 1 addition & 1 deletion rspec-matchers-power_assert_matchers.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Gem::Specification.new do |gem|
gem.add_runtime_dependency('power_assert', '>= 2.0.3', '< 3.0')
gem.add_runtime_dependency('irb', '>= 1.4.0', '< 2.0') # To colorize

gem.required_ruby_version = '>= 3.1'
gem.required_ruby_version = '>= 3.2'

# common

Expand Down

0 comments on commit ad663b4

Please sign in to comment.