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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 896dcde182ff4343261aa23d3973237260f81e82b9a9a349b7c93f429737fef3
4
- data.tar.gz: 1cf94f98559f130796b3ac6e66c11071d6cc47fc17f8d6f2ab5792e881c6324b
3
+ metadata.gz: f2c475acec8b61f3686477e9ae4643427b3f956c8abb2ae8fe6c4d8e8ebb2c82
4
+ data.tar.gz: 0a2138c853bd35f2340a9469b960e0c2cad3f89e4fdc4662692661048c9a3638
5
5
  SHA512:
6
- metadata.gz: 8827e41de3987b8bf0bbbf8f0178e3612f4ad2303fbce7375510256fcb123ea7432c5cbc5325e8833efe872b8ee9604b2ba8e4237707f539250faca86bb27ab1
7
- data.tar.gz: 1ab05f373d35931c0750355b4c9fe652e133bc75583a363ebc17973f640d848dc7baba1517d6ed43820136ef0bf0e9957880a0713d72e4e0405f0cc6d433e363
6
+ metadata.gz: bb6bab53e49f860719f7b342df2500a16f5ce97e431cc2e96d04df39bdc749521a5f639f4d0d6f6b3068ed840e35adaa5144847805b8a5254d12e3969f36c566
7
+ data.tar.gz: 1bb7d488e89e1c5824012f6e1cde805bcc1d5bd095515c0e90608fca7995884115b2053fd6527306c0d6476884601c2d446b445260cabc46229e9e73cc8d11e4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ree_lib (1.0.108)
4
+ ree_lib (1.0.109)
5
5
  bigdecimal (~> 3.1.6)
6
6
  binding_of_caller (~> 1.0.0)
7
7
  i18n (~> 1.14.1)
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReeLib
4
- VERSION = "1.0.108"
4
+ VERSION = "1.0.109"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ree_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.108
4
+ version: 1.0.109
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruslan Gatiyatov