rails/activesupport/lib/active_support
Rafael Mendonça França fee72c3aa0
Merge pull request #51640 from Shopify/prepend-to-include
Use `Module#include` rather than `prepend` for faster method lookup
2024-04-22 18:01:08 -03:00
..
cache RateLimiting Cleanups 2024-01-18 10:11:43 +01:00
concurrency Make AbstractAdapter#lock thread local by default 2022-11-23 14:34:40 +01:00
core_ext Use Module#include rather than prepend since we don't need prepend semantics here and include leads to faster method lookups. 2024-04-22 16:00:44 -04:00
current_attributes Revert "Call Executor#wrap around each test" 2021-10-28 00:35:07 +02:00
dependencies Remove all code to work with Ruby < 3.1 2024-01-03 19:02:31 +00:00
deprecation Modernize method missing implementations 2024-01-16 13:17:45 +01:00
duration Replace usage of Array#? with Array#intersect? for efficiency 2024-01-05 15:15:30 -05:00
error_reporter Add raise_on_invalid_cache_expiration_time config to ActiveSupport::Cache::Store 2022-08-30 10:10:28 -05:00
execution_context Extract ActiveSupport::ExecutionContext out of ActiveRecord::QueryLogs 2021-11-10 09:36:02 +01:00
executor Call Executor#wrap around each test 2021-10-28 15:18:29 +02:00
inflector Ensure {down,up}case_first returns non-frozen string 2023-10-29 12:28:06 -05:00
json Optimize Hash#stringify_keys 2024-01-08 19:19:20 +01:00
locale add zetta to number_to_human_size 2023-03-28 19:50:13 +09:00
log_subscriber Add Oxford commas [ci-skip] 2022-02-21 11:11:11 -06:00
message_pack Fix IPAddr prefix information missing when write to cache in msgpack serializer 2024-01-15 00:40:44 -06:00
messages Fix decoding data encoded using a non-String purpose 2023-10-17 10:02:10 +02:00
multibyte Modernize method missing implementations 2024-01-16 13:17:45 +01:00
notifications Fix ActiveSupport::Notifications.publish_event to preserve units 2024-01-17 12:53:40 +01:00
number_helper Handle negative numbers in NumberToHumanSizeConverter 2023-10-26 18:07:15 +02:00
testing ruby-head: handle unused block warnings 2024-04-17 12:24:12 +02:00
values Updating Astana with a Western Kazakhstan timezone 2024-03-12 17:42:16 -07:00
xml_mini Change load error messages to use Kernel#warn instead of $stderr.puts 2023-07-21 00:38:12 +03:00
actionable_error.rb Replace all occurrences of '<tt>(\w+::\w+)</tt>' with '+$1+' 2023-05-25 06:52:32 +09:00
all.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
array_inquirer.rb Modernize method missing implementations 2024-01-16 13:17:45 +01:00
backtrace_cleaner.rb Make ActiveSupport::BacktraceCleaner copy filters and silencers on dup and clone 2024-03-29 12:13:32 +01:00
benchmarkable.rb Add missing headers to Active Support docs [ci-skip] 2023-04-23 16:02:56 +02:00
broadcast_logger.rb Modernize method missing implementations 2024-01-16 13:17:45 +01:00
builder.rb Change load error messages to use Kernel#warn instead of $stderr.puts 2023-07-21 00:38:12 +03:00
cache.rb Improve the example of ActiveSupport::Cache::Store#fetch 2024-02-20 12:08:39 +08:00
callbacks.rb Eager load ActiveSupport::Callback procs 2023-11-07 16:19:00 -08:00
code_generator.rb Optimize CurrentAttributes method generation 2021-11-02 15:52:25 +01:00
concern.rb Replace all occurrences of '<tt>(\w+::\w+)</tt>' with '+$1+' 2023-05-25 06:52:32 +09:00
configurable.rb Add missing headers to Active Support docs [ci-skip] 2023-04-23 16:02:56 +02:00
configuration_file.rb Fix ruby-master test suite (Psych 4.0.0) 2021-05-19 14:21:21 +02:00
core_ext.rb Remove core_ext/uri.rb exception 2024-01-08 10:58:39 +01:00
current_attributes.rb ActiveSupport::Delegation allow to specify the signature 2024-01-25 11:51:01 +01:00
deep_mergeable.rb Factor out deep_merge into AS::DeepMergeable 2022-06-20 11:40:17 -05:00
delegation.rb Add :: to namespace the module we delegate "to" 2024-01-31 11:35:15 +01:00
dependencies.rb Enable Style/ExplicitBlockArgument cop 2021-09-05 17:06:19 +02:00
deprecation.rb Refactor Module#delegate inside ActiveSupport::Delegation 2024-01-25 11:51:00 +01:00
deprecator.rb Use the singleton instance as ActiveSupport deprecator 2023-03-14 17:33:48 +01:00
descendants_tracker.rb Remove all code to work with Ruby < 3.1 2024-01-03 19:02:31 +00:00
digest.rb Standardize nodoc comments 2021-07-29 21:18:07 +00:00
duration.rb ActiveSupport::Delegation optimize self.class delegation 2024-01-25 11:51:00 +01:00
encrypted_configuration.rb Fix inconsistencies writing credentials values 2023-07-21 11:32:57 +02:00
encrypted_file.rb Use a temporary file for storing unencrypted files while editing 2023-08-22 10:23:15 -07:00
environment_inquirer.rb Fix anonymous evals 2023-01-11 11:22:42 +01:00
error_reporter.rb ErrorReporter#unexpected to report in production but raise in development 2023-11-20 09:42:56 +01:00
evented_file_update_checker.rb Remove require of ActiveSupport::ForkTracker 2023-10-07 23:29:02 -04:00
execution_context.rb Use IsolatedExecutionState across Active Support 2021-11-19 09:58:15 +01:00
execution_wrapper.rb Remove unnecessary require 2023-12-31 17:12:31 -03:00
executor.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
file_update_checker.rb 🔗 Remove RDoc auto-link from Rails module everywhere 2023-06-23 10:49:30 +09:00
fork_tracker.rb Get rid of ForkTracker.check! 2024-01-09 11:18:38 +01:00
gem_version.rb Development of Rails 7.2 starts now 2023-09-27 03:59:11 +00:00
gzip.rb Add missing headers to Active Support docs [ci-skip] 2023-04-23 16:02:56 +02:00
hash_with_indifferent_access.rb Optimize Hash#stringify_keys 2024-01-08 19:19:20 +01:00
html_safe_translation.rb Use Kernel#Array to wrap the default value 2024-02-27 01:37:54 +00:00
i18n_railtie.rb Remove old raise_on_missing_translations behaviour 2023-09-09 19:59:49 +00:00
i18n.rb Change load error messages to use Kernel#warn instead of $stderr.puts 2023-07-21 00:38:12 +03:00
inflections.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
inflector.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
isolated_execution_state.rb Copy over the IsolatedExecutionState in AC::Live 2022-02-21 11:40:52 +01:00
json.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
key_generator.rb Don't show secrets for MessageVerifier#inspect and KeyGenerator#inspect 2023-07-06 21:51:22 +02:00
lazy_load_hooks.rb 🔗 Remove RDoc auto-link from Rails module everywhere 2023-06-23 10:49:30 +09:00
log_subscriber.rb ActiveSupport::LogSubscriber restore compatibility with SemanticLogger 2023-10-13 14:21:23 +02:00
logger_silence.rb Remove deprecated LoggerSilence constant 2020-10-30 00:25:50 +00:00
logger_thread_safe_level.rb Update requires in LoggerThreadSafeLevel 2023-09-24 21:59:55 -04:00
logger.rb [ci skip]Fix documentation and sample code for ActiveSupport::Logger.logger_outputs_to? 2024-02-27 10:56:53 +09:00
message_encryptor.rb Don't show secrets for MessageEncryptor#inspect 2023-06-16 21:14:13 +02:00
message_encryptors.rb Ensure on_rotation appears in RDoc [ci-skip] 2023-10-07 12:26:20 -05:00
message_pack.rb Add ActiveSupport::MessagePack 2023-04-17 11:56:06 -05:00
message_verifier.rb Don't show secrets for MessageVerifier#inspect and KeyGenerator#inspect 2023-07-06 21:51:22 +02:00
message_verifiers.rb Ensure on_rotation appears in RDoc [ci-skip] 2023-10-07 12:26:20 -05:00
multibyte.rb Standardize nodoc comments 2021-07-29 21:18:07 +00:00
notifications.rb Stop building AS::Notifications::Event manually 2023-09-29 12:34:23 -04:00
number_helper.rb Clean up AS::NumberHelper#number_to_human doc [ci-skip] 2024-01-06 18:07:26 -06:00
option_merger.rb Modernize method missing implementations 2024-01-16 13:17:45 +01:00
ordered_hash.rb Replace all occurrences of '<tt>(\w+::\w+)</tt>' with '+$1+' 2023-05-25 06:52:32 +09:00
ordered_options.rb Modernize method missing implementations 2024-01-16 13:17:45 +01:00
parameter_filter.rb Add missing headers to Active Support docs [ci-skip] 2023-04-23 16:02:56 +02:00
proxy_object.rb Deprecate ActiveSupport::ProxyObject 2024-04-22 18:51:38 +02:00
rails.rb [ci skip] Small fix to ActiveSupport docs 2019-10-24 09:36:14 +02:00
railtie.rb Fix ActiveSupport configurations deprecations 2024-04-21 19:36:36 +03:00
reloader.rb Add missing headers to Active Support docs [ci-skip] 2023-04-23 16:02:56 +02:00
rescuable.rb Add missing headers to Active Support docs [ci-skip] 2023-04-23 16:02:56 +02:00
secure_compare_rotator.rb Add missing headers to Active Support docs [ci-skip] 2023-04-23 16:02:56 +02:00
security_utils.rb secure_compare: Check byte size instead of length 2021-04-02 12:45:29 -04:00
string_inquirer.rb Modernize method missing implementations 2024-01-16 13:17:45 +01:00
subscriber.rb Replace all occurrences of '<tt>(\w+::\w+)</tt>' with '+$1+' 2023-05-25 06:52:32 +09:00
syntax_error_proxy.rb Handle nil backtrace_locations in SyntaxErrorProxy 2024-01-16 01:05:53 +00:00
tagged_logging.rb Workaround a Ruby bug that can cause a VM crash 2024-02-09 16:29:46 +01:00
test_case.rb Use logical core count for test parallelization 2024-01-03 16:13:47 -06:00
time_with_zone.rb docs: Fix ActiveSupport::TimeWithZone#change example [skip ci] 2024-04-20 16:12:27 +09:00
time.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
version.rb Replace all occurrences of '<tt>(\w+::\w+)</tt>' with '+$1+' 2023-05-25 06:52:32 +09:00
xml_mini.rb Use double quotes more consistenly in doc and error messages 2023-10-28 11:38:49 +02:00