rabbit_jobs 0.2.0.pre2 → 0.2.0.pre3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rabbit_jobs/amqp_helper.rb +1 -1
- data/lib/rabbit_jobs/configuration.rb +0 -9
- data/lib/rabbit_jobs/job.rb +1 -0
- data/lib/rabbit_jobs/scheduler.rb +1 -1
- data/lib/rabbit_jobs/version.rb +1 -1
- metadata +10 -37
@@ -68,15 +68,6 @@ module RabbitJobs
|
|
68
68
|
@data[name]
|
69
69
|
end
|
70
70
|
|
71
|
-
def connection_options
|
72
|
-
return @data[:connection_options] if @data[:connection_options]
|
73
|
-
|
74
|
-
@data[:connection_options] = AMQP::Client.parse_connection_uri(url)
|
75
|
-
@data[:vhost] ||= "/"
|
76
|
-
@data[:vhost] = "/" if @data[:vhost].empty?
|
77
|
-
@data[:connection_options]
|
78
|
-
end
|
79
|
-
|
80
71
|
def mail_errors_to(email = nil)
|
81
72
|
if email
|
82
73
|
@data[:mail_errors_to] = email
|
data/lib/rabbit_jobs/job.rb
CHANGED
data/lib/rabbit_jobs/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rabbit_jobs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.0.
|
4
|
+
version: 0.2.0.pre3
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-11-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: amqp
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &9438720 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,15 +21,10 @@ dependencies:
|
|
21
21
|
version: '0.9'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0.9'
|
24
|
+
version_requirements: *9438720
|
30
25
|
- !ruby/object:Gem::Dependency
|
31
26
|
name: rake
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &9450940 !ruby/object:Gem::Requirement
|
33
28
|
none: false
|
34
29
|
requirements:
|
35
30
|
- - ! '>='
|
@@ -37,15 +32,10 @@ dependencies:
|
|
37
32
|
version: '0'
|
38
33
|
type: :runtime
|
39
34
|
prerelease: false
|
40
|
-
version_requirements:
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ! '>='
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '0'
|
35
|
+
version_requirements: *9450940
|
46
36
|
- !ruby/object:Gem::Dependency
|
47
37
|
name: rufus-scheduler
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &9444480 !ruby/object:Gem::Requirement
|
49
39
|
none: false
|
50
40
|
requirements:
|
51
41
|
- - ~>
|
@@ -53,12 +43,7 @@ dependencies:
|
|
53
43
|
version: '2.0'
|
54
44
|
type: :runtime
|
55
45
|
prerelease: false
|
56
|
-
version_requirements:
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '2.0'
|
46
|
+
version_requirements: *9444480
|
62
47
|
description: Background jobs on RabbitMQ
|
63
48
|
email:
|
64
49
|
- lazureykis@gmail.com
|
@@ -113,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
113
98
|
version: '0'
|
114
99
|
segments:
|
115
100
|
- 0
|
116
|
-
hash:
|
101
|
+
hash: -4291457465904043051
|
117
102
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
118
103
|
none: false
|
119
104
|
requirements:
|
@@ -122,20 +107,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
107
|
version: 1.3.1
|
123
108
|
requirements: []
|
124
109
|
rubyforge_project:
|
125
|
-
rubygems_version: 1.8.
|
110
|
+
rubygems_version: 1.8.11
|
126
111
|
signing_key:
|
127
112
|
specification_version: 3
|
128
113
|
summary: Background jobs on RabbitMQ
|
129
|
-
test_files:
|
130
|
-
- spec/fixtures/config.yml
|
131
|
-
- spec/fixtures/jobs.rb
|
132
|
-
- spec/fixtures/schedule.yml
|
133
|
-
- spec/integration/publisher_spec.rb
|
134
|
-
- spec/integration/scheduler_spec.rb
|
135
|
-
- spec/integration/worker_spec.rb
|
136
|
-
- spec/spec_helper.rb
|
137
|
-
- spec/unit/configuration_spec.rb
|
138
|
-
- spec/unit/job_spec.rb
|
139
|
-
- spec/unit/mailer_spec.rb
|
140
|
-
- spec/unit/rabbit_jobs_spec.rb
|
141
|
-
- spec/unit/worker_spec.rb
|
114
|
+
test_files: []
|