foobara-util 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/foobara/util/class.rb +1 -3
- data/lib/foobara/util/version.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: 4590da92837dec116a87f379edc8929c2de023e4ce5521f0eb495f8ffdb54b38
|
4
|
+
data.tar.gz: 90238da06830e8625f57bcdd2236f09f9599f285c309e141a39f8046064507c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1de15fd9472a45496486e95887bbdbef75cad6f7d0331344f8582ddcdbcf4818c598bb48c806356e0859b8fdec9f653e2529ab90ecb3efe56898d26efbd785e4
|
7
|
+
data.tar.gz: 5b666e62ed4ad891c0410c0b86425da63bbd60b035ac33a675db0f14d8bc83c4e1d1fed0f8c5d0d2079b7687f78a96dbd5e185b3833ebc7e59a2b2e85a4d6cd2
|
data/CHANGELOG.md
CHANGED
data/lib/foobara/util/class.rb
CHANGED
@@ -34,9 +34,7 @@ module Foobara
|
|
34
34
|
if klass.const_defined?(constant)
|
35
35
|
klass.const_get(constant)
|
36
36
|
else
|
37
|
-
|
38
|
-
find_constant_through_class_hierarchy(constant, klass.superclass)
|
39
|
-
end
|
37
|
+
find_constant_through_class_hierarchy(klass.superclass, constant)
|
40
38
|
end
|
41
39
|
end
|
42
40
|
end
|
data/lib/foobara/util/version.rb
CHANGED