resque 1.18.2 → 1.18.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/HISTORY.md +4 -0
- data/lib/resque/tasks.rb +6 -2
- data/lib/resque/version.rb +1 -1
- metadata +4 -4
data/HISTORY.md
CHANGED
data/lib/resque/tasks.rb
CHANGED
@@ -43,8 +43,12 @@ namespace :resque do
|
|
43
43
|
# Preload app files if this is Rails
|
44
44
|
task :preload do
|
45
45
|
if defined? Rails
|
46
|
-
|
47
|
-
require
|
46
|
+
if Rails.version >= '3'
|
47
|
+
require 'rails/all'
|
48
|
+
else
|
49
|
+
Dir["#{Rails.root}/app/**/*.rb"].each do |file|
|
50
|
+
require file
|
51
|
+
end
|
48
52
|
end
|
49
53
|
end
|
50
54
|
end
|
data/lib/resque/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 89
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 18
|
9
|
-
-
|
10
|
-
version: 1.18.
|
9
|
+
- 3
|
10
|
+
version: 1.18.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Wanstrath
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-08-
|
18
|
+
date: 2011-08-23 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|