rafka 0.2.0 → 0.2.1

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: 4c22c53b79ce4831fa5c2e643323e384dfc8ebf6
4
- data.tar.gz: b40a73a324c70879236a954371aad5c26a8d73fc
3
+ metadata.gz: 06f0c9ae88643e805addf746e68767a2c134f102
4
+ data.tar.gz: 06fa59ddd4abe76902128f602c2d778e692bfc28
5
5
  SHA512:
6
- metadata.gz: e9ba330571a10ea65cc73ec2b6b813f6c5ac3bf2e2ef7c33649886929d407523ec6ac8d888f8a2e3d46d3d03f21b558eb7842535e407ee0de6c982df7caf4251
7
- data.tar.gz: d99201dec000938566dfc7b0a6d2038fc88574a9cad5b7d921c2536f8ebacc027d0104af69de1050a5e03d01aa8fd398b925f97e85c64a3a2a89f4e1de5e16a0
6
+ metadata.gz: 9d348163af1c40fce64ca9a13ec579bc09f144540823d7f49a3831dca811e28815edda74bb92c3681832b4050cd5283eccd244c26df9c9229da41d8f60a1b42d
7
+ data.tar.gz: 923c97c2f33fcbba4a929154923f0801c1b426dff03a4ac3776b007f1c18129edfe02b171580adf69b3bdc4cfe1b2bf403d41ac4329474551b977178127d2fc7
data/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@ Breaking changes are prefixed with a "[BREAKING]" label.
5
5
  ## master (unreleased)
6
6
 
7
7
 
8
+ ## 0.2.1 (2018-05-04)
9
+
10
+ ### Fixed
11
+
12
+ - SETNAME was incorrectly called many times resulting in errors from Rafka [[bc9b081](https://github.com/skroutz/rafka-rb/commit/bc9b08145f5f1fd98d1badf92190038ab01d0a58))
8
13
 
9
14
  ## 0.2.0 (2018-05-04)
10
15
 
@@ -227,7 +227,7 @@ module Rafka
227
227
  #
228
228
  # TODO(agis): get rid of this when we drop support for 3.2.1 and before
229
229
  def set_name!
230
- return if @redis.client.connected? && Gem::Version.new(Redis::VERSION) >= Gem::Version.new("3.2.2")
230
+ return if @redis.client.connected? || Gem::Version.new(Redis::VERSION) >= Gem::Version.new("3.2.2")
231
231
 
232
232
  Rafka.wrap_errors do
233
233
  @redis.client.call([:client, :setname, @redis.id])
data/lib/rafka/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Rafka
2
- VERSION = "0.2.0".freeze
2
+ VERSION = "0.2.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rafka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Agis Anastasopoulos