Skip to content

Commit

Permalink
Update delayed_job dependency to version 3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
sferik committed Nov 25, 2012
1 parent df2d3b4 commit e54cbc2
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Expand Up @@ -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)
Expand Down Expand Up @@ -273,7 +273,7 @@ DEPENDENCIES
daemons
dalli
database_cleaner
delayed_job (= 3.0.3)
delayed_job
delayed_job_active_record
dynamic_form
excon
Expand Down
9 changes: 9 additions & 0 deletions 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
3 changes: 2 additions & 1 deletion db/schema.rb
Expand Up @@ -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"
Expand All @@ -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|
Expand Down
5 changes: 5 additions & 0 deletions 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
Binary file removed vendor/cache/delayed_job-3.0.3.gem
Binary file not shown.
Binary file added vendor/cache/delayed_job-3.0.4.gem
Binary file not shown.

0 comments on commit e54cbc2

Please sign in to comment.