proletariat 0.0.5 → 0.0.6

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: 857a43f0570e09ed05e46f910b5a746474116604
4
- data.tar.gz: 4c5a325c9d11bf52e1ac69b5c1c365a291ecfcc7
3
+ metadata.gz: b5b2573ecbcb0bba6ed669afbe997c428fe5892e
4
+ data.tar.gz: f04b0420cf1d8dbf6f142a63a7441d14627120db
5
5
  SHA512:
6
- metadata.gz: 00801d41f5a02e885f82a15bcf4d189e3f5ebe80892afe982cec5efe2f3effe3dbbe3e1aca7e8477110907045968bb991ea83ddeac1f15ef844eaba287428049
7
- data.tar.gz: b13a39c9cb321ade6df9a2566d00942edd1ddb35339cae3102e2b1d33279a11f585e8aeef0e7a494cb7334d08255b5308c03e4f748fbef9b0a5b632c56937486
6
+ metadata.gz: 4d3813e197e25da9ebd15b85cfcfd114d77c879dc42da712534c75e394e4c9f55781cdacbe8e7284fb0f2db0df7c24f5e0ffc96bd76e22835bf30df8756f2f5c
7
+ data.tar.gz: 1b0fe700ce9145963d68c28adead0eda8c36b4ee6f50d60cb9f04faa7a2e91e6164281259d48f33f5fc7f4254ce016f6337b80d20d7d9c6d767d4e83d8dd46f8
@@ -310,6 +310,8 @@ module Proletariat
310
310
  @scheduled_task = Concurrent::ScheduledTask.new(retry_delay) do
311
311
  requeue_message
312
312
  end
313
+
314
+ @scheduled_task.execute
313
315
  end
314
316
 
315
317
  # Public: Attempt to requeue the message immediately if pending or
@@ -1,4 +1,4 @@
1
1
  # Public: Adds a constant for the current version number.
2
2
  module Proletariat
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.6'
4
4
  end
data/proletariat.gemspec CHANGED
@@ -19,6 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.add_development_dependency 'rspec', '3.0.0.beta1'
20
20
  s.add_development_dependency 'rubocop'
21
21
 
22
- s.add_runtime_dependency 'concurrent-ruby', '~> 0.4.0'
23
- s.add_runtime_dependency 'bunny', '~> 1.1.0'
22
+ s.add_runtime_dependency 'concurrent-ruby', '~> 0.6.1'
23
+ s.add_runtime_dependency 'bunny', '~> 1.3.1'
24
24
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proletariat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Edwards
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-01 00:00:00.000000000 Z
11
+ date: 2014-07-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.4.0
47
+ version: 0.6.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.4.0
54
+ version: 0.6.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bunny
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 1.1.0
61
+ version: 1.3.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 1.1.0
68
+ version: 1.3.1
69
69
  description: Lightweight background processing powered by RabbitMQ
70
70
  email:
71
71
  - me@sebastianedwards.co.nz