ree_lib 1.0.108 → 1.0.109
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ree_lib/packages/ree_dto/package/ree_dto/dto/dto_collection.rb +0 -10
- data/lib/ree_lib/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: f2c475acec8b61f3686477e9ae4643427b3f956c8abb2ae8fe6c4d8e8ebb2c82
|
4
|
+
data.tar.gz: 0a2138c853bd35f2340a9469b960e0c2cad3f89e4fdc4662692661048c9a3638
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bb6bab53e49f860719f7b342df2500a16f5ce97e431cc2e96d04df39bdc749521a5f639f4d0d6f6b3068ed840e35adaa5144847805b8a5254d12e3969f36c566
|
7
|
+
data.tar.gz: 1bb7d488e89e1c5824012f6e1cde805bcc1d5bd095515c0e90608fca7995884115b2053fd6527306c0d6476884601c2d446b445260cabc46229e9e73cc8d11e4
|
data/Gemfile.lock
CHANGED
@@ -12,21 +12,11 @@ class ReeDto::DtoCollection
|
|
12
12
|
@parent_class = parent_class
|
13
13
|
@contract = contract
|
14
14
|
@name = name
|
15
|
-
@list = nil
|
16
|
-
end
|
17
|
-
|
18
|
-
contract None => nil
|
19
|
-
def reset
|
20
15
|
@list = []
|
21
|
-
nil
|
22
16
|
end
|
23
17
|
|
24
18
|
contract Optblock => Any
|
25
19
|
def each(&block)
|
26
|
-
if @list.nil?
|
27
|
-
raise LoadError.new("collection :#{@name} for #{@parent_class} is not loaded")
|
28
|
-
end
|
29
|
-
|
30
20
|
@list.each(&block)
|
31
21
|
end
|
32
22
|
|
data/lib/ree_lib/version.rb
CHANGED