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 2996772 commit 9c3aff7
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 @@ -31,6 +31,7 @@ Gem::Specification.new do |spec|
spec.add_runtime_dependency('scanf', '~> 1.0')
spec.add_runtime_dependency('semantic_puppet', '~> 1.0')
spec.add_runtime_dependency('syslog', '~> 0.1.2')
spec.add_runtime_dependency('ostruct', '~> 0.6.0')

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

0 comments on commit 9c3aff7

Please sign in to comment.