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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ree/core/package_loader.rb +3 -3
- data/lib/ree/version.rb +1 -1
- data/lib/ree.rb +0 -1
- metadata +1 -2
- data/lib/ree/dsl/domain_error.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74fdedebcc116bb5764720b16d3baa21c017a6a64a815a9df5c9c249dab901be
|
4
|
+
data.tar.gz: d752901505d14e4964aaaf606773e84f1464a8028f87d1d4d0a7bd6bb3bf3853
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f4c932846abc13daff98dca10dc79082f1837b232b09720ad24c9898dfc96ce3f245cafbe597dc42ecebae6e8da419a5977b84de932c644d09b7adf5e3799a4
|
7
|
+
data.tar.gz: 1ad6fc938f287e24822b7d86dabbe6ca361e8d3ba9e0d2f6bb8f72dd1031fc8f056c97feb5946a67d2e54e289c53516220328eb4e8cafbfa244069cfd77f2900
|
data/Gemfile.lock
CHANGED
@@ -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
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.
|
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
|
data/lib/ree/dsl/domain_error.rb
DELETED