request_queue 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: 4b645c28623badcb0436259ca4400b1dad1c85d7
4
- data.tar.gz: 318d9ec8bc059e9e3e08fedf761f58305622ebf5
3
+ metadata.gz: 042f07181bbcaf2cbcad92425d4423307777d86e
4
+ data.tar.gz: f77eb50b1867efb676ca1e0e09e69c37f20990ee
5
5
  SHA512:
6
- metadata.gz: 0e3947b656877a088d25302444999e97562f47410b36a051452f1a9fa33a77a50d2cb7def7092ea6381c4dda6656376bab0ab8901b8785d9a3444da56847cafd
7
- data.tar.gz: 946b80b4979423cae20fb8bf0b848511d7e6faea2e7b1320117b463ecc077d525937c8d389ef871aa9b3785e15d8178ea889b3342e81f6c6f249a4b8adae6ea4
6
+ metadata.gz: 00c83e64dce04e59c9251ef87f85f829ac3e4e83046e1b3323351fd9b5a925a6d274faca3f2e77cbd41c3134f72cf0c8ad296d170161c401e8f15267d2e8e86c
7
+ data.tar.gz: fb1092d7dab38124eec22a64e69980034cd08762ed0b4b096c149adf44715dbe6135b4922348b064cc4ad711613dd9ad68054f0a1034b086fecb675b44c215ea
data/README.md CHANGED
@@ -26,7 +26,7 @@ Or install it yourself as:
26
26
 
27
27
  A a job can be any callable, so for example:
28
28
 
29
- ```
29
+ ```ruby
30
30
  job = proc { puts 'Hello' }
31
31
 
32
32
  RequestQueue.enqueue(job)
@@ -3,7 +3,7 @@ require 'request_queue/queue'
3
3
  module RequestQueue
4
4
  class InlineQueue < Queue
5
5
  def <<(message)
6
- message.process
6
+ message.call
7
7
  end
8
8
 
9
9
  def process
@@ -1,3 +1,3 @@
1
1
  module RequestQueue
2
- VERSION = "0.2.0"
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: request_queue
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
  - Ray Zane