Skip to content

Commit 9ab5e1b

Browse files
authored
Fix dependency warnings (#176)
warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0. Requires Ruby >= 2.5.0. Resolves GH-175.
2 parents f5696ea + 9c7d1e5 commit 9ab5e1b

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
ruby-version: ['2.3', '2.4', '2.5', '2.6', '2.7', '3.0']
15+
ruby-version: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
1616

1717
name: Ruby (${{ matrix.ruby-version }})
1818
steps:

mollie-api-ruby.gemspec

+4-1
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@ Gem::Specification.new do |s|
2020
'changelog_uri' => 'https://github.com/mollie/mollie-api-ruby/blob/master/CHANGELOG.md'
2121
}
2222

23-
s.required_ruby_version = '>= 2.3.8'
23+
s.required_ruby_version = '>= 2.5'
2424

2525
s.files = `git ls-files`.split("\n")
2626
s.test_files = Dir['test/**/*']
2727

28+
s.add_dependency('ostruct', '~> 0.6.0')
29+
s.add_dependency('bigdecimal', '~> 3.1', '>= 3.1.8')
30+
2831
s.add_development_dependency('rake')
2932
s.add_development_dependency('rubocop', '~> 0.57.2')
3033
s.add_development_dependency('test-unit')

0 commit comments

Comments
 (0)