Skip to content

Commit

Permalink
Merge branch 'defunkt' into distributed
Browse files Browse the repository at this point in the history
  • Loading branch information
mpd committed Aug 28, 2011
2 parents 6caf6b6 + 5328e6c commit 22d1fe1
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
@@ -0,0 +1,5 @@
rvm:
- 1.8.7
- 1.9.2
- jruby
- rbx-2.0
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -8,5 +8,5 @@ group :test do
gem "mocha", "~> 0.9.7"
gem "leftright", :platforms => :mri_18
gem "yajl-ruby", "~>0.8.2", :platforms => :mri
gem "json", "~>1.5.3", :platforms => :jruby
gem "json", "~>1.5.3", :platforms => [:jruby, :rbx]
end
13 changes: 13 additions & 0 deletions HISTORY.md
@@ -1,3 +1,16 @@
## 1.18.5 (2011-08-24)

* Added support for Travis CI
* Bugfix: preload only happens in production Rails environment

## 1.18.4 (2011-08-23)

* Bugfix: preload task depends on setup

## 1.18.3 (2011-08-23)

* Bugfix: Fix preloading on Rails 3.x.

## 1.18.2 (2011-08-19)

* Fix RAILS_ROOT deprecation warning
Expand Down
4 changes: 2 additions & 2 deletions lib/resque/tasks.rb
Expand Up @@ -41,8 +41,8 @@
end

# Preload app files if this is Rails
task :preload do
if defined? Rails
task :preload => :setup do
if defined?(Rails) && Rails.env == 'production'
Dir["#{Rails.root}/app/**/*.rb"].each do |file|
require file
end
Expand Down
2 changes: 1 addition & 1 deletion lib/resque/version.rb
@@ -1,3 +1,3 @@
module Resque
Version = VERSION = '1.18.2'
Version = VERSION = '1.18.5'
end

0 comments on commit 22d1fe1

Please sign in to comment.