activesupport 6.1.2.1 → 6.1.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/active_support/gem_version.rb +2 -2
- data/lib/active_support/hash_with_indifferent_access.rb +1 -1
- data/lib/active_support/notifications.rb +1 -1
- data/lib/active_support/parameter_filter.rb +1 -1
- data/lib/active_support/time_with_zone.rb +1 -1
- data/lib/active_support/values/time_zone.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0fd56b6e7b594d2bb95b107f35ff63359e6c2d20e57d009a23ac27b53bbaf22a
|
4
|
+
data.tar.gz: 4f2942e1edf853a4096aa0b305cbe79dc1f7cb4e3757e65937e98e8616d26288
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e0f1c3e75c7b2cbe2cc418e037200d219c54308ddf5dbacbc4d48f540f7bbf131fe7bb875550e519f292fcdc5617ef08c231bc82fa89a3f5235bee0ce4ee476
|
7
|
+
data.tar.gz: 4febcb65ed635c37dc00ff243c22b0328523b9c5ff56feab13efc7c4647de1c4dcdf6c4c24fb7b80e22b57367343bfe2a4f994aab1c612b82a37719110e10f54
|
data/CHANGELOG.md
CHANGED
@@ -113,7 +113,7 @@ module ActiveSupport
|
|
113
113
|
# <tt>ActiveSupport::HashWithIndifferentAccess</tt> or a regular +Hash+.
|
114
114
|
# In either case the merge respects the semantics of indifferent access.
|
115
115
|
#
|
116
|
-
# If the argument is a regular hash with keys +:key+ and
|
116
|
+
# If the argument is a regular hash with keys +:key+ and <tt>"key"</tt> only one
|
117
117
|
# of the values end up in the receiver, but which one is unspecified.
|
118
118
|
#
|
119
119
|
# When given a block, the value for duplicated keys will be determined
|
@@ -178,7 +178,7 @@ module ActiveSupport
|
|
178
178
|
#
|
179
179
|
# Subscribers using a regexp or other pattern-matching object will remain subscribed
|
180
180
|
# to all events that match their original pattern, unless those events match a string
|
181
|
-
# passed to
|
181
|
+
# passed to +unsubscribe+:
|
182
182
|
#
|
183
183
|
# subscriber = ActiveSupport::Notifications.subscribe(/render/) { }
|
184
184
|
# ActiveSupport::Notifications.unsubscribe('render_template.action_view')
|
@@ -33,7 +33,7 @@ module ActiveSupport
|
|
33
33
|
#
|
34
34
|
# ==== Options
|
35
35
|
#
|
36
|
-
# * <tt>:mask</tt> - A replaced object when filtered. Defaults to
|
36
|
+
# * <tt>:mask</tt> - A replaced object when filtered. Defaults to <tt>"[FILTERED]"</tt>.
|
37
37
|
def initialize(filters = [], mask: FILTERED)
|
38
38
|
@filters = filters
|
39
39
|
@mask = mask
|
@@ -301,7 +301,7 @@ module ActiveSupport
|
|
301
301
|
alias_method :in, :+
|
302
302
|
|
303
303
|
# Subtracts an interval of time and returns a new TimeWithZone object unless
|
304
|
-
# the other value
|
304
|
+
# the other value +acts_like?+ time. Then it will return a Float of the difference
|
305
305
|
# between the two times that represents the difference between the current
|
306
306
|
# object's time and the +other+ time.
|
307
307
|
#
|
@@ -508,7 +508,7 @@ module ActiveSupport
|
|
508
508
|
# Time#in_time_zone() instead.
|
509
509
|
#
|
510
510
|
# As of tzinfo 2, utc_to_local returns a Time with a non-zero utc_offset.
|
511
|
-
# See the
|
511
|
+
# See the +utc_to_local_returns_utc_offset_times+ config for more info.
|
512
512
|
def utc_to_local(time)
|
513
513
|
tzinfo.utc_to_local(time).yield_self do |t|
|
514
514
|
ActiveSupport.utc_to_local_returns_utc_offset_times ?
|
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.1.
|
4
|
+
version: 6.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-02-
|
11
|
+
date: 2021-02-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -357,11 +357,11 @@ licenses:
|
|
357
357
|
- MIT
|
358
358
|
metadata:
|
359
359
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
360
|
-
changelog_uri: https://github.com/rails/rails/blob/v6.1.
|
361
|
-
documentation_uri: https://api.rubyonrails.org/v6.1.
|
360
|
+
changelog_uri: https://github.com/rails/rails/blob/v6.1.3/activesupport/CHANGELOG.md
|
361
|
+
documentation_uri: https://api.rubyonrails.org/v6.1.3/
|
362
362
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
363
|
-
source_code_uri: https://github.com/rails/rails/tree/v6.1.
|
364
|
-
post_install_message:
|
363
|
+
source_code_uri: https://github.com/rails/rails/tree/v6.1.3/activesupport
|
364
|
+
post_install_message:
|
365
365
|
rdoc_options:
|
366
366
|
- "--encoding"
|
367
367
|
- UTF-8
|
@@ -378,8 +378,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
378
378
|
- !ruby/object:Gem::Version
|
379
379
|
version: '0'
|
380
380
|
requirements: []
|
381
|
-
rubygems_version: 3.
|
382
|
-
signing_key:
|
381
|
+
rubygems_version: 3.2.3
|
382
|
+
signing_key:
|
383
383
|
specification_version: 4
|
384
384
|
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|
385
385
|
Rails framework.
|