activesupport 8.1.0.rc1 → 8.1.0
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 +1 -3
- data/lib/active_support/configurable.rb +6 -0
- data/lib/active_support/gem_version.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: 8e2e34de82e59790b784a08b2471fa7427da0b1642763bba5904ad1aa6ad45a8
|
4
|
+
data.tar.gz: fadad2b6a958becb7cc187251643463d43127d28af9098631050c4b368079dcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1d545e02442de9422d3b62f261fdba69bbf9aaa95e2f8138a62493dd090397a163841044b5fb538a1e1be2ab70a464e51a7eb3ee56f12f778ecb7cc681ea6dab
|
7
|
+
data.tar.gz: d6de04f518b4802721210693b496f28ac80d16f3d7aa78bedeb007c4c850d0084d532a8b696b079f41412e274e5e29ff3644b95adfbf861f6852cfc0675ac516
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
## Rails 8.1.0
|
1
|
+
## Rails 8.1.0 (October 22, 2025) ##
|
2
2
|
|
3
3
|
* Remove deprecated passing a Time object to `Time#since`.
|
4
4
|
|
@@ -89,8 +89,6 @@
|
|
89
89
|
|
90
90
|
*Jan Grodowski*
|
91
91
|
|
92
|
-
## Rails 8.1.0.beta1 (September 04, 2025) ##
|
93
|
-
|
94
92
|
* Add `ActiveSupport::Cache::Store#namespace=` and `#namespace`.
|
95
93
|
|
96
94
|
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
|
|
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.0
|
4
|
+
version: 8.1.0
|
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.0
|
505
|
-
documentation_uri: https://api.rubyonrails.org/v8.1.0
|
504
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.1.0/activesupport/CHANGELOG.md
|
505
|
+
documentation_uri: https://api.rubyonrails.org/v8.1.0/
|
506
506
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
507
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.1.0
|
507
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.1.0/activesupport
|
508
508
|
rubygems_mfa_required: 'true'
|
509
509
|
rdoc_options:
|
510
510
|
- "--encoding"
|