RubyGems
npm
Organizations
Log in
Sign up
RubyGems
psych_shield
Versions diffs
0.0.1 → 0.0.2
psych_shield 0.0.1 → 0.0.2
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/psych_shield.rb
+1
-1
metadata
+1
-1
data/lib/psych_shield.rb
CHANGED
@@ -33,7 +33,7 @@ class PsychShield
33
33
34
34
def self.allowed?(o)
35
35
res = @@allowed_objects.include?(o.class.to_s)
36
-
@
callback.call(o.class.to_s, res) if
@
callback
36
+
@@
callback.call(o.class.to_s, res) if
@@
callback
37
37
res
38
38
end
39
39
metadata
CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: psych_shield
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.0.
1
4
+
version: 0.0.
2
5
5
prerelease:
6
6
platform: ruby
7
7
authors: