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

RUBY-2810 Make as_json serializations user-friendly for numeric types #249

Merged
merged 8 commits into from Oct 19, 2021

Conversation

p-mongo
Copy link
Contributor

@p-mongo p-mongo commented Oct 18, 2021

johnnyshields and others added 8 commits September 4, 2021 14:31
- BSON::Decimal128
- BSON::Int32
- BSON::Int64
- BSON::Regexp
- BSON::Timestamp
- Int32 and Int64 were missing JSON module
* master:
  Float: Refactor #as_extended_json to get rid of nested ifs (mongodb#244)
  RUBY-2783 Add BSON::Symbol::Raw#as_json and BSON::Undefined#as_json + test coverage mongodb#246 (mongodb#246)
  RUBY-2783 Return a String without "$oid" from BSON::ObjectId#as_json and #to_json  (mongodb#241)
  Hash: Better implementation of #as_extended_json. Can use #transform_values since we're on Ruby 2.4+ (mongodb#243)
  Raise a friendlier load error when running specs (mongodb#239)
  Fix readme
  RUBY-2655 Fix GH actions (mongodb#240)
@p-mongo p-mongo changed the title RUBY-2810 revert whitespace changes RUBY-2810 Make as_json serializations user-friendly for numeric types Oct 18, 2021
@p-mongo
Copy link
Contributor Author

p-mongo commented Oct 18, 2021

@p-mongo
Copy link
Contributor Author

p-mongo commented Oct 18, 2021

Extracted from #242.

@p-mongo p-mongo requested a review from comandeo October 18, 2021 14:50
@p-mongo p-mongo merged commit 64b95c7 into mongodb:master Oct 19, 2021
p-mongo pushed a commit to johnnyshields/bson-ruby that referenced this pull request Oct 19, 2021
* master:
  Fix docstring (mongodb#248)
  RUBY-2810 Make as_json serializations user-friendly for numeric types (mongodb#249)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants