resque 1.18.4 → 1.18.5

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,8 @@
1
+ ## 1.18.5 (2011-08-24)
2
+
3
+ * Added support for Travis CI
4
+ * Bugfix: preload only happens in production Rails environment
5
+
1
6
  ## 1.18.4 (2011-08-23)
2
7
 
3
8
  * Bugfix: preload task depends on setup
@@ -42,7 +42,7 @@ namespace :resque do
42
42
 
43
43
  # Preload app files if this is Rails
44
44
  task :preload => :setup do
45
- if defined? Rails
45
+ if defined?(Rails) && Rails.env == 'production'
46
46
  Dir["#{Rails.root}/app/**/*.rb"].each do |file|
47
47
  require file
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module Resque
2
- Version = VERSION = '1.18.4'
2
+ Version = VERSION = '1.18.5'
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: 87
4
+ hash: 85
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 18
9
- - 4
10
- version: 1.18.4
9
+ - 5
10
+ version: 1.18.5
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-23 00:00:00 -07:00
18
+ date: 2011-08-24 00:00:00 -07:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency