activesupport 6.0.3.4 → 6.1.7.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activesupport might be problematic. Click here for more details.

Files changed (139) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +456 -398
  3. data/MIT-LICENSE +1 -1
  4. data/README.rdoc +1 -1
  5. data/lib/active_support/array_inquirer.rb +4 -2
  6. data/lib/active_support/backtrace_cleaner.rb +3 -3
  7. data/lib/active_support/benchmarkable.rb +1 -1
  8. data/lib/active_support/cache/file_store.rb +5 -4
  9. data/lib/active_support/cache/mem_cache_store.rb +29 -18
  10. data/lib/active_support/cache/memory_store.rb +46 -26
  11. data/lib/active_support/cache/redis_cache_store.rb +27 -27
  12. data/lib/active_support/cache/strategy/local_cache.rb +21 -6
  13. data/lib/active_support/cache.rb +92 -45
  14. data/lib/active_support/callbacks.rb +65 -56
  15. data/lib/active_support/concern.rb +46 -2
  16. data/lib/active_support/configurable.rb +3 -3
  17. data/lib/active_support/configuration_file.rb +51 -0
  18. data/lib/active_support/core_ext/benchmark.rb +2 -2
  19. data/lib/active_support/core_ext/class/attribute.rb +34 -44
  20. data/lib/active_support/core_ext/class/subclasses.rb +17 -38
  21. data/lib/active_support/core_ext/date/conversions.rb +2 -1
  22. data/lib/active_support/core_ext/date_and_time/calculations.rb +13 -0
  23. data/lib/active_support/core_ext/date_and_time/compatibility.rb +15 -0
  24. data/lib/active_support/core_ext/digest/uuid.rb +1 -0
  25. data/lib/active_support/core_ext/enumerable.rb +76 -4
  26. data/lib/active_support/core_ext/hash/conversions.rb +2 -2
  27. data/lib/active_support/core_ext/hash/deep_transform_values.rb +1 -1
  28. data/lib/active_support/core_ext/hash/except.rb +1 -1
  29. data/lib/active_support/core_ext/hash/keys.rb +1 -1
  30. data/lib/active_support/core_ext/hash/slice.rb +3 -2
  31. data/lib/active_support/core_ext/load_error.rb +1 -1
  32. data/lib/active_support/core_ext/marshal.rb +2 -0
  33. data/lib/active_support/core_ext/module/attr_internal.rb +2 -2
  34. data/lib/active_support/core_ext/module/attribute_accessors.rb +23 -29
  35. data/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb +8 -4
  36. data/lib/active_support/core_ext/module/concerning.rb +8 -2
  37. data/lib/active_support/core_ext/module/delegation.rb +38 -28
  38. data/lib/active_support/core_ext/module/introspection.rb +1 -25
  39. data/lib/active_support/core_ext/name_error.rb +29 -2
  40. data/lib/active_support/core_ext/numeric/conversions.rb +22 -18
  41. data/lib/active_support/core_ext/object/deep_dup.rb +1 -1
  42. data/lib/active_support/core_ext/object/json.rb +13 -2
  43. data/lib/active_support/core_ext/object/try.rb +2 -2
  44. data/lib/active_support/core_ext/range/compare_range.rb +9 -3
  45. data/lib/active_support/core_ext/range/include_time_with_zone.rb +8 -3
  46. data/lib/active_support/core_ext/regexp.rb +8 -1
  47. data/lib/active_support/core_ext/string/access.rb +5 -24
  48. data/lib/active_support/core_ext/string/conversions.rb +1 -0
  49. data/lib/active_support/core_ext/string/inflections.rb +38 -4
  50. data/lib/active_support/core_ext/string/inquiry.rb +1 -0
  51. data/lib/active_support/core_ext/string/multibyte.rb +2 -2
  52. data/lib/active_support/core_ext/string/output_safety.rb +38 -10
  53. data/lib/active_support/core_ext/string/starts_ends_with.rb +2 -2
  54. data/lib/active_support/core_ext/symbol/starts_ends_with.rb +14 -0
  55. data/lib/active_support/core_ext/symbol.rb +3 -0
  56. data/lib/active_support/core_ext/time/calculations.rb +22 -1
  57. data/lib/active_support/core_ext/time/conversions.rb +2 -0
  58. data/lib/active_support/core_ext/uri.rb +5 -1
  59. data/lib/active_support/core_ext.rb +1 -1
  60. data/lib/active_support/current_attributes/test_helper.rb +13 -0
  61. data/lib/active_support/current_attributes.rb +9 -2
  62. data/lib/active_support/dependencies/zeitwerk_integration.rb +4 -1
  63. data/lib/active_support/dependencies.rb +43 -19
  64. data/lib/active_support/deprecation/behaviors.rb +15 -2
  65. data/lib/active_support/deprecation/disallowed.rb +56 -0
  66. data/lib/active_support/deprecation/instance_delegator.rb +0 -1
  67. data/lib/active_support/deprecation/method_wrappers.rb +3 -2
  68. data/lib/active_support/deprecation/proxy_wrappers.rb +3 -3
  69. data/lib/active_support/deprecation/reporting.rb +50 -7
  70. data/lib/active_support/deprecation.rb +6 -1
  71. data/lib/active_support/descendants_tracker.rb +6 -2
  72. data/lib/active_support/digest.rb +2 -0
  73. data/lib/active_support/duration/iso8601_serializer.rb +15 -9
  74. data/lib/active_support/duration.rb +75 -25
  75. data/lib/active_support/encrypted_file.rb +19 -2
  76. data/lib/active_support/environment_inquirer.rb +20 -0
  77. data/lib/active_support/evented_file_update_checker.rb +69 -133
  78. data/lib/active_support/execution_wrapper.rb +16 -13
  79. data/lib/active_support/fork_tracker.rb +64 -0
  80. data/lib/active_support/gem_version.rb +3 -3
  81. data/lib/active_support/hash_with_indifferent_access.rb +48 -24
  82. data/lib/active_support/i18n_railtie.rb +14 -19
  83. data/lib/active_support/inflector/inflections.rb +1 -2
  84. data/lib/active_support/inflector/methods.rb +36 -33
  85. data/lib/active_support/inflector/transliterate.rb +4 -4
  86. data/lib/active_support/json/decoding.rb +4 -4
  87. data/lib/active_support/json/encoding.rb +5 -1
  88. data/lib/active_support/key_generator.rb +1 -1
  89. data/lib/active_support/locale/en.yml +7 -3
  90. data/lib/active_support/log_subscriber.rb +8 -0
  91. data/lib/active_support/logger.rb +1 -1
  92. data/lib/active_support/logger_silence.rb +2 -26
  93. data/lib/active_support/logger_thread_safe_level.rb +34 -12
  94. data/lib/active_support/message_encryptor.rb +4 -7
  95. data/lib/active_support/message_verifier.rb +5 -5
  96. data/lib/active_support/messages/metadata.rb +9 -1
  97. data/lib/active_support/messages/rotation_configuration.rb +2 -1
  98. data/lib/active_support/messages/rotator.rb +6 -5
  99. data/lib/active_support/multibyte/chars.rb +4 -42
  100. data/lib/active_support/multibyte/unicode.rb +9 -83
  101. data/lib/active_support/notifications/fanout.rb +23 -8
  102. data/lib/active_support/notifications/instrumenter.rb +6 -15
  103. data/lib/active_support/notifications.rb +32 -5
  104. data/lib/active_support/number_helper/number_converter.rb +1 -1
  105. data/lib/active_support/number_helper/number_to_currency_converter.rb +3 -7
  106. data/lib/active_support/number_helper/number_to_human_converter.rb +1 -1
  107. data/lib/active_support/number_helper/number_to_human_size_converter.rb +1 -1
  108. data/lib/active_support/number_helper/number_to_rounded_converter.rb +9 -5
  109. data/lib/active_support/number_helper/rounding_helper.rb +12 -28
  110. data/lib/active_support/number_helper.rb +29 -14
  111. data/lib/active_support/option_merger.rb +3 -2
  112. data/lib/active_support/ordered_options.rb +8 -2
  113. data/lib/active_support/parameter_filter.rb +16 -11
  114. data/lib/active_support/per_thread_registry.rb +2 -1
  115. data/lib/active_support/rails.rb +1 -4
  116. data/lib/active_support/railtie.rb +23 -1
  117. data/lib/active_support/reloader.rb +1 -1
  118. data/lib/active_support/rescuable.rb +4 -4
  119. data/lib/active_support/secure_compare_rotator.rb +51 -0
  120. data/lib/active_support/security_utils.rb +19 -12
  121. data/lib/active_support/string_inquirer.rb +4 -2
  122. data/lib/active_support/subscriber.rb +12 -7
  123. data/lib/active_support/tagged_logging.rb +30 -5
  124. data/lib/active_support/testing/assertions.rb +18 -11
  125. data/lib/active_support/testing/parallelization/server.rb +78 -0
  126. data/lib/active_support/testing/parallelization/worker.rb +100 -0
  127. data/lib/active_support/testing/parallelization.rb +12 -95
  128. data/lib/active_support/testing/time_helpers.rb +40 -3
  129. data/lib/active_support/time_with_zone.rb +67 -43
  130. data/lib/active_support/values/time_zone.rb +22 -10
  131. data/lib/active_support/xml_mini/rexml.rb +8 -1
  132. data/lib/active_support.rb +13 -1
  133. metadata +35 -36
  134. data/lib/active_support/core_ext/array/prepend_and_append.rb +0 -5
  135. data/lib/active_support/core_ext/hash/compact.rb +0 -5
  136. data/lib/active_support/core_ext/hash/transform_values.rb +0 -5
  137. data/lib/active_support/core_ext/module/reachable.rb +0 -6
  138. data/lib/active_support/core_ext/numeric/inquiry.rb +0 -5
  139. data/lib/active_support/core_ext/range/include_range.rb +0 -9
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  #--
4
- # Copyright (c) 2005-2019 David Heinemeier Hansson
4
+ # Copyright (c) 2005-2022 David Heinemeier Hansson
5
5
  #
6
6
  # Permission is hereby granted, free of charge, to any person obtaining
7
7
  # a copy of this software and associated documentation files (the
@@ -35,6 +35,7 @@ module ActiveSupport
35
35
 
36
36
  autoload :Concern
37
37
  autoload :ActionableError
38
+ autoload :ConfigurationFile
38
39
  autoload :CurrentAttributes
39
40
  autoload :Dependencies
40
41
  autoload :DescendantsTracker
@@ -42,9 +43,11 @@ module ActiveSupport
42
43
  autoload :Executor
43
44
  autoload :FileUpdateChecker
44
45
  autoload :EventedFileUpdateChecker
46
+ autoload :ForkTracker
45
47
  autoload :LogSubscriber
46
48
  autoload :Notifications
47
49
  autoload :Reloader
50
+ autoload :SecureCompareRotator
48
51
 
49
52
  eager_autoload do
50
53
  autoload :BacktraceCleaner
@@ -67,6 +70,7 @@ module ActiveSupport
67
70
  autoload :OrderedHash
68
71
  autoload :OrderedOptions
69
72
  autoload :StringInquirer
73
+ autoload :EnvironmentInquirer
70
74
  autoload :TaggedLogging
71
75
  autoload :XmlMini
72
76
  autoload :ArrayInquirer
@@ -91,6 +95,14 @@ module ActiveSupport
91
95
  def self.to_time_preserves_timezone=(value)
92
96
  DateAndTime::Compatibility.preserve_timezone = value
93
97
  end
98
+
99
+ def self.utc_to_local_returns_utc_offset_times
100
+ DateAndTime::Compatibility.utc_to_local_returns_utc_offset_times
101
+ end
102
+
103
+ def self.utc_to_local_returns_utc_offset_times=(value)
104
+ DateAndTime::Compatibility.utc_to_local_returns_utc_offset_times = value
105
+ end
94
106
  end
95
107
 
96
108
  autoload :I18n, "active_support/i18n"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activesupport
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.3.4
4
+ version: 6.1.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-07 00:00:00.000000000 Z
11
+ date: 2023-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.7'
19
+ version: '1.6'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: '2'
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.7'
29
+ version: '1.6'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: '2'
@@ -36,28 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: '1.1'
39
+ version: '2.0'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "~>"
45
45
  - !ruby/object:Gem::Version
46
- version: '1.1'
47
- - !ruby/object:Gem::Dependency
48
- name: minitest
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - "~>"
52
- - !ruby/object:Gem::Version
53
- version: '5.1'
54
- type: :runtime
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - "~>"
59
- - !ruby/object:Gem::Version
60
- version: '5.1'
46
+ version: '2.0'
61
47
  - !ruby/object:Gem::Dependency
62
48
  name: concurrent-ruby
63
49
  requirement: !ruby/object:Gem::Requirement
@@ -84,20 +70,28 @@ dependencies:
84
70
  requirements:
85
71
  - - "~>"
86
72
  - !ruby/object:Gem::Version
87
- version: '2.2'
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: 2.2.2
73
+ version: '2.3'
91
74
  type: :runtime
92
75
  prerelease: false
93
76
  version_requirements: !ruby/object:Gem::Requirement
94
77
  requirements:
95
78
  - - "~>"
96
79
  - !ruby/object:Gem::Version
97
- version: '2.2'
80
+ version: '2.3'
81
+ - !ruby/object:Gem::Dependency
82
+ name: minitest
83
+ requirement: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '5.1'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ requirements:
98
92
  - - ">="
99
93
  - !ruby/object:Gem::Version
100
- version: 2.2.2
94
+ version: '5.1'
101
95
  description: A toolkit of support libraries and Ruby core extensions extracted from
102
96
  the Rails framework. Rich support for multibyte strings, internationalization, time
103
97
  zones, and testing.
@@ -129,6 +123,7 @@ files:
129
123
  - lib/active_support/concurrency/load_interlock_aware_monitor.rb
130
124
  - lib/active_support/concurrency/share_lock.rb
131
125
  - lib/active_support/configurable.rb
126
+ - lib/active_support/configuration_file.rb
132
127
  - lib/active_support/core_ext.rb
133
128
  - lib/active_support/core_ext/array.rb
134
129
  - lib/active_support/core_ext/array/access.rb
@@ -137,7 +132,6 @@ files:
137
132
  - lib/active_support/core_ext/array/extract_options.rb
138
133
  - lib/active_support/core_ext/array/grouping.rb
139
134
  - lib/active_support/core_ext/array/inquiry.rb
140
- - lib/active_support/core_ext/array/prepend_and_append.rb
141
135
  - lib/active_support/core_ext/array/wrap.rb
142
136
  - lib/active_support/core_ext/benchmark.rb
143
137
  - lib/active_support/core_ext/big_decimal.rb
@@ -167,7 +161,6 @@ files:
167
161
  - lib/active_support/core_ext/file.rb
168
162
  - lib/active_support/core_ext/file/atomic.rb
169
163
  - lib/active_support/core_ext/hash.rb
170
- - lib/active_support/core_ext/hash/compact.rb
171
164
  - lib/active_support/core_ext/hash/conversions.rb
172
165
  - lib/active_support/core_ext/hash/deep_merge.rb
173
166
  - lib/active_support/core_ext/hash/deep_transform_values.rb
@@ -176,7 +169,6 @@ files:
176
169
  - lib/active_support/core_ext/hash/keys.rb
177
170
  - lib/active_support/core_ext/hash/reverse_merge.rb
178
171
  - lib/active_support/core_ext/hash/slice.rb
179
- - lib/active_support/core_ext/hash/transform_values.rb
180
172
  - lib/active_support/core_ext/integer.rb
181
173
  - lib/active_support/core_ext/integer/inflections.rb
182
174
  - lib/active_support/core_ext/integer/multiple.rb
@@ -197,14 +189,12 @@ files:
197
189
  - lib/active_support/core_ext/module/delegation.rb
198
190
  - lib/active_support/core_ext/module/deprecation.rb
199
191
  - lib/active_support/core_ext/module/introspection.rb
200
- - lib/active_support/core_ext/module/reachable.rb
201
192
  - lib/active_support/core_ext/module/redefine_method.rb
202
193
  - lib/active_support/core_ext/module/remove_method.rb
203
194
  - lib/active_support/core_ext/name_error.rb
204
195
  - lib/active_support/core_ext/numeric.rb
205
196
  - lib/active_support/core_ext/numeric/bytes.rb
206
197
  - lib/active_support/core_ext/numeric/conversions.rb
207
- - lib/active_support/core_ext/numeric/inquiry.rb
208
198
  - lib/active_support/core_ext/numeric/time.rb
209
199
  - lib/active_support/core_ext/object.rb
210
200
  - lib/active_support/core_ext/object/acts_like.rb
@@ -223,7 +213,6 @@ files:
223
213
  - lib/active_support/core_ext/range/compare_range.rb
224
214
  - lib/active_support/core_ext/range/conversions.rb
225
215
  - lib/active_support/core_ext/range/each.rb
226
- - lib/active_support/core_ext/range/include_range.rb
227
216
  - lib/active_support/core_ext/range/include_time_with_zone.rb
228
217
  - lib/active_support/core_ext/range/overlaps.rb
229
218
  - lib/active_support/core_ext/regexp.rb
@@ -242,6 +231,8 @@ files:
242
231
  - lib/active_support/core_ext/string/starts_ends_with.rb
243
232
  - lib/active_support/core_ext/string/strip.rb
244
233
  - lib/active_support/core_ext/string/zones.rb
234
+ - lib/active_support/core_ext/symbol.rb
235
+ - lib/active_support/core_ext/symbol/starts_ends_with.rb
245
236
  - lib/active_support/core_ext/time.rb
246
237
  - lib/active_support/core_ext/time/acts_like.rb
247
238
  - lib/active_support/core_ext/time/calculations.rb
@@ -250,6 +241,7 @@ files:
250
241
  - lib/active_support/core_ext/time/zones.rb
251
242
  - lib/active_support/core_ext/uri.rb
252
243
  - lib/active_support/current_attributes.rb
244
+ - lib/active_support/current_attributes/test_helper.rb
253
245
  - lib/active_support/dependencies.rb
254
246
  - lib/active_support/dependencies/autoload.rb
255
247
  - lib/active_support/dependencies/interlock.rb
@@ -257,6 +249,7 @@ files:
257
249
  - lib/active_support/deprecation.rb
258
250
  - lib/active_support/deprecation/behaviors.rb
259
251
  - lib/active_support/deprecation/constant_accessor.rb
252
+ - lib/active_support/deprecation/disallowed.rb
260
253
  - lib/active_support/deprecation/instance_delegator.rb
261
254
  - lib/active_support/deprecation/method_wrappers.rb
262
255
  - lib/active_support/deprecation/proxy_wrappers.rb
@@ -268,10 +261,12 @@ files:
268
261
  - lib/active_support/duration/iso8601_serializer.rb
269
262
  - lib/active_support/encrypted_configuration.rb
270
263
  - lib/active_support/encrypted_file.rb
264
+ - lib/active_support/environment_inquirer.rb
271
265
  - lib/active_support/evented_file_update_checker.rb
272
266
  - lib/active_support/execution_wrapper.rb
273
267
  - lib/active_support/executor.rb
274
268
  - lib/active_support/file_update_checker.rb
269
+ - lib/active_support/fork_tracker.rb
275
270
  - lib/active_support/gem_version.rb
276
271
  - lib/active_support/gzip.rb
277
272
  - lib/active_support/hash_with_indifferent_access.rb
@@ -325,6 +320,7 @@ files:
325
320
  - lib/active_support/railtie.rb
326
321
  - lib/active_support/reloader.rb
327
322
  - lib/active_support/rescuable.rb
323
+ - lib/active_support/secure_compare_rotator.rb
328
324
  - lib/active_support/security_utils.rb
329
325
  - lib/active_support/string_inquirer.rb
330
326
  - lib/active_support/subscriber.rb
@@ -339,6 +335,8 @@ files:
339
335
  - lib/active_support/testing/isolation.rb
340
336
  - lib/active_support/testing/method_call_assertions.rb
341
337
  - lib/active_support/testing/parallelization.rb
338
+ - lib/active_support/testing/parallelization/server.rb
339
+ - lib/active_support/testing/parallelization/worker.rb
342
340
  - lib/active_support/testing/setup_and_teardown.rb
343
341
  - lib/active_support/testing/stream.rb
344
342
  - lib/active_support/testing/tagged_logging.rb
@@ -359,10 +357,11 @@ licenses:
359
357
  - MIT
360
358
  metadata:
361
359
  bug_tracker_uri: https://github.com/rails/rails/issues
362
- changelog_uri: https://github.com/rails/rails/blob/v6.0.3.4/activesupport/CHANGELOG.md
363
- documentation_uri: https://api.rubyonrails.org/v6.0.3.4/
360
+ changelog_uri: https://github.com/rails/rails/blob/v6.1.7.1/activesupport/CHANGELOG.md
361
+ documentation_uri: https://api.rubyonrails.org/v6.1.7.1/
364
362
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
365
- source_code_uri: https://github.com/rails/rails/tree/v6.0.3.4/activesupport
363
+ source_code_uri: https://github.com/rails/rails/tree/v6.1.7.1/activesupport
364
+ rubygems_mfa_required: 'true'
366
365
  post_install_message:
367
366
  rdoc_options:
368
367
  - "--encoding"
@@ -380,7 +379,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
380
379
  - !ruby/object:Gem::Version
381
380
  version: '0'
382
381
  requirements: []
383
- rubygems_version: 3.1.4
382
+ rubygems_version: 3.4.3
384
383
  signing_key:
385
384
  specification_version: 4
386
385
  summary: A toolkit of support libraries and Ruby core extensions extracted from the
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "active_support/deprecation"
4
-
5
- ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Array#append and Array#prepend natively, so requiring active_support/core_ext/array/prepend_and_append is no longer necessary. Requiring it will raise LoadError in Rails 6.1."
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "active_support/deprecation"
4
-
5
- ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Hash#compact and Hash#compact! natively, so requiring active_support/core_ext/hash/compact is no longer necessary. Requiring it will raise LoadError in Rails 6.1."
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "active_support/deprecation"
4
-
5
- ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Hash#transform_values natively, so requiring active_support/core_ext/hash/transform_values is no longer necessary. Requiring it will raise LoadError in Rails 6.1."
@@ -1,6 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "active_support/core_ext/module/anonymous"
4
- require "active_support/core_ext/string/inflections"
5
-
6
- ActiveSupport::Deprecation.warn("reachable is deprecated and will be removed from the framework.")
@@ -1,5 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "active_support/deprecation"
4
-
5
- ActiveSupport::Deprecation.warn "Ruby 2.5+ (required by Rails 6) provides Numeric#positive? and Numeric#negative? natively, so requiring active_support/core_ext/numeric/inquiry is no longer necessary. Requiring it will raise LoadError in Rails 6.1."
@@ -1,9 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require "active_support/deprecation"
4
-
5
- ActiveSupport::Deprecation.warn "You have required `active_support/core_ext/range/include_range`. " \
6
- "This file will be removed in Rails 6.1. You should require `active_support/core_ext/range/compare_range` " \
7
- "instead."
8
-
9
- require "active_support/core_ext/range/compare_range"