finix 0.13 → 0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/finix.rb +6 -5
- data/lib/finix/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODc0MGI2NjMyODJhZmJkZWYyZDIzODcwNWQzYzEyZmYyODI1YWRjMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzE3MjE0N2E2OGU4ZWI5N2EzZDZjY2E1NjY0MmJlZjE1NWNhOThmZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTM1YTBlYTU0ZTJhMDlkNzU2NTcwN2I5ZjdjMzI1MmYzYTU0YmI5NjRkZjU0
|
10
|
+
MTY4MjYyYzg5NDEyNzYxMWY0MTdmODkzZDE4NjkzMDFiYWJiMTE1NDQzN2Ez
|
11
|
+
OWZlMTIyYzM0MjEwZmUyYmJkZWIwYzY1ZWRjMjhkODg2N2RiYmU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Yjc1MjYyMjI3YWMyYjIzMWVkYjAzNjkyNWY4NGUwNzZlMzhjNTc0Yzk5YWNh
|
14
|
+
MTM5OTZjMWEzZDQ0NzYwZTQzZTc5Mjg5OTg1NDQ1ZjI3ZGI3M2ZhMjIzYTk4
|
15
|
+
MmUxNWM3Nzk5ZGMwNDMzMmFiMGZmODg5ODE4YTgzNzJjNzFlYjY=
|
data/lib/finix.rb
CHANGED
@@ -44,11 +44,12 @@ module Finix
|
|
44
44
|
|
45
45
|
def get_href(cls)
|
46
46
|
href = Finix.hypermedia_registry.key(cls)
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
47
|
+
sps = cls
|
48
|
+
while href.nil?
|
49
|
+
sps = sps.superclass
|
50
|
+
break if sps.nil?
|
51
|
+
clss = Finix::Utils.eval_class cls, sps.name.split('::').last
|
52
|
+
href = Finix.hypermedia_registry.key(clss)
|
52
53
|
end
|
53
54
|
href
|
54
55
|
end
|
data/lib/finix/version.rb
CHANGED