evoleap-licensing 1.0.1.14 → 1.0.2.16

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: f9210334bcfd5ea8f7169db015fecb903e19da8892f3a38536975c25a5bb7009
4
- data.tar.gz: e0e6d7d075149decba927538631744ce7ce5545d0ec2971783e2c8575cb66d72
3
+ metadata.gz: 66c8a673634310f3129ee339d024f03d14df0753bf5333732fbb34fc5dd31168
4
+ data.tar.gz: c31c7358bf1b4211ee6aea28f45caaae3e302e95532d6068f5be50bcecf0f056
5
5
  SHA512:
6
- metadata.gz: f31ed6d3b403e1714310a3f2c753c96a84d2166a0ab70cfad32c9bf2c3c0dedf6a5d4447c1e0cc6244e40e65eb8a2764c03548b037f1afa4149d879e02bc93ff
7
- data.tar.gz: 6902d00d1202401ffb65b139d4e1516f2347a9c491b1ee094232f46e75cef753b51eb1f0d8815e12ed89643fb994a5286ca8657d8077e04087fe5b49ea14cf5e
6
+ metadata.gz: 1b2a1046bfa650cfd94c855abb43a8845f4393d651c4674ff3579b8a74b9d6ae8341800bd6c398b7268acad60d7141ed3cb8446d3a547070b9e8307c9061368f
7
+ data.tar.gz: 59742644c06f0c23b7817e01685e58d66127e0b15849dfe4ca3e02d9b1be0e964aec165066960337b576a7da65bc41d068fab81d74b40b1f87e89eb41d04e656
@@ -17,8 +17,11 @@ module EvoleapLicensing
17
17
  @data[key.to_s]
18
18
  end
19
19
 
20
+ # Flat string-keyed hash matching what the ELM backend (and the C# SDK)
21
+ # expect. ParsedInstanceIdentity#initialize calls deep_symbolize_keys!
22
+ # on this, so it must be a Hash, not an array of key/value objects.
20
23
  def to_api_format
21
- @data.map { |k, v| { "key" => k, "value" => v.to_s } }
24
+ @data.transform_values(&:to_s)
22
25
  end
23
26
 
24
27
  def to_h
@@ -17,8 +17,11 @@ module EvoleapLicensing
17
17
  @data[key.to_s]
18
18
  end
19
19
 
20
+ # Flat string-keyed hash matching what the ELM backend (and the C# SDK)
21
+ # expect. user_identity_params on the backend calls symbolize_keys! and
22
+ # slices specific fields — it requires a Hash, not an array of pairs.
20
23
  def to_api_format
21
- @data.map { |k, v| { "key" => k, "value" => v.to_s } }
24
+ @data.transform_values(&:to_s)
22
25
  end
23
26
 
24
27
  def to_h
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EvoleapLicensing
4
- VERSION = "1.0.1.14"
4
+ VERSION = "1.0.2.16"
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evoleap-licensing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.14
4
+ version: 1.0.2.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - evoleap