splitclient-rb 7.0.1.pre.rc6-java → 7.0.1.pre.rc7-java

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
  SHA1:
3
- metadata.gz: 40274faeb851fbfb89744986d246f2fc66c5b4d4
4
- data.tar.gz: 92f5b41d201e4d442bfbb131e8467009e95b04eb
3
+ metadata.gz: 5f71fa2f3f6b94f3b335de146be42266bbbb46b1
4
+ data.tar.gz: 1582b30bf50bed4cb9a90235c0695c3a35b99921
5
5
  SHA512:
6
- metadata.gz: 0d98185a44ccfd7ab06e120a5aa704646bee3d3c71ffd585dce62a4d31e99e9eb0536ecbe1b2dedd9562e2999866b2bf3eb027cfc9e0cf7aa94ccd10f6385549
7
- data.tar.gz: 530e123e87e2bc33a8a5489fc50379c8d21e6785d555345cb36b59613af1ebdebf0da30598585db2c2e179e0f8ef7e7bd5639653988f16c4a4dcb397bd5230a6
6
+ metadata.gz: 344c9b4ab2401a3551785c74156dad55642d2828e35480a8247db105e7eacabcaaa63002cdd6dd6c5f9cb3878d8147eab8d324f2b1ac3e9763d712f9de24462d
7
+ data.tar.gz: 192ab959fee103ff72218b9957e1e41d3ab8833c2438dfa6269c832c920a22c50e096dfa6c0eea5c688fda3de3a77c37513be65dfb8bed2f3eedfae32eb628af
data/.gitignore CHANGED
@@ -52,3 +52,5 @@ dump.rdb
52
52
 
53
53
  # Ignore Appraisal gemfile.lock files
54
54
  /gemfiles/*.gemfile.lock
55
+
56
+ release.sh
@@ -152,7 +152,7 @@ module SplitIoClient
152
152
  end
153
153
 
154
154
  def find_operation_latencies(operation)
155
- @latencies.find { |l| l[:operation] == operation }
155
+ @latencies.find { |l| l[:operation] == operation unless l.nil? }
156
156
  end
157
157
  end
158
158
  end
@@ -287,7 +287,7 @@ module SplitIoClient
287
287
 
288
288
  bucketing_key, matching_key = keys_from_key(key)
289
289
 
290
- attributes = attributes || attributes.to_h
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
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.0.1.pre.rc6'
2
+ VERSION = '7.0.1.pre.rc7'
3
3
  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.rc6
4
+ version: 7.0.1.pre.rc7
5
5
  platform: java
6
6
  authors:
7
7
  - Split Software
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-05 00:00:00.000000000 Z
11
+ date: 2019-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement