activesupport 7.1.4.2 → 7.1.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0afdb6f94cc9097fd8764d4f0c60f988eec6400e98915fb06caea79ae11c6dd3
4
- data.tar.gz: ee27255782c5fbea00a96191de3ebdf87b08b82d6e80feb94f214735d69966e8
3
+ metadata.gz: fff21dce85b122849485b60d18133395aff9f17f4b04f0ed2cdd0c6e3a5ac89a
4
+ data.tar.gz: f9402bb99435697896e3f5ed40b0b3586d14657df658854386503d7d77b3a523
5
5
  SHA512:
6
- metadata.gz: b08ed34c7bd96d8c9d04cd77f1dbab5c7d486d7a0f3d470baaecbe78d0a6b39495956ab3b8fd65c942909f9a18d532668959bccf7a4ec5386893f2fe70578080
7
- data.tar.gz: 9ad5465ac574bfac3e8862f15b63ee6915c1dda7b9a994215895fbf4e507a996d8e59c9a127b704728fba3580f966e49739a070e00c4e1f55ca3ad32fbc17a1d
6
+ metadata.gz: 17025021f271bbc388d6aea3d141da1069e137b13202443723aad3aa363c14366c6dc134f6f94de92a5f2afaeae737db6e105896e7bf8abf7e150c97235946ba
7
+ data.tar.gz: 6b1eb2037cab8e9a59051cd5181ac5aa7662d205cf096dbd64a39ddcd2844e2e3881471e4c36d325e0db000d2bc2073b771ccecd9c390b7f186c472890a6bcf7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## Rails 7.1.5.1 (December 10, 2024) ##
2
+
3
+ * No changes.
4
+
5
+
6
+ ## Rails 7.1.5 (October 30, 2024) ##
7
+
8
+ * No changes.
9
+
10
+
1
11
  ## Rails 7.1.4.2 (October 23, 2024) ##
2
12
 
3
13
  * No changes.
@@ -113,33 +113,33 @@ module ActiveSupport
113
113
  dispatch { |logger| logger.<<(message) }
114
114
  end
115
115
 
116
- def add(*args, &block)
117
- dispatch { |logger| logger.add(*args, &block) }
116
+ def add(...)
117
+ dispatch { |logger| logger.add(...) }
118
118
  end
119
119
  alias_method :log, :add
120
120
 
121
- def debug(*args, &block)
122
- dispatch { |logger| logger.debug(*args, &block) }
121
+ def debug(...)
122
+ dispatch { |logger| logger.debug(...) }
123
123
  end
124
124
 
125
- def info(*args, &block)
126
- dispatch { |logger| logger.info(*args, &block) }
125
+ def info(...)
126
+ dispatch { |logger| logger.info(...) }
127
127
  end
128
128
 
129
- def warn(*args, &block)
130
- dispatch { |logger| logger.warn(*args, &block) }
129
+ def warn(...)
130
+ dispatch { |logger| logger.warn(...) }
131
131
  end
132
132
 
133
- def error(*args, &block)
134
- dispatch { |logger| logger.error(*args, &block) }
133
+ def error(...)
134
+ dispatch { |logger| logger.error(...) }
135
135
  end
136
136
 
137
- def fatal(*args, &block)
138
- dispatch { |logger| logger.fatal(*args, &block) }
137
+ def fatal(...)
138
+ dispatch { |logger| logger.fatal(...) }
139
139
  end
140
140
 
141
- def unknown(*args, &block)
142
- dispatch { |logger| logger.unknown(*args, &block) }
141
+ def unknown(...)
142
+ dispatch { |logger| logger.unknown(...) }
143
143
  end
144
144
 
145
145
  def formatter=(formatter)
@@ -233,9 +233,11 @@ class Pathname # :nodoc:
233
233
  end
234
234
  end
235
235
 
236
- class IPAddr # :nodoc:
237
- def as_json(options = nil)
238
- to_s
236
+ unless IPAddr.method_defined?(:as_json, false)
237
+ class IPAddr # :nodoc:
238
+ def as_json(options = nil)
239
+ to_s
240
+ end
239
241
  end
240
242
  end
241
243
 
@@ -163,8 +163,8 @@ module ActiveSupport
163
163
  end
164
164
  end
165
165
 
166
- RAILS_GEM_ROOT = File.expand_path("../../../..", __dir__) + "/"
167
- LIB_DIR = RbConfig::CONFIG["libdir"]
166
+ RAILS_GEM_ROOT = File.expand_path("../../../..", __dir__) + "/" # :nodoc:
167
+ LIB_DIR = RbConfig::CONFIG["libdir"] # :nodoc:
168
168
 
169
169
  def ignored_callstack?(path)
170
170
  path.start_with?(RAILS_GEM_ROOT, LIB_DIR)
@@ -9,8 +9,8 @@ module ActiveSupport
9
9
  module VERSION
10
10
  MAJOR = 7
11
11
  MINOR = 1
12
- TINY = 4
13
- PRE = "2"
12
+ TINY = 5
13
+ PRE = "1"
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
16
16
  end
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: 7.1.4.2
4
+ version: 7.1.5.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: 2024-10-23 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -148,6 +148,48 @@ dependencies:
148
148
  - - ">="
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
+ - !ruby/object:Gem::Dependency
152
+ name: logger
153
+ requirement: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: 1.4.2
158
+ type: :runtime
159
+ prerelease: false
160
+ version_requirements: !ruby/object:Gem::Requirement
161
+ requirements:
162
+ - - ">="
163
+ - !ruby/object:Gem::Version
164
+ version: 1.4.2
165
+ - !ruby/object:Gem::Dependency
166
+ name: securerandom
167
+ requirement: !ruby/object:Gem::Requirement
168
+ requirements:
169
+ - - ">="
170
+ - !ruby/object:Gem::Version
171
+ version: '0.3'
172
+ type: :runtime
173
+ prerelease: false
174
+ version_requirements: !ruby/object:Gem::Requirement
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ version: '0.3'
179
+ - !ruby/object:Gem::Dependency
180
+ name: benchmark
181
+ requirement: !ruby/object:Gem::Requirement
182
+ requirements:
183
+ - - ">="
184
+ - !ruby/object:Gem::Version
185
+ version: '0.3'
186
+ type: :runtime
187
+ prerelease: false
188
+ version_requirements: !ruby/object:Gem::Requirement
189
+ requirements:
190
+ - - ">="
191
+ - !ruby/object:Gem::Version
192
+ version: '0.3'
151
193
  description: A toolkit of support libraries and Ruby core extensions extracted from
152
194
  the Rails framework. Rich support for multibyte strings, internationalization, time
153
195
  zones, and testing.
@@ -446,10 +488,10 @@ licenses:
446
488
  - MIT
447
489
  metadata:
448
490
  bug_tracker_uri: https://github.com/rails/rails/issues
449
- changelog_uri: https://github.com/rails/rails/blob/v7.1.4.2/activesupport/CHANGELOG.md
450
- documentation_uri: https://api.rubyonrails.org/v7.1.4.2/
491
+ changelog_uri: https://github.com/rails/rails/blob/v7.1.5.1/activesupport/CHANGELOG.md
492
+ documentation_uri: https://api.rubyonrails.org/v7.1.5.1/
451
493
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
452
- source_code_uri: https://github.com/rails/rails/tree/v7.1.4.2/activesupport
494
+ source_code_uri: https://github.com/rails/rails/tree/v7.1.5.1/activesupport
453
495
  rubygems_mfa_required: 'true'
454
496
  post_install_message:
455
497
  rdoc_options:
@@ -468,7 +510,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
468
510
  - !ruby/object:Gem::Version
469
511
  version: '0'
470
512
  requirements: []
471
- rubygems_version: 3.5.16
513
+ rubygems_version: 3.5.22
472
514
  signing_key:
473
515
  specification_version: 4
474
516
  summary: A toolkit of support libraries and Ruby core extensions extracted from the