Skip to content

Commit c64829f

Browse files
committed
Add ostruct as runtime dependency
The ostruct gem moves from default gems to a normal gem in Ruby 3.5. It raises the following warning on Ruby 3.3.5: ``` lib/puppet/util/command_line.rb:14: warning: ostruct was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0. ```
1 parent d2f3cd5 commit c64829f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

puppet.gemspec

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
3030
spec.add_runtime_dependency('puppet-resource_api', '~> 1.5')
3131
spec.add_runtime_dependency('scanf', '~> 1.0')
3232
spec.add_runtime_dependency('semantic_puppet', '~> 1.0')
33+
spec.add_runtime_dependency('ostruct', '~> 0.6.0')
3334

3435
platform = spec.platform.to_s
3536
if platform == 'universal-darwin'

0 commit comments

Comments
 (0)