summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| * Actually test BigDecimal parsing.Xuân Baldauf2017-03-191-0/+5
| |
* | Raise exceptionFlorian Frank2017-04-181-0/+2
|/ | | | for incomplete unicode surrogates/character escape sequences
* Merge decimal_class patch by Michael JaschobFlorian Frank2016-09-231-2/+0
| | | | | | Also: - Avoid some issues with bundler - Avoid some issues with jruby
* Get rid of use of Bignum, obsolete nameNobuyoshi Nakada2016-09-091-2/+3
|
* Merge branch 'master' of github.com:flori/jsonFlorian Frank2016-07-261-3/+3
|\
| * Fix inconsistency usage for assertion methodsSHIBATA Hiroshi2016-07-141-3/+3
| |
* | Fix issue #296 when parsing frozen stringsFlorian Frank2016-07-261-0/+7
| |
* | Test parsing some simple singular valuesFlorian Frank2016-07-071-1/+12
|/
* And stay thereFlorian Frank2016-06-221-1/+0
|
* Add frozen_string_literal: falseNobuyoshi Nakada2016-06-218-0/+8
| | | | When you change this to true, you may need to add more tests.
* Exception encodingNobuyoshi Nakada2016-06-211-0/+10
| | | | Raise with messages in UTF-8 encoding.
* Use assert_raise consistentlyNobuyoshi Nakada2016-06-215-47/+47
|
* Allow usage of simplecov with START_SIMPLECOV=1Florian Frank2016-06-071-0/+4
|
* Treat ASCII_8BIT as UTF-8 by defaultFlorian Frank2016-06-031-3/+5
|
* Only support newer Rubies e. g. EncodingFlorian Frank2016-06-033-13/+1
|
* Test common interfaceFlorian Frank2016-06-031-1/+23
|
* Use better name for this featureFlorian Frank2016-06-021-3/+3
|
* Remove quirks modeFlorian Frank2016-06-024-9/+7
|
* Allow usage of simplecov with START_SIMPLECOV=1Florian Frank2016-06-021-0/+4
|
* Declare encodingFlorian Frank2016-06-022-0/+3
|
* Merge branch 'v1.8'Florian Frank2016-02-251-0/+15
|\
| * Check for existence of #to_json method before callFlorian Frank2016-02-251-1/+1
| |
| * Remove permutation dependencyFlorian Frank2016-02-251-34/+0
| |
| * Be gone…Florian Frank2016-02-251-13/+0
| |
| * Add missing testsFlorian Frank2016-02-251-0/+24
| |
* | Specify JSON module interfacerfc-7159-jsonFlorian Frank2015-06-151-2/+1
| |
* | Disallow usage of symbolize_names and create_additionsFlorian Frank2015-06-152-4/+5
| |
* | Refactor tests and make pure parser greenFlorian Frank2015-06-1516-759/+779
| |
* | Remove generate restriction for […]/{…}Florian Frank2015-06-131-9/+3
| |
* | Remove dependency on permutationFlorian Frank2015-06-131-14/+0
| | | | | | | | Ruby can do this by now on her own.
* | Move common setup into test_helper.rbFlorian Frank2015-06-139-16/+18
|/
* Make generator format test backwards compatibleMichael Mac-Vicar2015-01-091-1/+1
|
* Add test for format options used by the generatorMichael Mac-Vicar2015-01-091-0/+13
| | | | | The space_before, space, indent, object_nl and array_nl options of the space were not covered.
* Merge branch 'master' into zzak-ruby-2.2Florian Frank2015-01-021-0/+6
|\
| * Don't mutate JSON.dump_default_options from dumpJason R. Clark2015-01-021-0/+6
| | | | | | | | | | | | | | The use of Hash#update from the JSON.dump method was mutating the dump_default_options hash on any call to dump with a limit provided. An individual method call with an overriding value shouldn't update the defaults in this way.
* | Only use gc stress assert if availableZachary Scott2014-12-251-9/+11
| |
* | Sync tests with trunkZachary Scott2014-12-252-15/+11
| |
* | This value has changed somehowZachary Scott2014-12-251-1/+1
| |
* | Don't mutate JSON.dump_default_options from dumpJason R. Clark2014-09-191-0/+6
|/ | | | | | | The use of Hash#update from the JSON.dump method was mutating the dump_default_options hash on any call to dump with a limit provided. An individual method call with an overriding value shouldn't update the defaults in this way.
* forgot about 1.8 againFlorian Frank2013-05-131-1/+1
|
* complete testingFlorian Frank2013-05-131-2/+7
|
* resolvedFlorian Frank2013-05-131-0/+10
|
* Add test and implement pure versiongFlorian Frank2013-02-221-0/+6
|
* Try to convert first with to_hash, then to_hFlorian Frank2013-02-211-0/+16
| | | | | | | | rb_convert_type doesn't return if conversion fails, so use rb_check_convert_type and the raise vi rb_convert_type. Make sure, that this behaviour is consisten across all generator implementations. Fixes https://github.com/flori/json/issues/162
* Security fix create_additons/JSON::GenericObjectv1.7.7Florian Frank2013-02-114-38/+65
|
* fix a bug in the JRuby implementation. getInstanceVariable() can return a ↵John Shahid2013-02-041-0/+1
| | | | null which causes NPE.
* Increase hash likeness of State objectsFlorian Frank2012-12-317-24/+32
|
* Use len for return valuesFlorian Frank2012-11-291-0/+16
|\
| * add tests to test the behavior of State::configure (and its alias State::merge).John Shahid2012-11-231-0/+16
| |
* | add merge alias for configure in jrubyFlorian Frank2012-11-291-0/+24
|/