-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made a gem out of delayed_job so I can use it in my services. Had to …
…modify Worker to not infer DJ is running in a Rails instance.
- Loading branch information
Justin Knowlden
committed
Nov 29, 2008
1 parent
bcf8d1d
commit 9ba6b08
Showing
7 changed files
with
82 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.gem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
== 0.1.0 / 2008-11-28 | ||
* First of many versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Gem::Specification.new do |s| | ||
s.name = "delayed_job" | ||
s.version = "0.1.0" | ||
s.date = "2008-11-28" | ||
s.summary = "Database-backed asynchronous priority queue system -- Extracted from Shopify" | ||
s.email = "[email protected]" | ||
s.homepage = "https://github.com/tobi/delayed_job/tree/master" | ||
s.description = "Delated_job (or DJ) encapsulates the common pattern of asynchronously executing longer tasks in the background. It is a direct extraction from Shopify where the job table is responsible for a multitude of core tasks." | ||
s.authors = ["Tobias Lütke", "Justin Knowlden"] | ||
|
||
# s.bindir = "bin" | ||
# s.executables = ["delayed_job"] | ||
# s.default_executable = "delayed_job" | ||
|
||
s.has_rdoc = false | ||
s.rdoc_options = ["--main", "README.textile"] | ||
s.extra_rdoc_files = ["HISTORY.txt", "README.textile"] | ||
|
||
# run git ls-files to get an updated list | ||
s.files = %w[ | ||
HISTORY.txt | ||
MIT-LICENSE | ||
README.textile | ||
delayed_job.gemspec | ||
init.rb | ||
lib/delayed/job.rb | ||
lib/delayed/message_sending.rb | ||
lib/delayed/performable_method.rb | ||
lib/delayed/worker.rb | ||
lib/delayed_job.rb | ||
tasks/jobs.rake | ||
] | ||
s.test_files = %w[ | ||
spec/database.rb | ||
spec/delayed_method_spec.rb | ||
spec/job_spec.rb | ||
spec/story_spec.rb | ||
] | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1 @@ | ||
require File.dirname(__FILE__) + '/lib/delayed/message_sending' | ||
require File.dirname(__FILE__) + '/lib/delayed/performable_method' | ||
require File.dirname(__FILE__) + '/lib/delayed/job' | ||
|
||
Object.send(:include, Delayed::MessageSending) | ||
require File.dirname(__FILE__) + '/lib/delayed_job' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
require File.dirname(__FILE__) + '/delayed/message_sending' | ||
require File.dirname(__FILE__) + '/delayed/performable_method' | ||
require File.dirname(__FILE__) + '/delayed/job' | ||
require File.dirname(__FILE__) + '/delayed/worker' | ||
|
||
Object.send(:include, Delayed::MessageSending) |