splitclient-rb 7.0.3.pre.rc1 → 7.0.3.pre.rc2

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: af7bc93a3b1bc766cc2411eae8f8d5310710ef1553520076592859af72b95d27
4
- data.tar.gz: 4f1ebd92da58c95502c3fad075122cee3ab05f6c6e1960ab7717abe550639156
3
+ metadata.gz: 416829c44ec15e88e7e106a23ab7736817d62a45b7975f513fa8d1103cb7e6df
4
+ data.tar.gz: 035d68b6c0bd65ee4b7938b585e8b40087f3b9bcec95e1bb014547d8d829dda1
5
5
  SHA512:
6
- metadata.gz: b7a2f82093d8a9ac9c5f633978ccf89e943eb870d4b04a57dd8ae7e4f8276ddd41f74611ac6676021af1b46f0e9ac022979626f4e5dba93dbd289aaa713f8f11
7
- data.tar.gz: 51d28ee291b6f1ca72bdcdd630f072f77042a22c16e674e4f888c6c75e1c47daf76c3ac1da9e9d6caf7140584bf6e22ea3b281ebb1199e4f75c21e610f2662c7
6
+ metadata.gz: 6d5370b798990edd73c0e22c1b5536798c78321d9dfb95799095c215ed8d3f5fc334d9360618d20273e7e126358c760053977dcbbfc3d3fa31ed4d0aac64fcc2
7
+ data.tar.gz: 2c1ceceeb69546179b66903275085a507e28e6dc3a95a0adad1655387dbba7e4c317281ba577c3a060dd80e6e96615d83b091d7d1d550e427b5b0877319081ec
data/CHANGES.txt CHANGED
@@ -1,3 +1,7 @@
1
+ 7.0.3 (Dec 6, 2019)
2
+ - Added integration tests.
3
+ - Fixed impressions labels.
4
+
1
5
  7.0.2 (Nov 11, 2019)
2
6
  - Fixed an issue about empty logs.
3
7
  - Fixed an issue about reducing scan commands in redis.
@@ -1,3 +1,5 @@
1
+ require 'concurrent'
2
+
1
3
  module SplitIoClient
2
4
  module Cache
3
5
  module Repositories
@@ -64,15 +66,15 @@ module SplitIoClient
64
66
  end
65
67
 
66
68
  def clear_counts
67
- @counts = []
69
+ @counts = Concurrent::Array.new
68
70
  end
69
71
 
70
72
  def clear_latencies
71
- @latencies = []
73
+ @latencies = Concurrent::Array.new
72
74
  end
73
75
 
74
76
  def clear_gauges
75
- @gauges = []
77
+ @gauges = Concurrent::Array.new
76
78
  end
77
79
 
78
80
  def clear
@@ -152,7 +154,7 @@ module SplitIoClient
152
154
  end
153
155
 
154
156
  def find_operation_latencies(operation)
155
- @latencies.find { |l| l[:operation] == operation unless l.nil? }
157
+ @latencies.find { |l| l[:operation] == operation }
156
158
  end
157
159
  end
158
160
  end
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.0.3.pre.rc1'
2
+ VERSION = '7.0.3.pre.rc2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: splitclient-rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.3.pre.rc1
4
+ version: 7.0.3.pre.rc2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Split Software