Skip to content

Commit 3e8a720

Browse files
Add Ruby 4.0 to CI matrix.
1 parent 0545462 commit 3e8a720

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
fail-fast: false
1919
matrix:
20-
ruby-version: ['3.1', '3.2', '3.3', '3.4']
20+
ruby-version: ['3.1', '3.2', '3.3', '3.4', '4.0']
2121

2222
steps:
2323
- uses: actions/checkout@v4
@@ -43,7 +43,7 @@ jobs:
4343
# change this to (see https://github.com/ruby/setup-ruby#versioning):
4444
uses: ruby/setup-ruby@v1
4545
with:
46-
ruby-version: '3.3'
46+
ruby-version: '3.4'
4747
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
4848
- name: Setup RSpec configuration
4949
run: cp .rspec.example .rspec

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ group :development, :test do
1111
gem 'byebug', '~> 11.1'
1212

1313
gem 'rspec', '~> 3.13'
14-
gem 'rspec-sleeping_king_studios', '~> 2.8'
14+
gem 'rspec-sleeping_king_studios',
15+
branch: 'chore/ruby-4-0',
16+
git: 'https://github.com/sleepingkingstudios/rspec-sleeping_king_studios'
1517
gem 'rubocop', '~> 1.82'
1618
gem 'rubocop-rspec', '~> 3.8'
1719
gem 'simplecov', '~> 0.22'

sleeping_king_studios-docs.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Gem::Specification.new do |gem|
2626
'rubygems_mfa_required' => 'true'
2727
}
2828

29-
gem.required_ruby_version = '~> 3.1'
29+
gem.required_ruby_version = ['>= 3.1', '< 5']
3030
gem.require_path = 'lib'
3131
gem.files =
3232
Dir[

0 commit comments

Comments
 (0)