eco-helpers 2.2.3 → 2.2.4

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: ac9d8f190b56ad971ec86e7c51be2d8bce759b7769e11065c7a61e4b26e2c5f2
4
- data.tar.gz: b4a0de11bae2d18e4156e4904a5ca051d070c08e8c3c213749ac83acaa326059
3
+ metadata.gz: 22b18f6a77dccb77c810944846f1fdc470e0ee54255b2b72b0f1865d9d3b556c
4
+ data.tar.gz: 5cd2157a4feeb673598608ce04e8e8eee26d75fd7d8e58ee7f51683367a68ad3
5
5
  SHA512:
6
- metadata.gz: 19cfac22cebdb7a601879a9ce3c6a897c424dceeca2e42c65d8632dcdadd7c49fe239daab17926ae6531e87fe03ca962a42cf0bc815c29c8cf24d8cbbd2fbe73
7
- data.tar.gz: 1912c842a4f517f1977024b7337dca4ab648eb77e4d6b30ab5c28fdf1d2381e6e851107d4b1a6693e603133c70b7dd231861ab78d70d0fce5cdcbdc4ed7d6b9c
6
+ metadata.gz: 32c089f361f91e2f411659150d3345717b700a693962fad99ecdd1c9311daeb8d30f78d706bb6335a67e8617493d22335808146d562da531c1c9bce98cc94b9a
7
+ data.tar.gz: c9967613a369e8672cded50133b4eb7f422f801f9b6a879e82918ec71eaa3d8d6b9798ced776d70bdc30416cf81d558b45e12c799258dfaaeffc2e06a05547a4
data/CHANGELOG.md CHANGED
@@ -1,11 +1,23 @@
1
1
  # Change Log
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
- ## [2.2.3] - 2023-02-xx
4
+ ## [2.2.5] - 2023-03-xx
5
+
6
+ ### Added
7
+ ### Changed
8
+ ### Fixed
9
+ - Logger object when logging from config
10
+
11
+ ## [2.2.4] - 2023-03-07
12
+
13
+ ### Fixed
14
+ - Logger object when logging from config
15
+
16
+ ## [2.2.3] - 2023-03-07
5
17
 
6
18
  ### Added
7
19
  - Logger info for live tree selected.
8
-
20
+
9
21
  ### Changed
10
22
  - `Eco::API::Common::People::DefaultParsers::PolicyGroupsParser`
11
23
  - Should warn of unknown policy groups
@@ -38,10 +38,6 @@ module Eco
38
38
  config.apis
39
39
  end
40
40
 
41
- def logger
42
- config.logger
43
- end
44
-
45
41
  def clone(config:)
46
42
  keys.each_with_object(self.class.new(config: config)) do |key, cnf|
47
43
  begin
@@ -24,9 +24,7 @@ module Eco
24
24
  end.max do |a,b|
25
25
  a.count <=> b.count
26
26
  end.tap do |tree|
27
- if tree
28
- logger.info("Live tree in use: '#{tree.name}'")
29
- end
27
+ session_logger.info("Using LIVE LOCATIONS Structure: '#{tree.name}'") if tree
30
28
  end
31
29
  end
32
30
 
@@ -47,6 +45,16 @@ module Eco
47
45
  end
48
46
  end
49
47
  end
48
+
49
+ private
50
+
51
+ def session
52
+ ASSETS.session
53
+ end
54
+
55
+ def session_logger
56
+ session.logger
57
+ end
50
58
  end
51
59
  end
52
60
  end
data/lib/eco/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Eco
2
- VERSION = "2.2.3"
2
+ VERSION = "2.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eco-helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.3
4
+ version: 2.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Oscar Segura