aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/json
Commit message (Expand)AuthorAgeFilesLines
* Use appropriate assertion based on expectationCorey Ward2017-01-171-2/+7
* class Foo < Struct.new(:x) creates an extra unneeded anonymous classAkira Matsuda2017-01-131-1/+1
* "Use assert_nil if expecting nil. This will fail in minitest 6."Akira Matsuda2016-12-251-1/+1
* Privatize unneededly protected methods in Active Support testsAkira Matsuda2016-12-241-1/+1
* Fix typo in constant referenceAndrew White2016-11-131-1/+1
* It's a NAN not InfinityAndrew White2016-11-131-1/+1
* Use literal values in assertionsAndrew White2016-11-131-6/+4
* Fix an issue with JSON encoding of "Infinity" and "NaN" valuesPrathamesh Sonpatki2016-10-301-0/+22
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-293-30/+30
* Add three new rubocop rulesRafael Mendonça França2016-08-163-70/+70
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* applies remaining conventions across the projectXavier Noria2016-08-061-10/+10
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-8/+7
* remove redundant curlies from hash argumentsXavier Noria2016-08-061-1/+1
* modernizes hash syntax in activesupportXavier Noria2016-08-062-34/+34
* applies new string literal convention in activesupport/testXavier Noria2016-08-063-81/+81
* systematic revision of =~ usage in ASXavier Noria2016-07-221-4/+10
* Define `Pathname#as_json`Ryunosuke Sato2016-06-251-0/+2
* Define `URI::Generic#as_json`Ryunosuke Sato2016-06-251-0/+2
* Merge pull request #23011 from arnvald/bugfix/correctly_parse_dateGodfrey Chan2016-06-251-5/+11
|\
| * Use correct timezone when parsing date in jsonGrzegorz Witek2016-01-221-5/+11
* | Fix behavior of JSON encoding for Exceptionnamusyaka2016-04-091-0/+5
|/
* Expand the JSON test coverage for Struct and Hash (?!)Godfrey Chan2015-07-111-1/+13
* Add tests to ensure we don't interfere with json gem's outputGodfrey Chan2015-07-112-102/+108
* Escape HTML entities in JSON keysRafael Mendonça França2015-06-161-0/+7
* Skip the failing tests on Rubinius for nowRobin Dupret2015-03-021-0/+2
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-032-2/+0
* Remove deprecated ActiveSupport::JSON::Encoding::CircularReferenceError.Rafael Mendonça França2015-01-041-24/+0
* Remove deprecated ActiveSupport::JSON::Encoding.encode_big_decimal_as_string=Rafael Mendonça França2015-01-041-16/+0
* Remove redundant `to_s` in interpolationclaudiob2014-10-301-1/+1
* Merge pull request #15856 from zuhao/refactor_activesupport_decoding_testYves Senn2014-06-221-11/+19
|\
| * Use with_parse_json_times helper in tests.Zuhao Wan2014-06-221-11/+19
* | Avoid hardcoded magic number in test teardown.Zuhao Wan2014-06-221-14/+19
|/
* Extract out with_env_tz helper method.Zuhao Wan2014-06-181-7/+3
* Fix #to_json for BasicObject EnumerablesSammy Larbi2014-03-141-10/+33
* Add support for JSON time_precision to Time and DateTimeAndrew White2014-01-261-1/+19
* Rename subsecond_fraction_digits option to time_precisionAndrew White2014-01-261-3/+3
* Consolidate JSON encoding tests in one fileAndrew White2014-01-261-11/+48
* Added back the `encode_big_decimal_as_string` option with warningGodfrey Chan2013-12-021-0/+16
* Be explicit and use the actual unicode sequenceGodfrey Chan2013-11-261-1/+1
* Removed the Ruby encoder and switched to using the JSON gemGodfrey Chan2013-11-261-2/+2
* Removed support for encoding BigDecimal as a JSON numberGodfrey Chan2013-11-261-11/+0
* Expanded coverage on JSON encodingGodfrey Chan2013-11-261-2/+12
* Added some failing tests where the JSON encoder is not resolving as_json corr...Godfrey Chan2013-11-261-2/+12
* When Array#as_json and Hash#as_json are called without options, theyGodfrey Chan2013-11-221-0/+16
* Improved compatibility with the stdlib JSON gem.Godfrey Chan2013-11-141-0/+45
* Standardize all JSON encoded times to use 3 decimal fractional secondsRyan Glover2013-11-071-3/+3
* Do not expose internal state in the public encoder API (i.e. as_json)Godfrey Chan2013-11-061-3/+9
* Eliminate `JSON.{parse,load,generate,dump}` and `def to_json`Godfrey Chan2013-11-051-4/+4
* Fixed Object#as_json and Struct#as_json with optionsGodfrey Chan2013-11-051-2/+27