eco-helpers 2.2.4 → 2.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -2
- data/lib/eco/api/organization/tag_tree.rb +1 -1
- data/lib/eco/api/session/config/tagtree.rb +5 -1
- data/lib/eco/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: '0281c78aabb03180573c1089c8c7fbea48f9efcdc9b26ca44ff7027dff1fade4'
|
4
|
+
data.tar.gz: 3c0aed71b46dfa29012ee171492d4ed26a19d7ed3a173ea548f12123a5f52469
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f1e8b821ec4d9a62bb4820e0a4c57afd9cf60af897585b474b89063ea0ce260ebb26dd7c9f09d5d3abcac2ab92f53f0bb41d10fff59228006a3c244b2774197
|
7
|
+
data.tar.gz: ee33bfe26cb343df58e437dc8fb1bdc48c5117171fff82adb54fa6f864205a3de927eeb41689a118943936e9d8c42d8085d69aea3ad23c84045faa0dc142300d
|
data/CHANGELOG.md
CHANGED
@@ -1,12 +1,16 @@
|
|
1
1
|
# Change Log
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
-
## [2.2.
|
4
|
+
## [2.2.6] - 2023-03-xx
|
5
5
|
|
6
6
|
### Added
|
7
7
|
### Changed
|
8
8
|
### Fixed
|
9
|
-
|
9
|
+
|
10
|
+
## [2.2.5] - 2023-03-07
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
- Make it, so it requires to have a locations structure with nodes (raise exception otherwise)
|
10
14
|
|
11
15
|
## [2.2.4] - 2023-03-07
|
12
16
|
|
@@ -12,7 +12,11 @@ module Eco
|
|
12
12
|
@tagtree = Eco::API::Organization::TagTree.new(tree, enviro: enviro)
|
13
13
|
end
|
14
14
|
end
|
15
|
-
@tagtree ||= live_tree(enviro: enviro)
|
15
|
+
@tagtree ||= live_tree(enviro: enviro).tap do |tree|
|
16
|
+
unless tree && !tree.empty?
|
17
|
+
raise "Could not find a locations structure."
|
18
|
+
end
|
19
|
+
end
|
16
20
|
end
|
17
21
|
|
18
22
|
# Among all the locations structures it selects the one with more location nodes
|
data/lib/eco/version.rb
CHANGED