activesupport 8.1.0.rc1 → 8.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -3
- data/lib/active_support/configurable.rb +6 -0
- data/lib/active_support/event_reporter.rb +1 -1
- data/lib/active_support/gem_version.rb +2 -2
- data/lib/active_support/i18n_railtie.rb +1 -0
- data/lib/active_support/json/encoding.rb +1 -1
- data/lib/active_support.rb +1 -5
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b039f92d3ea92da9f26a0976ed2a520582423f6a4a76fc3ff876b01a752ea95c
|
|
4
|
+
data.tar.gz: bed24bdb19b85bc7d5aaa866a91c92f7661e54d3276a7dd7f1f99724d35bee79
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1988996636e1e6e8b8c7f54ec0bc0fc0be22eae66dc3048adc8bf00edcb1fc812154dc770f768d3ebffbb5d1edd9191d64b59dac81264c0e1ca3d11e9578cf60
|
|
7
|
+
data.tar.gz: 2d785dd9295cfef86a9e390ed59f7ea1094f94410079e00a1d6cfb2fcc71bd2ec205cd1256d3ebc688c3cbfafabc5eff95715213dc09626993440816e6c33c7f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
## Rails 8.1.
|
|
1
|
+
## Rails 8.1.1 (October 28, 2025) ##
|
|
2
|
+
|
|
3
|
+
* No changes.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
## Rails 8.1.0 (October 22, 2025) ##
|
|
2
7
|
|
|
3
8
|
* Remove deprecated passing a Time object to `Time#since`.
|
|
4
9
|
|
|
@@ -89,8 +94,6 @@
|
|
|
89
94
|
|
|
90
95
|
*Jan Grodowski*
|
|
91
96
|
|
|
92
|
-
## Rails 8.1.0.beta1 (September 04, 2025) ##
|
|
93
|
-
|
|
94
97
|
* Add `ActiveSupport::Cache::Store#namespace=` and `#namespace`.
|
|
95
98
|
|
|
96
99
|
Can be used as an alternative to `Store#clear` in some situations such as parallel
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
ActiveSupport.deprecator.warn <<~MSG
|
|
4
|
+
ActiveSupport::Configurable is deprecated without replacement, and will be removed in Rails 8.2.
|
|
5
|
+
|
|
6
|
+
You can emulate the previous behavior with `class_attribute`.
|
|
7
|
+
MSG
|
|
8
|
+
|
|
3
9
|
require "active_support/concern"
|
|
4
10
|
require "active_support/ordered_options"
|
|
5
11
|
|
|
@@ -225,7 +225,7 @@ module ActiveSupport
|
|
|
225
225
|
# # name: "user_created",
|
|
226
226
|
# # payload: { id: 123 },
|
|
227
227
|
# # tags: {},
|
|
228
|
-
# # context: { request_id: "abcd123", user_agent: TestAgent" },
|
|
228
|
+
# # context: { request_id: "abcd123", user_agent: "TestAgent" },
|
|
229
229
|
# # timestamp: 1738964843208679035,
|
|
230
230
|
# # source_location: { filepath: "path/to/file.rb", lineno: 123, label: "UserService#create" }
|
|
231
231
|
# # }
|
|
@@ -146,7 +146,7 @@ module ActiveSupport
|
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
# ruby/json 2.14.x yields non-String keys but doesn't let us know it's a key
|
|
149
|
-
if defined?(::JSON::Coder) && Gem::Version.new(::JSON::VERSION) >= Gem::Version.new("2.15")
|
|
149
|
+
if defined?(::JSON::Coder) && Gem::Version.new(::JSON::VERSION) >= Gem::Version.new("2.15.2")
|
|
150
150
|
class JSONGemCoderEncoder # :nodoc:
|
|
151
151
|
JSON_NATIVE_TYPES = [Hash, Array, Float, String, Symbol, Integer, NilClass, TrueClass, FalseClass, ::JSON::Fragment].freeze
|
|
152
152
|
CODER = ::JSON::Coder.new do |value, is_key|
|
data/lib/active_support.rb
CHANGED
|
@@ -39,6 +39,7 @@ module ActiveSupport
|
|
|
39
39
|
autoload :Concern
|
|
40
40
|
autoload :CodeGenerator
|
|
41
41
|
autoload :ActionableError
|
|
42
|
+
autoload :Configurable
|
|
42
43
|
autoload :ConfigurationFile
|
|
43
44
|
autoload :ContinuousIntegration
|
|
44
45
|
autoload :CurrentAttributes
|
|
@@ -65,7 +66,6 @@ module ActiveSupport
|
|
|
65
66
|
autoload :Benchmarkable
|
|
66
67
|
autoload :Cache
|
|
67
68
|
autoload :Callbacks
|
|
68
|
-
autoload :Configurable
|
|
69
69
|
autoload :ClassAttribute
|
|
70
70
|
autoload :Deprecation
|
|
71
71
|
autoload :Delegation
|
|
@@ -95,10 +95,6 @@ module ActiveSupport
|
|
|
95
95
|
autoload :SafeBuffer, "active_support/core_ext/string/output_safety"
|
|
96
96
|
autoload :TestCase
|
|
97
97
|
|
|
98
|
-
include Deprecation::DeprecatedConstantAccessor
|
|
99
|
-
|
|
100
|
-
deprecate_constant :Configurable, "class_attribute :config, default: {}", deprecator: ActiveSupport.deprecator
|
|
101
|
-
|
|
102
98
|
def self.eager_load!
|
|
103
99
|
super
|
|
104
100
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: activesupport
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 8.1.
|
|
4
|
+
version: 8.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Heinemeier Hansson
|
|
@@ -501,10 +501,10 @@ licenses:
|
|
|
501
501
|
- MIT
|
|
502
502
|
metadata:
|
|
503
503
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
|
504
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.1.
|
|
505
|
-
documentation_uri: https://api.rubyonrails.org/v8.1.
|
|
504
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.1.1/activesupport/CHANGELOG.md
|
|
505
|
+
documentation_uri: https://api.rubyonrails.org/v8.1.1/
|
|
506
506
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
|
507
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.1.
|
|
507
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.1.1/activesupport
|
|
508
508
|
rubygems_mfa_required: 'true'
|
|
509
509
|
rdoc_options:
|
|
510
510
|
- "--encoding"
|