resque 1.8.2 → 1.8.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of resque might be problematic. Click here for more details.
- data/README.markdown +1 -1
- data/Rakefile +5 -12
- data/lib/resque/version.rb +1 -1
- metadata +26 -9
data/README.markdown
CHANGED
@@ -662,7 +662,7 @@ For a list of available plugins see
|
|
662
662
|
|
663
663
|
If you'd like to write your own plugin, or want to customize Resque
|
664
664
|
using hooks (such as `Resque.after_fork`), see
|
665
|
-
[docs/HOOKS.md](http://github.com/defunkt/resque/blob/master/HOOKS.md).
|
665
|
+
[docs/HOOKS.md](http://github.com/defunkt/resque/blob/master/docs/HOOKS.md).
|
666
666
|
|
667
667
|
|
668
668
|
Namespaces
|
data/Rakefile
CHANGED
@@ -9,7 +9,7 @@ $LOAD_PATH.unshift 'lib'
|
|
9
9
|
require 'resque/tasks'
|
10
10
|
|
11
11
|
def command?(command)
|
12
|
-
system("type #{command} > /dev/null")
|
12
|
+
system("type #{command} > /dev/null 2>&1")
|
13
13
|
end
|
14
14
|
|
15
15
|
|
@@ -37,19 +37,11 @@ end
|
|
37
37
|
|
38
38
|
|
39
39
|
#
|
40
|
-
#
|
40
|
+
# Install
|
41
41
|
#
|
42
42
|
|
43
43
|
task :install => [ 'redis:install', 'dtach:install' ]
|
44
44
|
|
45
|
-
begin
|
46
|
-
require 'mg'
|
47
|
-
MG.new("resque.gemspec")
|
48
|
-
rescue LoadError
|
49
|
-
warn "mg not available."
|
50
|
-
warn "Install it with: gem i mg"
|
51
|
-
end
|
52
|
-
|
53
45
|
|
54
46
|
#
|
55
47
|
# Documentation
|
@@ -58,7 +50,6 @@ end
|
|
58
50
|
begin
|
59
51
|
require 'sdoc_helpers'
|
60
52
|
rescue LoadError
|
61
|
-
puts "sdoc support not enabled. Please gem install sdoc-helpers."
|
62
53
|
end
|
63
54
|
|
64
55
|
|
@@ -67,9 +58,11 @@ end
|
|
67
58
|
#
|
68
59
|
|
69
60
|
desc "Push a new version to Gemcutter"
|
70
|
-
task :publish
|
61
|
+
task :publish do
|
71
62
|
require 'resque/version'
|
72
63
|
|
64
|
+
sh "gem build resque.gemspec"
|
65
|
+
sh "gem push resque-#{Resque::Version}.gem"
|
73
66
|
sh "git tag v#{Resque::Version}"
|
74
67
|
sh "git push origin v#{Resque::Version}"
|
75
68
|
sh "git push origin master"
|
data/lib/resque/version.rb
CHANGED
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 49
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 1
|
7
8
|
- 8
|
8
|
-
-
|
9
|
-
version: 1.8.
|
9
|
+
- 3
|
10
|
+
version: 1.8.3
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Chris Wanstrath
|
@@ -14,40 +15,50 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-05-
|
18
|
+
date: 2010-05-17 00:00:00 -07:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
22
|
name: redis
|
22
23
|
prerelease: false
|
23
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
24
26
|
requirements:
|
25
|
-
- -
|
27
|
+
- - ~>
|
26
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 23
|
27
30
|
segments:
|
31
|
+
- 1
|
28
32
|
- 0
|
29
|
-
|
33
|
+
- 0
|
34
|
+
version: 1.0.0
|
30
35
|
type: :runtime
|
31
36
|
version_requirements: *id001
|
32
37
|
- !ruby/object:Gem::Dependency
|
33
38
|
name: redis-namespace
|
34
39
|
prerelease: false
|
35
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
36
42
|
requirements:
|
37
|
-
- -
|
43
|
+
- - ~>
|
38
44
|
- !ruby/object:Gem::Version
|
45
|
+
hash: 27
|
39
46
|
segments:
|
40
47
|
- 0
|
41
|
-
|
48
|
+
- 1
|
49
|
+
- 0
|
50
|
+
version: 0.1.0
|
42
51
|
type: :runtime
|
43
52
|
version_requirements: *id002
|
44
53
|
- !ruby/object:Gem::Dependency
|
45
54
|
name: vegas
|
46
55
|
prerelease: false
|
47
56
|
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
48
58
|
requirements:
|
49
|
-
- -
|
59
|
+
- - ~>
|
50
60
|
- !ruby/object:Gem::Version
|
61
|
+
hash: 31
|
51
62
|
segments:
|
52
63
|
- 0
|
53
64
|
- 1
|
@@ -59,9 +70,11 @@ dependencies:
|
|
59
70
|
name: sinatra
|
60
71
|
prerelease: false
|
61
72
|
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
62
74
|
requirements:
|
63
75
|
- - ">="
|
64
76
|
- !ruby/object:Gem::Version
|
77
|
+
hash: 63
|
65
78
|
segments:
|
66
79
|
- 0
|
67
80
|
- 9
|
@@ -140,23 +153,27 @@ rdoc_options:
|
|
140
153
|
require_paths:
|
141
154
|
- lib
|
142
155
|
required_ruby_version: !ruby/object:Gem::Requirement
|
156
|
+
none: false
|
143
157
|
requirements:
|
144
158
|
- - ">="
|
145
159
|
- !ruby/object:Gem::Version
|
160
|
+
hash: 3
|
146
161
|
segments:
|
147
162
|
- 0
|
148
163
|
version: "0"
|
149
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
none: false
|
150
166
|
requirements:
|
151
167
|
- - ">="
|
152
168
|
- !ruby/object:Gem::Version
|
169
|
+
hash: 3
|
153
170
|
segments:
|
154
171
|
- 0
|
155
172
|
version: "0"
|
156
173
|
requirements: []
|
157
174
|
|
158
175
|
rubyforge_project:
|
159
|
-
rubygems_version: 1.3.
|
176
|
+
rubygems_version: 1.3.7
|
160
177
|
signing_key:
|
161
178
|
specification_version: 3
|
162
179
|
summary: Resque is a Redis-backed queueing system.
|