shoryuken 3.1.7 → 3.1.8

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: 52a8705f1b474b12c77323776c903bd2e1ff6ba1
4
- data.tar.gz: 25792ada1e4231fa80c7c461affa364bbe8f9afa
3
+ metadata.gz: b0666812a472f98087bf90ff23f4420b0ba78bb9
4
+ data.tar.gz: fe0c97e16e371afed0895bc8560d77503c2c8962
5
5
  SHA512:
6
- metadata.gz: bcc31cc6ea76c07965f0ef5e4d13f29407fcf7423d8441df46867255cd5beaec0e694f9d5e45f6be181d1f1f926f51752f64d6027be8dfacfbd721052138de70
7
- data.tar.gz: 4c7a4b04713c37edbf2e1e2965b3135a6d603ff686f42f74a45f6e5b1b9212f71db155703c92433785357281568ec705cd02e23413abcb46dc079b43df57bad7
6
+ metadata.gz: ee9e3b82feb7124d3ef165c632c0b2078d22be7939bb2eaef7da036812859a13529f08c09b2b6c1b0eccf24f1c06ed6be9310415e894d59d1363d7574ce5764f
7
+ data.tar.gz: 65b44b013c44cf6521ab9cb6a4d21095d6475ba2cf8bb196436807ec0269fe56ef3e6ddd7a3d0efd0cdf04c2408f06fdea89688aea1da12ef1e609d413f2eed2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [v3.1.8] - 2017-08-17
2
+
3
+ - Make Polling strategy backward compatibility
4
+ - [#424](https://github.com/phstc/shoryuken/pull/424)
5
+
1
6
  ## [v3.1.7] - 2017-07-31
2
7
 
3
8
  - Allow polling strategy per group
@@ -57,7 +57,7 @@ module Shoryuken
57
57
  end
58
58
 
59
59
  def polling_strategy(group)
60
- strategy = (group == 'default' ? options : options[:groups][group]).to_h[:polling_strategy]
60
+ strategy = (group == 'default' ? options : options[:groups].to_h[group]).to_h[:polling_strategy]
61
61
 
62
62
  case strategy
63
63
  when 'WeightedRoundRobin', nil # Default case
@@ -1,3 +1,3 @@
1
1
  module Shoryuken
2
- VERSION = '3.1.7'.freeze
2
+ VERSION = '3.1.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shoryuken
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.7
4
+ version: 3.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Cantero
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-31 00:00:00.000000000 Z
11
+ date: 2017-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler