Skip to content

Commit 8b47cd5

Browse files
committed
Bump rake version 13 or higher to suppress ostruct warnings
This commit bumps the required Rake version to suppress the following warnings: ```ruby $ ruby -v ruby 3.4.0dev (2024-10-21T16:48:53Z master 5131fb5dbe) +PRISM [x86_64-linux] $ bundle exec rake 2>&1 |grep -i ostruct 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. /home/yahonda/.rbenv/versions/trunk/lib/ruby/gems/3.4.0+0/gems/rake-12.3.3/lib/rake/rake_test_loader.rb:2: 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. ./home/yahonda/src/github.com/rails/sprockets/lib/rake/sprocketstask.rb:2: 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. ``` - Rake v13.2.0 does not depend on OpenStruct https://github.com/ruby/rake/releases/tag/v13.2.0 ruby/rake#545 - Ruby 3.4.0dev emits OpenStruct warnings https://bugs.ruby-lang.org/issues/20309 ruby/ruby#10428
1 parent e4686d5 commit 8b47cd5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sprockets.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Gem::Specification.new do |s|
2929
s.add_development_dependency "minitest", "~> 5.0"
3030
s.add_development_dependency "nokogiri", "~> 1.3"
3131
s.add_development_dependency "rack-test", "~> 2.0.0"
32-
s.add_development_dependency "rake", "~> 12.0"
32+
s.add_development_dependency "rake", "~> 13.2"
3333
s.add_development_dependency "sass", "~> 3.4"
3434
s.add_development_dependency "sassc", "~> 2.0"
3535
s.add_development_dependency "uglifier", ">= 2.3"

0 commit comments

Comments
 (0)