activesupport 7.1.5.2 → 7.1.6

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09bc300f052fa4a1c1a29bee21ccaf7062877c5ce16757b7d8cc4bf20acf7bc1'
4
- data.tar.gz: a3b30d8b768d4096d6acd6ca254e07870fe0aab4e32957f007ea7f59ab7d133b
3
+ metadata.gz: e875361eeab3fc8b44e41da0dc2963072317884bb04c4a64ba77853316fc95c9
4
+ data.tar.gz: 95b96e90dfa0da1a97a143a3b85c82d986adc2a0f5c58bc91d5a88fddd18e033
5
5
  SHA512:
6
- metadata.gz: bf7e94d17e454382860a44c9c478890d09fbfd542677c61980697f969aa91114eca05c68871091fd17372f31d77f3328a6bddb30304456693dfe3a65fe4938b5
7
- data.tar.gz: c54bdaf0b3d4aceef11dd2fee14deb7c1f79066f56f5846500b2f2d24e5773470d316630a400a3b57a6c9646454deaaa3ba8e4352fbf0c370132f0bdbb4f8819
6
+ metadata.gz: fd36666bb2d52263f1998f7b8635ef234b0315250016798e5085265a1e0cf9ff73a1a66ebf27743499a6f0953abca2e2b0ee86eb3760510abc3e2a3280d682da
7
+ data.tar.gz: 9c02c4c3f325f4c438482044ba946cc18f7720d53a9b8fad845b80ccf09d37efdb482355adbd24991399cf8f518e90a2813e405e82456a2e0701cd649cdd0dc2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## Rails 7.1.6 (October 28, 2025) ##
2
+
3
+ * No changes.
4
+
5
+
1
6
  ## Rails 7.1.5.2 (August 13, 2025) ##
2
7
 
3
8
  * No changes.
@@ -84,6 +89,25 @@
84
89
 
85
90
  *Jean Boussier*
86
91
 
92
+ * Revert "Fix `ActiveSupport::JSON.encode` to prevent duplicate keys." introduced in 7.1.3
93
+
94
+ If the same key exist in both String and Symbol form, json encoder
95
+ again emits the same key twice. [Reaseon](https://github.com/rails/rails/pull/50489#issuecomment-2123881327)
96
+
97
+ ActiveSupport 7.1.3
98
+ ```ruby
99
+ {a: 1, "a" => 2}.to_json
100
+ # gives: "{\"a\":2}"
101
+ ```
102
+
103
+ ActiveSupport 7.1.4
104
+ ```ruby
105
+ {a: 1, "a" => 2}.to_json
106
+ # gives: "{\"a\":1,\"a\":2}"
107
+ ```
108
+
109
+ *Rafael Mendonça França*
110
+
87
111
 
88
112
  ## Rails 7.1.3.4 (June 04, 2024) ##
89
113
 
@@ -116,6 +140,18 @@
116
140
  If the same key exist in both String and Symbol form it could
117
141
  lead to the same key being emitted twice.
118
142
 
143
+ ActiveSupport 7.1.2
144
+ ```ruby
145
+ {a: 1, "a" => 2}.to_json
146
+ # gives: "{\"a\":1,\"a\":2}"
147
+ ```
148
+
149
+ ActiveSupport 7.1.3
150
+ ```ruby
151
+ {a: 1, "a" => 2}.to_json
152
+ # gives: "{\"a\":2}"
153
+ ```
154
+
119
155
  *Manish Sharma*
120
156
 
121
157
  * Fix `ActiveSupport::Cache::Store#read_multi` when using a cache namespace
@@ -84,7 +84,6 @@ class Class
84
84
  # class_attribute :settings, default: {}
85
85
  def class_attribute(*attrs, instance_accessor: true,
86
86
  instance_reader: instance_accessor, instance_writer: instance_accessor, instance_predicate: true, default: nil)
87
-
88
87
  class_methods, methods = [], []
89
88
  attrs.each do |name|
90
89
  unless name.is_a?(Symbol) || name.is_a?(String)
@@ -9,8 +9,8 @@ module ActiveSupport
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 1
12
- TINY = 5
13
- PRE = "2"
12
+ TINY = 6
13
+ PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
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: 7.1.5.2
4
+ version: 7.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -487,10 +487,10 @@ licenses:
487
487
  - MIT
488
488
  metadata:
489
489
  bug_tracker_uri: https://github.com/rails/rails/issues
490
- changelog_uri: https://github.com/rails/rails/blob/v7.1.5.2/activesupport/CHANGELOG.md
491
- documentation_uri: https://api.rubyonrails.org/v7.1.5.2/
490
+ changelog_uri: https://github.com/rails/rails/blob/v7.1.6/activesupport/CHANGELOG.md
491
+ documentation_uri: https://api.rubyonrails.org/v7.1.6/
492
492
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
493
- source_code_uri: https://github.com/rails/rails/tree/v7.1.5.2/activesupport
493
+ source_code_uri: https://github.com/rails/rails/tree/v7.1.6/activesupport
494
494
  rubygems_mfa_required: 'true'
495
495
  rdoc_options:
496
496
  - "--encoding"