activesupport 4.1.7.1 → 4.1.8
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.
Potentially problematic release.
This version of activesupport might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/active_support/core_ext/object/duplicable.rb +10 -0
- data/lib/active_support/gem_version.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c8655801a35d2df66b55737a04fb9dc0e405294b
|
4
|
+
data.tar.gz: f4c0ccac5d5fdccea1f59f17630fd19c03f87b34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 069c37c55be96be2eac5c4ae1f12ae5fa9d2dafd8d269b173011472b2df24f506161dc3924d99ae595a259dcd1080cdc4127158a4d65f8ee5a62c25436a27729
|
7
|
+
data.tar.gz: 290297efd0f01973407d676fe641551e869a399feb1beeac6581a3fc7814e2945b71ce86d4cb78be78bbfed90df4e75a0bfab91d3ca2bdcc3806351824d8def6
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
* `Method` objects now report themselves as not `duplicable?`. This allows
|
2
|
+
hashes and arrays containing `Method` objects to be `deep_dup`ed.
|
3
|
+
|
4
|
+
*Peter Jaros*
|
5
|
+
|
6
|
+
|
1
7
|
## Rails 4.1.6 (September 11, 2014) ##
|
2
8
|
|
3
9
|
* Fix DateTime comparison with DateTime::Infinity object.
|
@@ -88,3 +88,13 @@ class BigDecimal
|
|
88
88
|
# can't dup, so use superclass implementation
|
89
89
|
end
|
90
90
|
end
|
91
|
+
|
92
|
+
class Method
|
93
|
+
# Methods are not duplicable:
|
94
|
+
#
|
95
|
+
# method(:puts).duplicable? # => false
|
96
|
+
# method(:puts).dup # => TypeError: allocator undefined for Method
|
97
|
+
def duplicable?
|
98
|
+
false
|
99
|
+
end
|
100
|
+
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: 4.1.
|
4
|
+
version: 4.1.8
|
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: 2014-11-
|
11
|
+
date: 2014-11-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: i18n
|
@@ -336,7 +336,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
336
336
|
version: '0'
|
337
337
|
requirements: []
|
338
338
|
rubyforge_project:
|
339
|
-
rubygems_version: 2.
|
339
|
+
rubygems_version: 2.4.2
|
340
340
|
signing_key:
|
341
341
|
specification_version: 4
|
342
342
|
summary: A toolkit of support libraries and Ruby core extensions extracted from the
|