splitclient-rb 7.0.1.pre.rc6 → 7.0.1.pre.rc7
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 024cdfb5ea53e5c84b73dafdcb28034bd33462c4931f440ec0ce9615f79b97a4
|
4
|
+
data.tar.gz: 89c9fe2b39884ade83f4808d9cb541705816e71b33336f65ff4004e11b2388ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d867bcf67d933aabedf66a5253ebac077af504b92f34a9fb7f680ce0bb58aa5f6bfbe66fb1c0bbc994e89cec289ee8776d19f3edf3c60cd0aef22258d77de484
|
7
|
+
data.tar.gz: bc554d8aca04d7a8b4f1f065a2d870b0619016cfd0ba0244b210bbacd7d1653c2f55af114764015bd0b447952575dc893eaebf7372b19daa3817e93fadc7e0bb
|
data/.gitignore
CHANGED
@@ -287,7 +287,7 @@ module SplitIoClient
|
|
287
287
|
|
288
288
|
bucketing_key, matching_key = keys_from_key(key)
|
289
289
|
|
290
|
-
attributes = attributes
|
290
|
+
attributes = parsed_attributes(attributes)
|
291
291
|
|
292
292
|
return parsed_control_exception unless valid_client && @config.split_validator.valid_get_treatment_parameters(calling_method, key, split_name, matching_key, bucketing_key, attributes)
|
293
293
|
|
@@ -350,5 +350,9 @@ module SplitIoClient
|
|
350
350
|
return @sdk_blocker.ready? if @sdk_blocker
|
351
351
|
true
|
352
352
|
end
|
353
|
+
|
354
|
+
def parsed_attributes(attributes)
|
355
|
+
return attributes || attributes.to_h
|
356
|
+
end
|
353
357
|
end
|
354
358
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: splitclient-rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0.1.pre.
|
4
|
+
version: 7.0.1.pre.rc7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Split Software
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: allocation_stats
|