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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1e6dc8b42bec23096207cdcaca593ca899cee71
4
- data.tar.gz: 9b8bc624ed6d154e5c65bd29c2f984d3ea1531cb
3
+ metadata.gz: ddacce9c5fd0b2eb92dcef7609a19850f0629e9a
4
+ data.tar.gz: 20ca6cdc3790adc527c1099d69500782c79c736c
5
5
  SHA512:
6
- metadata.gz: 573fcc71cf0c740e073f852a3d6b4753e30472924f632b6e43a6689fa75be43936e9ebceef8937da3bfd21e44d4a16932ee6ee5560aa5ecc8ce250509934de6c
7
- data.tar.gz: 5297cc0cb03c1071583380edf60c428cdb8b00b0ca277a9c9876b708b7f76f21247f33bb343872028c7fe3f9876e189c0147c347f00abc8c96b8e8fd2a208d12
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
@@ -1,3 +1,4 @@
1
1
  module YSupport
2
- VERSION = "2.0.36"
2
+ VERSION = "2.0.37"
3
+ DEBUG = false
3
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: y_support
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.36
4
+ version: 2.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - boris