circuitry 3.1.6 → 3.2.0

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: fb4fff280ab45887e45019b17e3713dd86a16688
4
- data.tar.gz: f1009ccb99d83a94ab366118b5c9df96cd411ff3
3
+ metadata.gz: cf97d3815318439ecc8eff261947cb4360bc0d48
4
+ data.tar.gz: d4e82e38d4bf9cfddc0dbd410eb1414dd7cf8af5
5
5
  SHA512:
6
- metadata.gz: 69c73d0650a6241ddef6db33f4ee82d5586ad45d5a88b517d6f48760da42bc5b02a093e1b0a1d32d153e8e55d6c8bf6ac1677e57669753ce4628af5c7a5e99bb
7
- data.tar.gz: f2f41dab6b0848fe92c660e30ea6f071ebc3f67faed105a7315e37ae245ec56b75336068623eec8c5be5b67ae66ce74a1aa5d9cb665fe53e50015c938566346f
6
+ metadata.gz: a42bd8ed1ce577f498aad1b674304042248a9e9892a3dbb0b955c5452288e852ca6510c460ac3994cf8f17bb1bee10dcb83e59a3845b00238c2c344614b9f704
7
+ data.tar.gz: aa1e4eff88e74a1cee7d1e27e1f404dc3efdf565337191faf4b605ad1bcf574fd25044d2781c4e95c6e9b19aa85341b98006849e97e013691a18b1eb6616c826
@@ -1,3 +1,7 @@
1
+ ## Circuitry 3.2.0 (May 6, 2017)
2
+
3
+ * Fixed processing for `batch_size` of 1. *Xi Zhang*
4
+
1
5
  ## Circuitry 3.1.6 (Nov 21, 2016)
2
6
 
3
7
  * Fixed `environment` prerequisite task for `circuitry:setup` when using a more recent version
@@ -107,6 +107,7 @@ module Circuitry
107
107
  end
108
108
 
109
109
  poller.poll(max_number_of_messages: batch_size, wait_time_seconds: wait_time, skip_delete: true) do |messages|
110
+ messages = [messages] unless messages.is_a?(Array)
110
111
  process_messages(Array(messages), &block)
111
112
  Circuitry.flush
112
113
  end
@@ -1,3 +1,3 @@
1
1
  module Circuitry
2
- VERSION = '3.1.6'
2
+ VERSION = '3.2.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: circuitry
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.6
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Huggins
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-11-21 00:00:00.000000000 Z
12
+ date: 2017-05-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: aws-sdk
@@ -298,7 +298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
298
  version: '0'
299
299
  requirements: []
300
300
  rubyforge_project:
301
- rubygems_version: 2.5.2
301
+ rubygems_version: 2.6.10
302
302
  signing_key:
303
303
  specification_version: 4
304
304
  summary: Decouple ruby applications using Amazon SNS fanout with SQS processing.