wedge 0.1.68 → 0.1.69
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wedge/plugins/ability_list.rb +2 -2
- data/lib/wedge/version.rb +1 -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: 8b393be5d6b9fb08d4b7927f79d3eefb7443a5fd
|
4
|
+
data.tar.gz: 0da2d3fda1c4e8fc758eed7749ffe6d52eeb6ece
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26014ffe567a2e8c07f211b046b2bc4a23eeda5fb800a8450d62ae7decb6929fd18bdb06f633172ef0c9124c6f6abc1e0eaa1118736d99fc11db8664e201b120
|
7
|
+
data.tar.gz: 7e14a98f0ac52bd81a97eb338d737b4704eb4e73793f5ac3772ce28cd3f83d0cccd09f7be09293e4627dc181034504b53c4d92e4c3ebbfc244ae69692b838b61
|
@@ -71,7 +71,7 @@ class Wedge
|
|
71
71
|
private
|
72
72
|
|
73
73
|
def get_class_name(klass)
|
74
|
-
if !klass.is_a?(Symbol) && klass.
|
74
|
+
if !klass.is_a?(Symbol) && klass.respond_to?(:original_class_name)
|
75
75
|
klass.original_class_name
|
76
76
|
else
|
77
77
|
[NilClass, Symbol].include?(klass.class) ? klass : klass.name
|
@@ -79,7 +79,7 @@ class Wedge
|
|
79
79
|
end
|
80
80
|
|
81
81
|
def get_class(object)
|
82
|
-
if object.class.
|
82
|
+
if object.class.respond_to?(:original_class)
|
83
83
|
object.class.original_class
|
84
84
|
else
|
85
85
|
[NilClass, Symbol, Class].include?(object.class) ? object : object.class
|
data/lib/wedge/version.rb
CHANGED