aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/json/encoding_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-13/+11
* Test that nested structs to_json works as expectedEileen Uchitelle2018-10-111-0/+10
* Remove unused `require "active_support/core_ext/regexp"`Ryuta Kamizono2018-07-291-1/+0
* Enable `Layout/SpaceBeforeComma` rubocop rule, and fixed moreRyuta Kamizono2017-12-121-3/+3
* Enable `Style/DefWithParentheses` rubocop ruleRyuta Kamizono2017-11-271-1/+1
* Fix #to_json for unreadable IO objects, fixes #26132Paul Kuruvilla2017-10-231-0/+4
* Fix RuboCop offensesKoichi ITO2017-08-161-2/+2
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+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-291-11/+11
* Add three new rubocop rulesRafael Mendonça França2016-08-161-30/+30
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* modernizes hash syntax in activesupportXavier Noria2016-08-061-32/+32
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-49/+49
* systematic revision of =~ usage in ASXavier Noria2016-07-221-4/+10
* Fix behavior of JSON encoding for Exceptionnamusyaka2016-04-091-0/+5
* Add tests to ensure we don't interfere with json gem's outputGodfrey Chan2015-07-111-102/+32
* 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-031-1/+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
* 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