activefacts-api 1.9.4 → 1.9.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/activefacts/api/version.rb +1 -1
- data/lib/activefacts/api/vocabulary.rb +2 -9
- 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: 2eb04777181f27abd89426727271654e04920e13
|
4
|
+
data.tar.gz: e6aa614c3625cd3d91cfecf290769e4f6af00a04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f80be8ab326dfa421361c4d2af569ec717e37d001b14a3167a91e64cbb8df5b75d2a446b40678441f94e1a126b03a277795e75daccaacf90bdb3864b16d3ee53
|
7
|
+
data.tar.gz: 473e27c7bbeb18a3c04519208f51eabd9e51e5366bc603a2d40f36946348a37e412f8bcf4d490c14b464227aff6bfd5ff0bf5dfb74087f7fcc9e948401d6c787
|
@@ -32,15 +32,8 @@ module ActiveFacts
|
|
32
32
|
__bind(camel)
|
33
33
|
c
|
34
34
|
else
|
35
|
-
|
36
|
-
|
37
|
-
const_get(camel)
|
38
|
-
rescue NameError
|
39
|
-
nil
|
40
|
-
end
|
41
|
-
else
|
42
|
-
nil
|
43
|
-
end
|
35
|
+
klass = const_get(camel) rescue nil # NameError if undefined
|
36
|
+
klass && klass.modspace == self ? klass : nil
|
44
37
|
end
|
45
38
|
end
|
46
39
|
|