ethos 0.2.0.beta7 → 0.2.0.beta8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ethos/collection.rb +6 -0
- data/lib/ethos/version.rb +1 -1
- data/spec/ethos/entity.rb +10 -0
- 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: 21a639ff006e2a991e8510d10824323f5fb9bd5b
|
4
|
+
data.tar.gz: 8a0ae3f45e616db8f6999b807dd0a771a11b5bdb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51cb2d833989754a23dd37c5c8e6d207d653e87ea53777a7b48fa5834632c8d313ccf7dd2a4a5f98cddf9a69d3506ac2c997d7c48dac830e360839079ccc8bb5
|
7
|
+
data.tar.gz: 982e1e65dca7041cb4723ea4f542e906d4d34111b2c6a49d6798b0056dd5fda081dcb6e12557428096f5777584c42f3fa9b6a63d5a9b8abb4a7f9e18e3b39a51
|
data/lib/ethos/collection.rb
CHANGED
data/lib/ethos/version.rb
CHANGED
data/spec/ethos/entity.rb
CHANGED
@@ -167,6 +167,16 @@ scope do
|
|
167
167
|
|
168
168
|
asserts(entity.children[1]) == expected
|
169
169
|
end
|
170
|
+
|
171
|
+
spec do
|
172
|
+
names = []
|
173
|
+
|
174
|
+
entity.children.each do |child|
|
175
|
+
names << child.name
|
176
|
+
end
|
177
|
+
|
178
|
+
asserts(names) == ['Child 1', 'Child 2']
|
179
|
+
end
|
170
180
|
end
|
171
181
|
end
|
172
182
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ethos
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.beta8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erol Fornoles
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03-
|
11
|
+
date: 2015-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|