activesupport 8.0.0.rc1 → 8.0.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/active_support/core_ext/object/json.rb +5 -3
- data/lib/active_support/core_ext/string/multibyte.rb +1 -1
- data/lib/active_support/core_ext/time/zones.rb +1 -1
- data/lib/active_support/gem_version.rb +1 -1
- data/lib/active_support/time_with_zone.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 309b3f63331379742ec341f945baf1c69c983363557239d775f3399757dfa0da
|
4
|
+
data.tar.gz: fb2e94747889b385ac5746a45da459af1af4117e881ea89e1e6d7d017bea26e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 73cd2ab3d7fa8a743e28d7f79fde788233f3ca16ed3de1fe270879d1d4b94d839925c4b55d234daa8fdfa2b5b9308547e1a88cff669578b758b35eb1a9a9549d
|
7
|
+
data.tar.gz: 2a485b4d5c0de834e0b30f850f556139800d521525c5653130f05e9313f770ff1066f5464995570fcff00cd5c358d8264d454d48b7f279bd1b12f3259c268487
|
data/CHANGELOG.md
CHANGED
@@ -239,9 +239,11 @@ class Pathname # :nodoc:
|
|
239
239
|
end
|
240
240
|
end
|
241
241
|
|
242
|
-
|
243
|
-
|
244
|
-
|
242
|
+
unless IPAddr.method_defined?(:as_json, false)
|
243
|
+
class IPAddr # :nodoc:
|
244
|
+
def as_json(options = nil)
|
245
|
+
to_s
|
246
|
+
end
|
245
247
|
end
|
246
248
|
end
|
247
249
|
|
@@ -19,7 +19,7 @@ class String
|
|
19
19
|
# >> "lj".upcase
|
20
20
|
# => "LJ"
|
21
21
|
#
|
22
|
-
# == Method chaining
|
22
|
+
# == \Method chaining
|
23
23
|
#
|
24
24
|
# All the methods on the Chars proxy which normally return a string will return a Chars object. This allows
|
25
25
|
# method chaining on the result of any of these methods.
|
@@ -20,7 +20,7 @@ class Time
|
|
20
20
|
# This method accepts any of the following:
|
21
21
|
#
|
22
22
|
# * A \Rails TimeZone object.
|
23
|
-
# * An identifier for a \Rails TimeZone object (e.g., "Eastern Time (US & Canada)", <tt>-5.hours</tt>).
|
23
|
+
# * An identifier for a \Rails TimeZone object (e.g., "Eastern \Time (US & Canada)", <tt>-5.hours</tt>).
|
24
24
|
# * A +TZInfo::Timezone+ object.
|
25
25
|
# * An identifier for a +TZInfo::Timezone+ object (e.g., "America/New_York").
|
26
26
|
#
|
@@ -85,7 +85,7 @@ module ActiveSupport
|
|
85
85
|
end
|
86
86
|
alias_method :getlocal, :localtime
|
87
87
|
|
88
|
-
# Returns true if the current time is within Daylight Savings Time for the
|
88
|
+
# Returns true if the current time is within Daylight Savings \Time for the
|
89
89
|
# specified time zone.
|
90
90
|
#
|
91
91
|
# Time.zone = 'Eastern Time (US & Canada)' # => 'Eastern Time (US & Canada)'
|
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: 8.0.0.
|
4
|
+
version: 8.0.0.rc2
|
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-
|
11
|
+
date: 2024-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -495,10 +495,10 @@ licenses:
|
|
495
495
|
- MIT
|
496
496
|
metadata:
|
497
497
|
bug_tracker_uri: https://github.com/rails/rails/issues
|
498
|
-
changelog_uri: https://github.com/rails/rails/blob/v8.0.0.
|
499
|
-
documentation_uri: https://api.rubyonrails.org/v8.0.0.
|
498
|
+
changelog_uri: https://github.com/rails/rails/blob/v8.0.0.rc2/activesupport/CHANGELOG.md
|
499
|
+
documentation_uri: https://api.rubyonrails.org/v8.0.0.rc2/
|
500
500
|
mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
|
501
|
-
source_code_uri: https://github.com/rails/rails/tree/v8.0.0.
|
501
|
+
source_code_uri: https://github.com/rails/rails/tree/v8.0.0.rc2/activesupport
|
502
502
|
rubygems_mfa_required: 'true'
|
503
503
|
post_install_message:
|
504
504
|
rdoc_options:
|