oni 4.1.1 → 4.1.2

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: 59968bb1d29726b7e1873d4e9f02acdcb08d8ec7
4
- data.tar.gz: f20e65fea419ee6d373f653bfdd388c333040a86
3
+ metadata.gz: 778857ec8997102b397020f4a79c2eca7e4c9e80
4
+ data.tar.gz: 0da85c03874b6cc14fb7fe94d948022e3a2104b0
5
5
  SHA512:
6
- metadata.gz: c1739573764a64a54417954ef88d953975a44ba110712c1e12240b6b307210a0a3a6341eb7c41342b4f642af2e475ab4966d9c926163851e1ba0f1220ef49acc
7
- data.tar.gz: c31f01c2e7b50b79dd1ba42474a95bd5581cc4d5cb60ffde7184ffd8f3cb181798c20fd2c2136087b2b7cca92e4024d8911b331ada458a3eff44e08f079f01dc
6
+ metadata.gz: d49cd26b892b851e5a1ba770d11978780632723fab878146cd9686c703585c76cb3576e4d61e096b9f275f8db1975eec65abc0198382b80d0f4e28cd36afa31c
7
+ data.tar.gz: 516665bc4b5d18b0a483ba71a18692a3645e297e9f269189fdd25e64ce88b1bf44358ca3f36870fcd35b19158bb7c1b7c04e8749726374ef0f0705c6a838176e
@@ -35,6 +35,8 @@ module Oni
35
35
  poll_options.merge! max_number_of_messages: 10
36
36
 
37
37
  queue.poll poll_options do |messages|
38
+ next yield messages unless messages.is_a? Array
39
+
38
40
  messages.each do |message|
39
41
  yield message
40
42
  end
@@ -1,3 +1,3 @@
1
1
  module Oni
2
- VERSION = '4.1.1'
2
+ VERSION = '4.1.2'
3
3
  end # Oni
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oni
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.1.1
4
+ version: 4.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yorick Peterse
@@ -149,9 +149,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  version: '0'
150
150
  requirements: []
151
151
  rubyforge_project:
152
- rubygems_version: 2.6.14
152
+ rubygems_version: 2.6.13
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Framework for building concurrent daemons in Ruby.
156
156
  test_files: []
157
- has_rdoc: yard