horza 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/horza/adapters/active_record.rb +1 -1
- data/lib/horza/entities.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05dd9c81a7128460e1e4e68fc2a7214e1f8b28eb
|
4
|
+
data.tar.gz: 878cfc3f40041b1e01bf468665a0713d938a065c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: daf5afc2b94e15a5942eae34bf9fb2b2eda269d72af382142d3c6b824b2f2984aa2c1f3d7bd82de616341467ead3b0224b601dec9503cff756bb96cd0ea8d291
|
7
|
+
data.tar.gz: 2169c668e3d96fff261200af72127bcd9b145e6490c169bf8542a1b8a97b06a08918f1f53aae560c383380acaa69b468e8a33c7b5bbf5ee1878ee3be8987235e
|
@@ -75,7 +75,7 @@ module Horza
|
|
75
75
|
result = walk_family_tree(base, options)
|
76
76
|
return nil unless result
|
77
77
|
|
78
|
-
|
78
|
+
options.target.to_s.plural? ? entity_class(query(options, result)) : entity_class(result.attributes)
|
79
79
|
end
|
80
80
|
end
|
81
81
|
|
data/lib/horza/entities.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: horza
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Blake Turner
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|