y_support 2.0.36 → 2.0.37
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/y_support/core_ext/hash/misc.rb +1 -1
- data/lib/y_support/version.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddacce9c5fd0b2eb92dcef7609a19850f0629e9a
|
4
|
+
data.tar.gz: 20ca6cdc3790adc527c1099d69500782c79c736c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca9c6bb907c4e95770de4e80be69cf24440c1b5591be2eb40858afb3df4a2e2c6f27327eef940b7075388864ca56ed46119b4c2077835d9d43f0d19821ab6c6c
|
7
|
+
data.tar.gz: 41613543c0aa5459a278cfa78d9456261ae28f6fd67ab36a7c58394a4d64c71e627091c8dde10c193553c594743939e202766354cbd5dea9e4e7bffe7597f64f
|
@@ -17,7 +17,7 @@ class Hash
|
|
17
17
|
# would ensue.
|
18
18
|
singleton_class.class_exec { remove_method :method_added }
|
19
19
|
# And let's redefine the +:slice+ method now:
|
20
|
-
warn "Warning: Attempt to redefine Hash##{sym} occured, reverting."
|
20
|
+
warn "Warning: Attempt to redefine Hash##{sym} occured, reverting." if YSupport::DEBUG
|
21
21
|
|
22
22
|
class_exec do
|
23
23
|
# A bit like Array#slice, but only takes 1 argument, which is either
|
data/lib/y_support/version.rb
CHANGED