Skip to content

Commit

Permalink
Add ostruct as runtime dependency
Browse files Browse the repository at this point in the history
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.
```
  • Loading branch information
bastelfreak committed Oct 21, 2024
1 parent d8b2c5a commit d76cf57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions puppet.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency('puppet-resource_api', '~> 1.5')
spec.add_runtime_dependency('scanf', '~> 1.0')
spec.add_runtime_dependency('semantic_puppet', '~> 1.0')
spec.add_runtime_dependency('ostruct', '~> 0.6.0')

platform = spec.platform.to_s
if platform == 'universal-darwin'
Expand Down

0 comments on commit d76cf57

Please sign in to comment.