rails--rails/activesupport/test/core_ext
Andrew White db9ba18659
Use YAML.load_tags/dump_tags to prevent deprecation warnings
The default behavior of the Psych gem for Ruby classes is to call the
`name` method to generate a tag for encoding. However this causes a
stream of deprecation warnings whenever ActiveSupport::TimeWithZone
instances are encoded into YAML. By utilising the load_tags/dump_tags
configuration we can prevent Psych from calling the `name` method and
thereby prevent the triggering of the deprecation warnings.
2021-04-07 23:31:09 +01:00
..
array Remove deprecated file `active_support/core_ext/array/prepend_and_append` 2020-10-30 00:25:56 +00:00
class Class attribute writer is a public method 2020-10-02 15:53:46 +09:00
digest allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
hash Remove deprecated file `active_support/core_ext/hash/transform_values` 2020-10-30 00:25:58 +00:00
kernel allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
module Remove deprecated `Module#parent_name`, `Module#parent` and `Module#parents 2020-10-30 00:25:52 +00:00
object Remove some references to OrderedHash 2021-03-22 21:14:32 +09:00
bigdecimal_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
class_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
date_and_time_behavior.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
date_and_time_compatibility_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
date_ext_test.rb Add tests for to_s(:inspect) 2020-05-10 00:03:37 +09:00
date_time_ext_test.rb Add tests for to_s(:inspect) 2020-05-10 00:03:37 +09:00
duration_test.rb Merge pull request #39538. 2020-11-02 20:42:40 +00:00
enumerable_test.rb Test #maximum and #minimum with empty enumerable 2021-02-12 16:20:51 -06:00
file_test.rb Allow automic file test to be parallelized 2020-01-24 09:54:01 -08:00
hash_ext_test.rb Use YAML.load_tags/dump_tags to prevent deprecation warnings 2021-04-07 23:31:09 +01:00
integer_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
kernel_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
load_error_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
module_test.rb Fix typos [ci skip] 2020-04-22 21:43:37 -07:00
name_error_test.rb Remove all version checking for older Rubies in tests 2021-02-05 13:21:45 +09:00
numeric_ext_test.rb Remove deprecated file `active_support/core_ext/numeric/inquiry` 2020-10-30 00:25:54 +00:00
range_ext_test.rb Use native Range#cover? which accepts Range arguments since Ruby 2.6 2021-02-07 22:21:17 -05:00
regexp_ext_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
secure_random_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
string_ext_test.rb Accept a Symbol argument in `ActiveSupport::Inflector.camelize` 2021-02-02 11:24:41 -07:00
symbol_ext_test.rb Removes Symbol#start_with? and Symbol#end_with? since they are defined in Ruby 2.7 2021-02-07 21:47:25 -03:00
time_ext_test.rb Fix warning with Ruby 2.7 on Time.at with keyword arguments 2021-02-09 03:51:54 +00:00
time_with_zone_test.rb Use YAML.load_tags/dump_tags to prevent deprecation warnings 2021-04-07 23:31:09 +01:00
uri_ext_test.rb Use URI::DEFAULT_PARSER rather than instantiate a new one 2020-06-29 23:06:34 +02:00