Skip to content

Commit 566fa74

Browse files
authored
Merge pull request #63 from bastelfreak/ruby4
Add Ruby 4.0 support
2 parents 5164b6c + 3c8b539 commit 566fa74

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/unit_tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ jobs:
2828
- '3.2'
2929
- '3.3'
3030
- '3.4'
31+
- '4.0'
3132
- 'jruby-9.4.8.0'
3233
runs-on: ubuntu-24.04
3334
steps:

openfact.gemspec

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
2424
base = "#{__dir__}#{File::SEPARATOR}"
2525
spec.files = dirs.map { |path| path.sub(base, '') }
2626

27-
spec.required_ruby_version = '>= 2.5', '< 4.0'
27+
spec.required_ruby_version = '>= 2.5', '< 5.0'
2828
spec.bindir = 'bin'
2929
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
3030
spec.require_paths = ['lib']
@@ -47,7 +47,9 @@ Gem::Specification.new do |spec|
4747
spec.add_development_dependency 'yard', '~> 0.9'
4848

4949
spec.add_runtime_dependency 'base64', '>= 0.1', '< 0.4'
50+
spec.add_runtime_dependency 'benchmark', '< 0.6'
5051
spec.add_runtime_dependency 'hocon', '~> 1.3'
5152
spec.add_runtime_dependency 'logger', '~> 1.5'
53+
spec.add_runtime_dependency 'ostruct', '< 0.7'
5254
spec.add_runtime_dependency 'thor', ['>= 1.0.1', '< 2']
5355
end

0 commit comments

Comments
 (0)