splitclient-rb 7.1.0.pre.rc7 → 7.1.0.pre.rc8

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: d5eb756de4960f089df823c0fa7c554ce7e8a7ce2fc44dc18b0d7bf56a666ea1
4
- data.tar.gz: '09f7a93cff4759f75ce467ac1d7e3853142397c4c840de46509335bd3110a3f3'
3
+ metadata.gz: a41fb7094f02469fc143886f354025ebb1ae570e70088e7b248d72ea70520ae5
4
+ data.tar.gz: b0f9f14072dfcedfda73e4e34b7b9f9d0de6f887fb620322ea1a34899c354cab
5
5
  SHA512:
6
- metadata.gz: fa93b0737066384f8e2e49bab166f8b23057578b6f1b940c9a27ff64cbcada99b3a982cbb6d43f78268d820189064c0b554761b84c3b198596eff6d0fc92fa20
7
- data.tar.gz: 6dcac7c1907c25d322a004a290682e383cdc2f3e6880d25b2df5731a89beba7900ef0404eaffee895e6bbe3618315e32fe8bba0c14796f64ca96073088e0b773
6
+ metadata.gz: 18bb5d03f84de13a4141d26396a8bd49bfa90164cc15f7cb1a8f9ba3be2ccaa13a0dd06dcb033120de26bfba0326d63bb6fa478dfec53bf0418d1f7a0e0b5ea4
7
+ data.tar.gz: 1ef7f6a0641ecb4510d3469058067a9b636367d173650556eff5f114ff2ea53f2be1aa29178a1246efc73c213d81f7a1e079faf674135a9caf50670ab6875407
data/.rubocop.yml CHANGED
@@ -8,7 +8,7 @@ Metrics/MethodLength:
8
8
  Max: 20
9
9
 
10
10
  Metrics/ClassLength:
11
- Max: 140
11
+ Max: 150
12
12
 
13
13
  Metrics/LineLength:
14
14
  Max: 130
@@ -72,13 +72,13 @@ module SplitIoClient
72
72
  interval = @back_off.interval
73
73
  sleep(interval) if interval.positive?
74
74
 
75
- @config.logger.info("Connecting to #{@uri.host}...") if @config.debug_enabled
76
-
77
75
  socket_write
78
76
 
79
77
  while @connected.value
80
78
  begin
81
79
  partial_data = @socket.readpartial(10_000, timeout: @read_timeout)
80
+
81
+ raise 'eof exception' if partial_data == :eof
82
82
  rescue StandardError => e
83
83
  @config.logger.error(e.inspect) if @config.debug_enabled
84
84
  @connected.make_false
@@ -115,7 +115,7 @@ module SplitIoClient
115
115
  dispatch_event(events)
116
116
  end
117
117
  rescue StandardError => e
118
- @config.logger.error("Error during processing data: #{e.inspect}")
118
+ @config.logger.error("process_data error: #{e.inspect}")
119
119
  end
120
120
 
121
121
  def build_request(uri)
@@ -1,3 +1,3 @@
1
1
  module SplitIoClient
2
- VERSION = '7.1.0.pre.rc7'
2
+ VERSION = '7.1.0.pre.rc8'
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.1.0.pre.rc7
4
+ version: 7.1.0.pre.rc8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Split Software