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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66c8a673634310f3129ee339d024f03d14df0753bf5333732fbb34fc5dd31168
|
|
4
|
+
data.tar.gz: c31c7358bf1b4211ee6aea28f45caaae3e302e95532d6068f5be50bcecf0f056
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
24
|
+
@data.transform_values(&:to_s)
|
|
22
25
|
end
|
|
23
26
|
|
|
24
27
|
def to_h
|