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

Bump json from 2.8.1 to 2.8.2 #240

Merged
merged 1 commit into from
Nov 15, 2024
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 15, 2024

Bumps json from 2.8.1 to 2.8.2.

Release notes

Sourced from json's releases.

v2.8.2

What's Changed

  • JSON.load_file: explictly load the file as UTF-8

Full Changelog: ruby/json@v2.8.1...v2.8.2

Changelog

Sourced from json's changelog.

2024-11-14 (2.8.2)

  • JSON.load_file explictly read the file as UTF-8.
Commits
  • d5e4a6e Release 2.8.2
  • 72bea9d Merge pull request #706 from YuheiNakasaka/fix-redundant-to_str
  • 61f022d Fix redundant to_str call
  • d0dae8f Merge pull request #705 from casperisfine/key-cache-in-array-only
  • 00c45dd Only use the key cache if the Hash is in an Array
  • 3a09ad1 Merge pull request #704 from tompng/test_verbose_fix
  • 6ae9155 Fix $VERBOSE restore
  • 821b92e Merge pull request #703 from casperisfine/oj-parser-thread-safe
  • 855563f Benchmark Oj::Parser in a thread safe way
  • b1397e2 Merge pull request #702 from casperisfine/load-file-utf8
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Enhancements:

  • Update json gem from version 2.8.1 to 2.8.2 to ensure files are explicitly loaded as UTF-8.

Bumps [json](https://github.com/ruby/json) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/ruby/json/releases)
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md)
- [Commits](ruby/json@v2.8.1...v2.8.2)

---
updated-dependencies:
- dependency-name: json
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels Nov 15, 2024
Copy link

sourcery-ai bot commented Nov 15, 2024

Reviewer's Guide by Sourcery

This is a minor version bump of the Ruby JSON gem from 2.8.1 to 2.8.2. The main change in this version is that JSON.load_file now explicitly reads files as UTF-8. The update also includes some internal improvements like fixing redundant to_str calls and optimizing key cache usage for hashes in arrays.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Update JSON gem dependency version
  • Bump json from 2.8.1 to 2.8.2
  • JSON.load_file now explicitly reads files as UTF-8
  • Fix redundant to_str calls
  • Optimize key cache usage for hashes in arrays
Gemfile.lock

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

We have skipped reviewing this pull request. It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!

@isidore isidore merged commit f948fb5 into main Nov 15, 2024
5 checks passed
@dependabot dependabot bot deleted the dependabot/bundler/json-2.8.2 branch November 15, 2024 06:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant