yeptris 0.1.9.1 → 0.1.9.2
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.
- checksums.yaml +4 -4
- data/lib/yeptris/psych.rb +4 -1
- data/lib/yeptris.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea259f17f219097dc413cc092def02ecaa8a86a886538a51722cc7d5715afcfa
|
|
4
|
+
data.tar.gz: 2db2a33e138ac776b75bafcec7b7d6ac7572a6cbf6d8aebcfd812977fced5162
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: abe427a762cd441ec136fca0a8e299cb46c42cb14899f25664b76921fdd90c569cb0d5e58e285da02b2ac73a788119077c25718b06cace1378a95e652a4636a7
|
|
7
|
+
data.tar.gz: 1eb68fd47036d19b5ede3f380c9f97eff1061fd3a157df355caa75e52594a84c747fcaa0ae26f444f86a794bbc1792bb501ad89337d5e0c46e72e7170e9cc788
|
data/lib/yeptris/psych.rb
CHANGED
|
@@ -326,5 +326,8 @@ if defined?(::Psych) && !::Psych.equal?(Yeptris::Psych) &&
|
|
|
326
326
|
!Yeptris::Psych.const_defined?(:ORIGINAL, false)
|
|
327
327
|
Yeptris::Psych.const_set(:ORIGINAL, ::Psych)
|
|
328
328
|
end
|
|
329
|
-
|
|
329
|
+
# class_eval reaches Module-private methods WITHOUT send (the law:
|
|
330
|
+
# no send to private methods); remove_const has no public form, and
|
|
331
|
+
# the rebind is this namespace's whole purpose
|
|
332
|
+
Object.class_eval { remove_const(:Psych) } if defined?(::Psych)
|
|
330
333
|
::Psych = Yeptris::Psych
|
data/lib/yeptris.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
module Yeptris
|
|
4
4
|
# The gem's version lives in the parent namespace's file — the last
|
|
5
5
|
# internal require (yeptris/version) retired with it.
|
|
6
|
-
VERSION = "0.1.9.
|
|
6
|
+
VERSION = "0.1.9.2".freeze
|
|
7
7
|
# The error hierarchy lives in THIS file (the parent namespace's
|
|
8
8
|
# own file): nested constants do not trigger a parent-constant
|
|
9
9
|
# autoload, and the law forbids internal requires — defining the
|