Skip to content

Commit cb0ff84

Browse files
authored
Merge pull request #265 from solidusio/ruby-4.0
Allow Ruby 4.0
2 parents c73f10f + 7c66bec commit cb0ff84

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ permissions:
1818
jobs:
1919
Test:
2020
uses: solidusio/test-solidus-extension/.github/workflows/test.yml@v1
21+
with:
22+
ruby_versions: "['3.4', '4.0']"

Gemfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,8 @@ send(:eval_gemfile, "Gemfile-local") if File.exist? "Gemfile-local"
5454

5555
# Pin state_machines
5656
gem "state_machines", "= 0.6.0"
57+
58+
if RUBY_VERSION >= "4.0"
59+
# Necessary for github_changelog_generator
60+
gem "benchmark", "~> 0.5.0"
61+
end

solidus_auth_devise.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
1616
spec.metadata["source_code_uri"] = "https://github.com/solidusio/solidus_auth_devise"
1717
spec.metadata["changelog_uri"] = "https://github.com/solidusio/solidus_auth_devise/releases"
1818

19-
spec.required_ruby_version = Gem::Requirement.new(">= 2.5", "< 4")
19+
spec.required_ruby_version = Gem::Requirement.new(">= 2.5", "< 5")
2020

2121
# Specify which files should be added to the gem when it is released.
2222
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.

0 commit comments

Comments
 (0)