1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test
Godfrey Chan 0f33d70e89 Improved compatibility with the stdlib JSON gem.
Previously, calling `::JSON.{generate,dump}` sometimes causes
unexpected failures such as intridea/multi_json#86.

`::JSON.{generate,dump}` now bypasses the ActiveSupport JSON encoder
completely and yields the same result with or without ActiveSupport.
This means that it will **not** call `as_json` and will ignore any
options that the JSON gem does not natively understand. To invoke
ActiveSupport's JSON encoder instead, use `obj.to_json(options)` or
`ActiveSupport::JSON.encode(obj, options)`.
2013-11-14 15:46:43 -08:00
..
autoloading_fixtures Ensure all-caps nested consts marked as autoloaded 2013-08-27 08:20:33 +01:00
core_ext Array#split preserving the calling array 2013-11-11 11:32:30 +05:30
dependencies Don't blindly call blame_file! on exceptions in ActiveSupport::Dependencies::Loadable 2013-06-09 18:20:10 -04:00
deprecation Remove deprecated AS::BasicObject, use AS::ProxyObject instead 2013-07-01 22:26:54 -03:00
fixtures JDOM XXE Protection [CVE-2013-1856] 2013-03-15 17:46:15 -07:00
json Improved compatibility with the stdlib JSON gem. 2013-11-14 15:46:43 -08:00
notifications ActiveSupport::Notifications::Instrumenter#instrument should yield 2013-03-02 16:05:05 -08:00
testing determine_constant_from_test_name does not swallow NoMethodErrors [Yves Senn] 2013-03-28 10:04:39 +01:00
xml_mini Rewind StringIO instances before be parsed again 2013-06-16 00:32:33 +02:00
abstract_unit.rb Merge pull request #11932 from gaurish/skip-encoding-convertor 2013-08-21 14:49:03 -03:00
autoload_test.rb Make ActiveSupport::Autoload local 2012-08-21 14:46:12 -03:00
benchmarkable_test.rb * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger 2011-12-19 18:41:37 -08:00
broadcast_logger_test.rb pushed broadcasting down to a module 2012-01-20 14:18:29 -08:00
caching_test.rb Merge pull request #11785 from grosser/grosser/file-unless-exist 2013-10-28 19:09:22 -02:00
callback_inheritance_test.rb Removed unused setup 2013-04-10 16:57:12 +05:30
callbacks_test.rb remove deprecation notices 2013-05-15 09:40:58 -07:00
class_cache_test.rb
clean_backtrace_test.rb Fix BacktraceCleaner#noise for multiple silencers. 2013-06-20 19:54:32 +01:00
clean_logger_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
concern_test.rb remove useless duplication in include test 2013-07-22 10:31:14 +02:00
configurable_test.rb minor grammar fix 2012-12-24 15:20:05 -06:00
constantize_test_cases.rb Fix #10932. Treat "" and "::" as invalid on constantize 2013-06-14 11:20:15 +04:00
dependencies_test.rb Merge pull request #12412 from bf4/allow_pathname_for_require_dependency 2013-09-30 23:22:11 -07:00
dependencies_test_helpers.rb Fix typo in DependenciesTestHelpers module name 2013-03-12 10:33:32 +05:30
deprecation_test.rb renames the :abort deprecation behaviour to :raise 2013-08-13 01:44:52 +02:00
descendants_tracker_test_cases.rb fix assertions 2012-10-18 13:14:43 -07:00
descendants_tracker_with_autoloading_test.rb fix some typos in AS 2013-03-30 14:01:42 +05:30
descendants_tracker_without_autoloading_test.rb Improve the test code for #8422 2013-10-24 20:14:30 -02:00
empty_bool.rb
file_update_checker_test.rb Fix failing test in file update checker 2012-06-29 15:08:08 -03:00
gzip_test.rb added compress options for gzip 2013-02-10 20:01:42 +09:00
i18n_test.rb Fix failing test about date.order translation values 2013-01-19 19:32:33 -02:00
inflector_test.rb Add +capitalize+ option to Inflector.humanize 2013-11-06 13:03:46 -08:00
inflector_test_cases.rb Add +capitalize+ option to Inflector.humanize 2013-11-06 13:03:46 -08:00
key_generator_test.rb Add ActiveSupport::KeyGenerator as a simple wrapper around PBKDF2 2012-10-01 14:22:19 +13:00
lazy_load_hooks_test.rb Ensure load hooks can be called more than once with different contexts. 2012-03-06 22:05:07 +01:00
load_paths_test.rb Drop extra variable from test 2013-06-12 11:18:35 +05:30
log_subscriber_test.rb Ensure blocks given to subscriber are properly yield 2012-05-17 08:52:40 +02:00
logger_test.rb Add ActiveSupport::Logger#silence that works the same as the old Logger#silence extension 2012-12-21 19:15:36 +01:00
message_encryptor_test.rb Standardize all JSON encoded times to use 3 decimal fractional seconds 2013-11-07 10:43:51 -05:00
message_verifier_test.rb Standardize all JSON encoded times to use 3 decimal fractional seconds 2013-11-07 10:43:51 -05:00
multibyte_chars_test.rb ensure original encoding doesnt change 2012-12-01 15:41:06 -05:00
multibyte_conformance.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
multibyte_test_helpers.rb remove checks for encodings availability 2011-12-25 14:34:58 +03:00
multibyte_unicode_database_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
notifications_test.rb Bug fix: Evented notification subscribers can handle published events 2013-05-17 16:27:23 -07:00
number_helper_i18n_test.rb Ensure I18n format values always have precedence over defaults 2012-08-11 00:20:19 -03:00
number_helper_test.rb Move number_to_human test from AP to AS 2013-02-22 19:44:50 -03:00
option_merger_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
ordered_hash_test.rb Moved all JSON core extensions into core_ext/object/json 2013-09-13 03:04:10 -07:00
ordered_options_test.rb fix some typos in AS 2013-03-30 14:01:42 +05:30
rescuable_test.rb Fix some typo in method names, variables 2013-05-26 16:27:05 +05:30
safe_buffer_test.rb Ensure [] respects the status of the buffer. 2012-02-29 16:09:02 -08:00
string_inquirer_test.rb Alias refute methods to assert_not and perfer assert_not on tests 2012-12-31 13:58:52 -03:00
subscriber_test.rb Allow attaching to AS::Notifications namespace up front 2013-09-20 10:14:28 +02:00
tagged_logging_test.rb Revert "make new rails apps log to STDOUT" 2013-03-15 10:38:00 -07:00
test_test.rb remove deprecated assert_present and assert_blank. 2013-07-01 22:06:26 +02:00
time_zone_test.rb Add regression tests for #9678 2013-03-13 05:46:34 +00:00
transliterate_test.rb Be sure to restore the default I18n.locale after changed its value in a test 2013-09-10 19:54:49 +02:00
xml_mini_test.rb Fix order dependent test 2013-09-09 17:11:16 +02:00