This plugin provides native HTTP instrumentation for monitoring and metrics collection, including: response code, JSON response, HTTP last modified, SSL expiry, and metrics via `curl`.
Fixed bug where setting ActiveSupport::JSON::Encoding.use_standard_json_time_format before calling Oj.optimize_rails did not have an effect on the time format.
Worked around the Active Support hack that branched in to_json depending on the class of the option argument.
Updated for Ruby 2.7.0
3.10.0 - 2019-11-28
Fixed custom mode load_file to use custom mode.
Fixed rails mode output of IO objects
Fixed issue #567. Second precision is forced if set to the correct number of decimals even if zero nanoseconds.
Fixed issue #568. Dumping bigdecimal in `:rails' mode made more consistent.
Fixed issue #569. :compat mode not restricts the escape mode as indicated in the documentation.
Fixed issue #570. In :strict mode number parsing follows the JSON specification more closely as indended.
Added :ignore_under which when true will ignore attributes that begin with a _ when dumping in :object or :custom mode.
3.9.2 - 2019-10-01
Fixed wrong exception type when mimicing the JSON gem.
3.9.1 - 2019-08-31
Raise an exception on an invalid time represented as a decimal in :object mode.
3.9.0 - 2019-08-18
Changed custom behavior when :create_additions is true and :create_id is
set to nil. Now Range, Regexp, Rational, and Complex are output as strings
instead of a JSON object with members. Setting any other value for
:create_id, even an empty string will result in an object being dumped.
Detection of pthread mutex support was changed.
3.8.1 - 2019-07-22
Fix replacement of JSON::Parse thanks to paracycle.
3.8.0 - 2019-07-17
Fixed a buffer allocation bug for JSON.pretty_generate.
Added mimic safe option to not include the complete JSON in a parse error message.
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 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Updates the requirements on oj to permit the latest version.
Changelog
Sourced from oj's changelog.
Commits
c0f2418
release prep6be4905
merge50f9b07
Looking for a ruby 2.6 that travis supports48170be
Looking for a ruby 2.6 that travis supports5742832
Work around Active Support hackeedad72
Rails times working betterc32b9ca
travis update0d786fa
Update for Ruby 2.7.03ecec05
remove debug line32e481c
Candidate fix for rails time format issueDependabot 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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)