em-beanstalk 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/em-beanstalk.rb +2 -1
  3. metadata +18 -9
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.8
1
+ 0.0.9
data/lib/em-beanstalk.rb CHANGED
@@ -25,7 +25,7 @@ module EM
25
25
  def initialize(opts = nil)
26
26
  @host = opts && opts[:host] || 'localhost'
27
27
  @port = opts && opts[:port] || 11300
28
- @tube = opts && opts.key?(:tube) ? opts[:tube] : 'default'
28
+ @tube = opts && opts[:tube] || 'default'
29
29
  @retry_count = opts && opts[:retry_count] || 5
30
30
  @default_priority = opts && opts[:default_priority] || 65536
31
31
  @default_delay = opts && opts[:default_delay] || 0
@@ -104,6 +104,7 @@ module EM
104
104
  block.call(job)
105
105
  EM.next_tick { work.call }
106
106
  end
107
+ r
107
108
  end
108
109
  work.call
109
110
  end
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: em-beanstalk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 0
8
+ - 9
9
+ version: 0.0.9
5
10
  platform: ruby
6
11
  authors:
7
12
  - Dan
@@ -9,19 +14,21 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-01 00:00:00 -05:00
17
+ date: 2010-05-12 00:00:00 -04:00
13
18
  default_executable: beanstalk-shell
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: eventmachine
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
23
29
  version: "0"
24
- version:
30
+ type: :runtime
31
+ version_requirements: *id001
25
32
  description: EventMachine client for Beanstalkd
26
33
  email: dan@postrank.com
27
34
  executables:
@@ -58,18 +65,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
58
65
  requirements:
59
66
  - - ">="
60
67
  - !ruby/object:Gem::Version
68
+ segments:
69
+ - 0
61
70
  version: "0"
62
- version:
63
71
  required_rubygems_version: !ruby/object:Gem::Requirement
64
72
  requirements:
65
73
  - - ">="
66
74
  - !ruby/object:Gem::Version
75
+ segments:
76
+ - 0
67
77
  version: "0"
68
- version:
69
78
  requirements: []
70
79
 
71
80
  rubyforge_project:
72
- rubygems_version: 1.3.5
81
+ rubygems_version: 1.3.6
73
82
  signing_key:
74
83
  specification_version: 3
75
84
  summary: EventMachine client for Beanstalkd