Skip to content

Commit d052e1f

Browse files
authored
Some packages used to be included in the standard library but will be removed in versions 3.4 or 3.5 of Ruby (#393)
Example output with a basic test deck: [...]/ruby/3.3.0/gems/squib-0.20.0/lib/squib.rb:7: warning: logger was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add logger to your Gemfile or gemspec to silence this warning. [...]/ruby/3.3.0/gems/squib-0.20.0/lib/squib.rb:7: warning: abbrev was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0. You can add abbrev to your Gemfile or gemspec to silence this warning. [...]/ruby/3.3.0/gems/squib-0.20.0/lib/squib.rb:7: warning: bigdecimal was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0. You can add bigdecimal to your Gemfile or gemspec to silence this warning. [...]/ruby/3.3.0/gems/squib-0.20.0/lib/squib.rb:8: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. You can add ostruct to your Gemfile or gemspec to silence this warning. [...]/ruby/3.3.0/gems/squib-0.20.0/lib/squib.rb:8: warning: csv was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.4.0. You can add csv to your Gemfile or gemspec to silence this warning.
1 parent 1d0f820 commit d052e1f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

squib.gemspec

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@ Gem::Specification.new do |spec|
3131
spec.test_files = spec.files.grep(/^(spec|samples|docs|benchmarks)\//)
3232
spec.require_paths = ['lib']
3333

34+
spec.add_runtime_dependency 'abbrev'
35+
spec.add_runtime_dependency 'bigdecimal'
36+
spec.add_runtime_dependency 'csv'
37+
spec.add_runtime_dependency 'logger'
38+
spec.add_runtime_dependency 'ostruct'
3439
spec.add_runtime_dependency 'cairo', '~> 1.17', '>= 1.17.8' # https://rubygems.org/gems/cairo/
3540
spec.add_runtime_dependency 'classy_hash', '1.0.0' # https://rubygems.org/gems/classy_hash
3641
spec.add_runtime_dependency 'gio2', '~> 4.2' # https://rubygems.org/gems/gio2

0 commit comments

Comments
 (0)