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
Jean Boussier 3b71f3eb68 Implement an optimized Cache::Entry coder
Active Support's cache have for long been limited because
of its format. It directly serialize its `Entry` object with
`Marshal`, so any internal change might break the format.

The current shortcommings are:

  - The minimum entry overhead is quite ridiculous:
    `Marshal.dump(ActiveSupport::Cache::Entry.new("")).bytesize # => 107`
  - Only the internal `value` is compressed, but unless it's a String, to do so
    it first need to be serialized. So we end up with `Marshal.dump(Zlib.deflate(Marshal.dump(value)))`
    which is wasteful.
2021-04-25 08:27:58 +02:00
..
autoloading_fixtures Delete orphan autoloading fixtures 2021-04-06 20:14:10 +02:00
cache Implement an optimized Cache::Entry coder 2021-04-25 08:27:58 +02:00
concurrency allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
core_ext Stop internationalizing Duration#inspect 2021-04-21 21:44:44 +02:00
dependencies Deletes AS::Dependencies::Blamable 2021-03-08 17:10:42 +01:00
deprecation allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
file_fixtures
fixtures Concerns learn to be prepended 2020-02-10 02:23:33 +01:00
json Change IPAddr#to_json to match the behavior of the json gem 2020-12-28 05:46:09 +00:00
messages allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
metadata
notifications Forward sql.active_record notifications back into the calling thread 2021-03-03 10:33:37 +01:00
testing Remove with_autoloading_fixtures from the AS::Testing::ConstantLookup test suite 2021-04-03 19:24:12 +02:00
xml_mini Remove leading whitespace from the XML under test 2021-01-05 22:29:25 -05:00
abstract_unit.rb Update test helper to call parallelize according to fork support 2021-01-25 13:50:41 -06:00
actionable_error_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
array_inquirer_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
autoload_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
benchmarkable_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
broadcast_logger_test.rb Remove deprecated LoggerSilence constant 2020-10-30 00:25:50 +00:00
callback_inheritance_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
callbacks_test.rb Remove special case filtering for Procs. 2021-03-02 17:20:35 -08:00
clean_backtrace_test.rb chore: fix grammar and spelling 2021-04-12 05:30:44 +10:00
clean_logger_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
concern_test.rb Fix variable not initialized warnings 2020-03-13 00:14:45 +01:00
configurable_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
configuration_file_test.rb Cast ConfigurationFile#content_path to a string: 2020-02-10 19:12:33 -04:00
constantize_test_cases.rb Remove DependenciesTestHelpers 2021-04-03 19:24:12 +02:00
constantize_test_helpers.rb Remove DependenciesTestHelpers 2021-04-03 19:24:12 +02:00
current_attributes_test.rb chore: fix grammar, spelling and minor whitespace fix 2021-04-13 21:35:50 +10:00
dependencies_test.rb Remove DependenciesTestHelpers 2021-04-03 19:24:12 +02:00
deprecation_test.rb Fix deprecate_methods to not expand positional argument hash 2020-01-20 01:48:23 +09:00
descendants_tracker_test_cases.rb Alias direct_descendants as subclasses 2020-06-02 22:57:48 -05:00
descendants_tracker_with_autoloading_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
descendants_tracker_without_autoloading_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
digest_test.rb Change the default digest for new apps to SHA256 2021-01-08 12:07:20 +01:00
encrypted_configuration_test.rb Unique temp paths for encrypted_config_test 2020-01-24 09:54:01 -08:00
encrypted_file_test.rb Improve error when EncryptedFile key length wrong 2020-09-24 19:45:11 -05:00
evented_file_update_checker_test.rb Listen on fork in EventedFileUpdateChecker 2020-09-26 16:35:28 -05:00
executor_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
file_update_checker_shared_tests.rb
file_update_checker_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
fork_tracker_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
gzip_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
hash_with_indifferent_access_test.rb to_yaml requires require "yaml" 2021-03-23 08:51:39 +09:00
i18n_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
inflector_test.rb Handle Symbol arguments in ActiveSupport::Inflector.camelize (v2) 2021-02-02 16:11:28 -07:00
inflector_test_cases.rb Make sure Inflector.underscore returns a String 2021-04-08 16:26:45 +02:00
key_generator_test.rb ✂️ [ci skip] 2021-03-22 04:46:11 +09:00
lazy_load_hooks_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
log_subscriber_test.rb Fix LogSubscriber for buffered event w/ nil logger 2021-03-29 17:31:07 -07:00
logger_test.rb Logger#info, debug, etc. are public methods 2020-10-02 15:52:09 +09:00
message_encryptor_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
message_verifier_test.rb Fix parsing of jsonified expiry date when on AS::Message::Metadata, when ActiveSupport.use_standard_json_time_format = false 2020-06-06 02:12:19 +05:30
multibyte_chars_test.rb Remove deprecated methods in ActiveSupport::Multibyte::Unicode 2020-10-30 00:26:02 +00:00
multibyte_proxy_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
multibyte_test_helpers.rb Remove deprecated methods in ActiveSupport::Multibyte::Unicode 2020-10-30 00:26:02 +00:00
notifications_test.rb Merge pull request #39626 from vipulnsward/as-notification-args 2020-12-28 19:30:02 -05:00
number_helper_i18n_test.rb Add :round_mode parameter support to number helpers 2020-01-05 21:23:02 +00:00
number_helper_test.rb Fix rounding of custom-formatted negative amounts 2020-05-20 12:34:20 +02:00
option_merger_test.rb Copy options before delegating in with_options 2020-05-23 22:47:48 +01:00
ordered_hash_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
ordered_options_test.rb Implement #inspect for ActiveSupport::OrderedOptions 2020-08-26 21:50:09 +05:30
parameter_filter_test.rb Fixes TypeError raised for parameter filter if the json data has key as integer 2020-02-28 17:27:58 +09:00
reloader_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
rescuable_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
safe_buffer_test.rb Mark scrub as an unsafe method on SafeBuffer 2020-12-01 17:40:17 +09:00
secure_compare_rotator_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
security_utils_test.rb secure_compare: Check byte size instead of length 2021-04-02 12:45:29 -04:00
share_lock_test.rb ShareLock#exclusive and sharing are both public methods 2020-10-02 15:53:47 +09:00
silence_logger_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
string_inquirer_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00
subscriber_test.rb Forward sql.active_record notifications back into the calling thread 2021-03-03 10:33:37 +01:00
tagged_logging_test.rb Clone to keep extended Logger methods for tagged logger 2020-12-07 14:43:37 +01:00
test_case_test.rb Remove special case filtering for Procs. 2021-03-02 17:20:35 -08:00
time_travel_test.rb Use application time zone when gets time as String. 2020-11-26 11:35:23 +03:00
time_zone_test.rb Simplify Time.find_timezone! logic 2021-04-13 16:25:58 +01:00
time_zone_test_helpers.rb Update to TZInfo v2.0.0 2020-03-28 20:42:43 +01:00
transliterate_test.rb Change all "can not"s to the correct "cannot" 2020-02-04 16:46:55 -05:00
xml_mini_test.rb Allow to opt-in to the new TimeWithZone.name and fix XmlMini serialization 2021-04-12 22:03:31 +02:00
zeitwerk_inflector_test.rb allow running each test with pure ruby path/to/test.rb 2019-12-18 08:49:19 -06:00