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

Remove json pure #99

Merged
merged 2 commits into from
Nov 15, 2024
Merged

Conversation

aramprice
Copy link
Member

Per the following warning printed when running specs:

json_pure is deprecated and has no effect, just use json

In addition we are seeing errors in BOSH related to json_pure and rather than dive in to fixing this we would prefer to remove the problem at the source.

aramprice and others added 2 commits November 15, 2024 11:15
Per the following warning printed when running specs:

> `json_pure` is deprecated and has no effect, just use `json`

Co-authored-by: Brian Upton <[email protected]>
@aramprice
Copy link
Member Author

PS. Ruby 2.x checks should probably be removed as Ruby 3.0 has been EOL since Dec 2020

@coolgang123 coolgang123 merged commit 7335f6f into cloudfoundry:master Nov 15, 2024
7 checks passed
@@ -31,8 +31,7 @@ Gem::Specification.new do |s|
s.require_paths = ['lib']

# dependencies
s.add_dependency 'multi_json', '>= 1.12.1', '< 1.16'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why remove multi_json as well? I was looking at the commit history and saw that it was explicitly added again here: dbc4249

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect this may be some sort of compatibility thing with json / json_pure though I'm not sure....

per the multi-json readme it looks like in order to use it one should require multi_json and use it via MultiJson...

Doing a search in cf-uaa-lib I don't see any uses of MultiJson:
https://github.com/search?q=repo%3Acloudfoundry%2Fcf-uaa-lib%20MultiJson&type=code

... and the only results for multi_json are in the LICENSE file.

@aramprice aramprice deleted the remove-json_pure branch November 15, 2024 22:46
@aramprice
Copy link
Member Author

@coolgang123 - is there an ETA on when a gem version with this change will be released?

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.

2 participants