-
Notifications
You must be signed in to change notification settings - Fork 106
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* RUBY-2855 dont raise an error on implicit parsing * RUBY-2855 raise error on explicit dbref parsing for invalid type * RUBY-2855 don't accept dbref with invalid db type * RUBY-2855 refactor, raise error on explicit invalid type for db in dbref * RUBY-2855 remove unnecessary condition * RUBY-2855 added fixed tests * RUBY-2855 add trailing space * RUBY-2855 add parse_hash to remainder of dbref hash * RUBY-2855 remove failing tests * RUBY-2855 update error messages * RUBY-2855 make from_bson use implicit decoding * RUBY-2855 fix MRI from_bson call * RUBY-2855 add and update tests * RUBY-2855 dbref nested inside dbref * RUBY-2855 add from_bson validation tests for nested and top-level * Ruby does not generally use is_ prefixes * revert the bypass * stop using renamed constants * DBRef parsing in C * do not convert DBRefs back to Documents * remove unused var * from_bson override is no longer needed * pass validating_keys * fix docstring * instantiate DBRefs under jruby Co-authored-by: Oleg Pudeyev <[email protected]>
- Loading branch information
1 parent
ff8d94f
commit 988a303
Showing
10 changed files
with
309 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.