resque 1.18.3 → 1.18.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/HISTORY.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 1.18.4 (2011-08-23)
2
+
3
+ * Bugfix: preload task depends on setup
4
+
1
5
  ## 1.18.3 (2011-08-23)
2
6
 
3
7
  * Bugfix: Fix preloading on Rails 3.x.
@@ -41,14 +41,10 @@ namespace :resque do
41
41
  end
42
42
 
43
43
  # Preload app files if this is Rails
44
- task :preload do
44
+ task :preload => :setup do
45
45
  if defined? Rails
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
46
+ Dir["#{Rails.root}/app/**/*.rb"].each do |file|
47
+ require file
52
48
  end
53
49
  end
54
50
  end
@@ -1,3 +1,3 @@
1
1
  module Resque
2
- Version = VERSION = '1.18.3'
2
+ Version = VERSION = '1.18.4'
3
3
  end
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: 89
4
+ hash: 87
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 18
9
- - 3
10
- version: 1.18.3
9
+ - 4
10
+ version: 1.18.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Chris Wanstrath