Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ostruct as an explicit dependency #2558

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

aramprice
Copy link
Member

The ostruct gem historicially was shipped as part of Ruby. This is going to change in Ruby 3.5.0, and currently not specifiying it causues warning errors which are breaking tests.

This commit adds ostruct as a dependency in the bosh gems where it is used.

The `ostruct` gem historicially was shipped as part of Ruby. This is
going to change in Ruby 3.5.0, and currently not specifiying it causues
warning errors which are breaking tests.

This commit adds `ostruct` as a dependency in the bosh gems where it is
used.

Example error:
```
  1) bin/bosh-template correctly renders a realistic nats config template
     Failure/Error: expect(output[:stderr]).to eq('')

       expected: ""
            got: "/tmp/build/a94a8fe5/bosh-src/src/bosh-template/lib/bosh/template/renderer.rb:3: warning: ostruct was...tarting from Ruby 3.5.0.\nYou can add ostruct to your Gemfile or gemspec to silence this warning.\n"
```
@xtreme-nitin-ravindran xtreme-nitin-ravindran merged commit ac941e5 into main Sep 6, 2024
22 checks passed
@aramprice aramprice deleted the add-ostruct-gem-dependency branch September 6, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants