ree 1.0.41 → 1.0.42

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: c3718d079d89d559261699484fcf0386395bcd8f9aad0faa9aaa81dbd77f8b22
4
- data.tar.gz: f2ce896f83ea0f670a5a17279f84abbab3bbcb296cb90c58e4b367d827deed8a
3
+ metadata.gz: 74fdedebcc116bb5764720b16d3baa21c017a6a64a815a9df5c9c249dab901be
4
+ data.tar.gz: d752901505d14e4964aaaf606773e84f1464a8028f87d1d4d0a7bd6bb3bf3853
5
5
  SHA512:
6
- metadata.gz: 368cbacf27970b8df6f0e4f7e527f2ef551b09660714464a33fb788b54672ab7b09ea22863e9ddd9c0ef2f5e44bface5bcfe0b1ea74d70d2cca60db1b62fcf43
7
- data.tar.gz: 011c48a7763e2fe8ca22830322402d41af35bd78e1794b11f320808800fd610a4d01ba35de4df0903353bfcc1b261b88991cf58caef71d6dfa6ae954417f4d07
6
+ metadata.gz: 2f4c932846abc13daff98dca10dc79082f1837b232b09720ad24c9898dfc96ce3f245cafbe597dc42ecebae6e8da419a5977b84de932c644d09b7adf5e3799a4
7
+ data.tar.gz: 1ad6fc938f287e24822b7d86dabbe6ca361e8d3ba9e0d2f6bb8f72dd1031fc8f056c97feb5946a67d2e54e289c53516220328eb4e8cafbfa244069cfd77f2900
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ree (1.0.41)
4
+ ree (1.0.42)
5
5
  commander (~> 5.0.0)
6
6
 
7
7
  GEM
@@ -35,8 +35,9 @@ class Ree::PackageLoader
35
35
  private
36
36
 
37
37
  def recursively_load_package(name, loaded_packages)
38
- @loaded_packages[name] = true
39
38
  package = @packages_store.get(name)
39
+ return package if @loaded_packages[name]
40
+ @loaded_packages[name] = package
40
41
 
41
42
  if !package
42
43
  raise Ree::Error.new(
@@ -89,7 +90,6 @@ class Ree::PackageLoader
89
90
  end
90
91
 
91
92
  package.set_schema_loaded
92
-
93
- @loaded_packages[name] = package
93
+ package
94
94
  end
95
95
  end
data/lib/ree/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ree
4
- VERSION = "1.0.41"
4
+ VERSION = "1.0.42"
5
5
  end
data/lib/ree.rb CHANGED
@@ -11,7 +11,6 @@ module Ree
11
11
  autoload :CLI, 'ree/cli'
12
12
  autoload :Container, 'ree/container'
13
13
  autoload :Contracts, 'ree/contracts'
14
- autoload :DomainError, 'ree/dsl/domain_error'
15
14
  autoload :Error, 'ree/error'
16
15
  autoload :ErrorDsl, 'ree/dsl/error_dsl'
17
16
  autoload :FnDSL, 'ree/fn_dsl'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ree
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.41
4
+ version: 1.0.42
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruslan Gatiyatov
@@ -140,7 +140,6 @@ files:
140
140
  - lib/ree/core/packages_store.rb
141
141
  - lib/ree/core/path_helper.rb
142
142
  - lib/ree/dsl/build_package_dsl.rb
143
- - lib/ree/dsl/domain_error.rb
144
143
  - lib/ree/dsl/error_dsl.rb
145
144
  - lib/ree/dsl/import_dsl.rb
146
145
  - lib/ree/dsl/link_import_builder.rb
@@ -1,4 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- class Ree::DomainError < StandardError
4
- end