forest_admin_agent 1.23.0 → 1.23.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 68cbbd11515d9cc6307e8193e6644663bfa1fc02746c52e360e595cfc5207e91
4
- data.tar.gz: 593705fa45cb70cff1b350aa689c5e478f50be1ea923e9178663fd9b40c177a2
3
+ metadata.gz: 5a2508578fa22a16d6f98f26c8112c6691a0128031d288bd667084bfe6319aef
4
+ data.tar.gz: 12566eca29faa84633947e0a50f818b0372b078b4ec89ca9d11727db0cdb469e
5
5
  SHA512:
6
- metadata.gz: 1b72f327ed7aa3ce8110213be606a412f072d66ccafedbfc2bd29e8b3c3fa0b9478a236adbaec62843456461ef1352c51117dee92af02cff3aa43633f64991fc
7
- data.tar.gz: bbb4c429ea03f634af1a048e978539f5555e150f13525894848a92c735fe33281cfb5ef06f1e0ea2848d161c65948ab11eaf43f25095cd2308f7ac379f0c8341
6
+ metadata.gz: 4ac29a79b0e004b7a4bbcdad9945845d434061d477c1551f1073d0f8ebc86e1fb11162c622c9648556a36cce162d103f6cf8fd593c5a2af8dbb1e47e7409cd75
7
+ data.tar.gz: 7228fa76201e722eb9ec00771a1716ba937d3e85fbf97f490767031c2d81cc93505f662d29ab16171b12f73c405612447162421cddecff3362c151d7eb58faed
@@ -30,9 +30,11 @@ module ForestAdminAgent
30
30
 
31
31
  if context_variable_key.start_with?(USER_VALUE_TAG_PREFIX)
32
32
  tag_key = context_variable_key[USER_VALUE_TAG_PREFIX.length..]
33
- user[:tags].each do |tag|
34
- return tag['value'] if tag['key'] == tag_key
35
- end
33
+ tags = user[:tags]
34
+ return nil if tags.nil?
35
+
36
+ value = tags[tag_key] || tags[tag_key.to_sym]
37
+ return value
36
38
  end
37
39
 
38
40
  user[context_variable_key[USER_VALUE_PREFIX.length..].to_sym]
@@ -6,7 +6,7 @@ module ForestAdminAgent
6
6
  module Schema
7
7
  class SchemaEmitter
8
8
  LIANA_NAME = "agent-ruby"
9
- LIANA_VERSION = "1.23.0"
9
+ LIANA_VERSION = "1.23.1"
10
10
 
11
11
  def self.generate(datasource)
12
12
  datasource.collections
@@ -1,3 +1,3 @@
1
1
  module ForestAdminAgent
2
- VERSION = "1.23.0"
2
+ VERSION = "1.23.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forest_admin_agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.23.0
4
+ version: 1.23.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthieu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2026-01-26 00:00:00.000000000 Z
12
+ date: 2026-01-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport