Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update delayed_job dependency to version 3.0.4

  • Loading branch information...
commit e54cbc2fd4a095ad93f5da786b3e5d908c325b26 1 parent df2d3b4
@sferik sferik authored
View
2  Gemfile
@@ -65,7 +65,7 @@ end
group :development, :test, :staging, :production do
gem 'clearance'
gem 'daemons'
- gem 'delayed_job', '3.0.3'
+ gem 'delayed_job'
gem 'delayed_job_active_record'
gem 'newrelic_rpm'
View
4 Gemfile.lock
@@ -76,7 +76,7 @@ GEM
daemons (1.1.9)
dalli (2.5.0)
database_cleaner (0.9.1)
- delayed_job (3.0.3)
+ delayed_job (3.0.4)
activesupport (~> 3.0)
delayed_job_active_record (0.3.3)
activerecord (>= 2.1.0, < 4)
@@ -273,7 +273,7 @@ DEPENDENCIES
daemons
dalli
database_cleaner
- delayed_job (= 3.0.3)
+ delayed_job
delayed_job_active_record
dynamic_form
excon
View
9 db/migrate/20121124000000_add_queue_to_delayed_jobs.rb
@@ -0,0 +1,9 @@
+class AddQueueToDelayedJobs < ActiveRecord::Migration
+ def self.up
+ add_column :delayed_jobs, :queue, :string
+ end
+
+ def self.down
+ remove_column :delayed_jobs, :queue
+ end
+end
View
3  db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20120916165331) do
+ActiveRecord::Schema.define(:version => 20121124000000) do
create_table "announcements", :force => true do |t|
t.text "body"
@@ -30,6 +30,7 @@
t.string "locked_by"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
+ t.string "queue"
end
create_table "dependencies", :force => true do |t|
View
5 script/delayed_job
@@ -0,0 +1,5 @@
+#!/usr/bin/env ruby
+
+require File.expand_path(File.join(File.dirname(__FILE__), '..', 'config', 'environment'))
+require 'delayed/command'
+Delayed::Command.new(ARGV).daemonize
View
BIN  vendor/cache/delayed_job-3.0.3.gem
Binary file not shown
View
BIN  vendor/cache/delayed_job-3.0.4.gem
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.