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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 37399f2c725f273fca2b28356aafdc7fec1b1c968858b5a453c1793c8f008638
4
- data.tar.gz: ef07bb2344d914761632487d27ebc730888184782b2922658b68c0352f396943
3
+ metadata.gz: ea259f17f219097dc413cc092def02ecaa8a86a886538a51722cc7d5715afcfa
4
+ data.tar.gz: 2db2a33e138ac776b75bafcec7b7d6ac7572a6cbf6d8aebcfd812977fced5162
5
5
  SHA512:
6
- metadata.gz: ef0e5f4ebed7940c87eaf00ac2a71c62323bacb598dccca39366c84c0d7ca0847427a89e1d696d6ac65369324cd84fae06d551f7e7095b79cbf76a06d7515741
7
- data.tar.gz: d2e0b25b0f01a8788ce263c441e3bddd2c674f941928c92aabec59da45db922c6dea9f27f01fab1cfb8fb4d7802da1032f897ac0fd17f4c3f537d4f4ab8204c9
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
- Object.send(:remove_const, :Psych) if defined?(::Psych)
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.1".freeze
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yeptris
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9.1
4
+ version: 0.1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ribose Inc.