Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prepare for 2.0.6 release and clean up gemspec.

  • Loading branch information...
commit 2bfd3be01a8330ebab07bb4584334cf9d0cbad43 1 parent 2d6170e
@gaffneyc gaffneyc authored
Showing with 36 additions and 146 deletions.
  1. +1 −0  .gitignore
  2. +5 −0 Gemfile
  3. +3 −34 Rakefile
  4. +27 −112 delayed_job.gemspec
View
1  .gitignore
@@ -1,3 +1,4 @@
.rvmrc
*.gem
*.swp
+Gemfile.lock
View
5 Gemfile
@@ -0,0 +1,5 @@
+source 'http://rubygems.org'
+gemspec
+
+gem 'ruby-debug', :platform => :ruby_18
+gem 'ruby-debug19', :platform => :ruby_19
View
37 Rakefile
@@ -1,36 +1,7 @@
# -*- encoding: utf-8 -*-
-begin
- require 'jeweler'
-rescue LoadError
- puts "Jeweler not available. Install it with: sudo gem install jeweler"
- exit 1
-end
-
-Jeweler::Tasks.new do |s|
- s.name = "delayed_job"
- s.summary = "Database-backed asynchronous priority queue system -- Extracted from Shopify"
- s.email = "tobi@leetsoft.com"
- s.homepage = "http://github.com/collectiveidea/delayed_job"
- s.description = "Delayed_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.\n\nThis gem is collectiveidea's fork (http://github.com/collectiveidea/delayed_job)."
- s.authors = ["Brandon Keepers", "Tobias Lütke"]
-
- s.has_rdoc = true
- s.rdoc_options = ["--main", "README.textile", "--inline-source", "--line-numbers"]
- s.extra_rdoc_files = ["README.textile"]
-
- s.test_files = Dir['spec/*_spec.rb']
-
- s.add_dependency "daemons"
- s.add_development_dependency "rspec"
- s.add_development_dependency "sqlite3-ruby"
- s.add_development_dependency "mongo_mapper"
- s.add_development_dependency "dm-core"
- s.add_development_dependency "dm-observer"
- s.add_development_dependency "dm-aggregates"
- s.add_development_dependency "dm-validations"
- s.add_development_dependency "do_sqlite3"
- s.add_development_dependency "database_cleaner"
-end
+require 'rubygems'
+require 'bundler/setup'
+Bundler::GemHelper.install_tasks
require 'spec/rake/spectask'
desc 'Run the specs'
@@ -40,6 +11,4 @@ Spec::Rake::SpecTask.new(:spec) do |t|
t.verbose = false
end
-task :spec => :check_dependencies
task :default => :spec
-
View
139 delayed_job.gemspec
@@ -1,119 +1,34 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
- s.name = %q{delayed_job}
- s.version = "2.0.4"
+ s.name = 'delayed_job'
+ s.version = '2.0.5'
+ s.authors = ["Chris Gaffney", "Brandon Keepers", "Tobias L\303\274tke"]
+ s.summary = 'Database-backed asynchronous priority queue system -- Extracted from Shopify'
+ s.description = "Delayed_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.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = ["Brandon Keepers", "Tobias L\303\274tke"]
- s.date = %q{2010-11-14}
- s.description = %q{Delayed_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.
+This gem is collectiveidea's fork (http://github.com/collectiveidea/delayed_job)."
+ s.email = ['chris@collectiveidea.com', 'brandon@opensoul.org']
+ s.extra_rdoc_files = 'README.textile'
+ s.files = Dir.glob('{contrib,lib,recipes,spec}/**/*') +
+ %w(MIT-LICENSE README.textile)
+ s.homepage = 'http://github.com/collectiveidea/delayed_job'
+ s.rdoc_options = ["--main", "README.textile", "--inline-source", "--line-numbers"]
+ s.require_paths = ["lib"]
+ s.test_files = Dir.glob('spec/**/*')
-This gem is collectiveidea's fork (http://github.com/collectiveidea/delayed_job).}
- s.email = %q{tobi@leetsoft.com}
- s.extra_rdoc_files = [
- "README.textile"
- ]
- s.files = [
- ".gitignore",
- ".rvmrc",
- "CHANGELOG",
- "MIT-LICENSE",
- "README.textile",
- "Rakefile",
- "VERSION",
- "benchmarks.rb",
- "contrib/delayed_job.monitrc",
- "contrib/delayed_job_multiple.monitrc",
- "delayed_job.gemspec",
- "generators/delayed_job/delayed_job_generator.rb",
- "generators/delayed_job/templates/migration.rb",
- "generators/delayed_job/templates/script",
- "init.rb",
- "lib/delayed/backend/active_record.rb",
- "lib/delayed/backend/base.rb",
- "lib/delayed/backend/data_mapper.rb",
- "lib/delayed/backend/mongo_mapper.rb",
- "lib/delayed/command.rb",
- "lib/delayed/message_sending.rb",
- "lib/delayed/performable_method.rb",
- "lib/delayed/railtie.rb",
- "lib/delayed/recipes.rb",
- "lib/delayed/tasks.rb",
- "lib/delayed/worker.rb",
- "lib/delayed_job.rb",
- "rails/init.rb",
- "recipes/delayed_job.rb",
- "spec/backend/active_record_job_spec.rb",
- "spec/backend/data_mapper_job_spec.rb",
- "spec/backend/mongo_mapper_job_spec.rb",
- "spec/backend/shared_backend_spec.rb",
- "spec/delayed_method_spec.rb",
- "spec/message_sending_spec.rb",
- "spec/performable_method_spec.rb",
- "spec/sample_jobs.rb",
- "spec/setup/active_record.rb",
- "spec/setup/data_mapper.rb",
- "spec/setup/mongo_mapper.rb",
- "spec/spec_helper.rb",
- "spec/story_spec.rb",
- "spec/worker_spec.rb",
- "tasks/jobs.rake"
- ]
- s.homepage = %q{http://github.com/collectiveidea/delayed_job}
- s.rdoc_options = ["--main", "README.textile", "--inline-source", "--line-numbers"]
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Database-backed asynchronous priority queue system -- Extracted from Shopify}
- s.test_files = [
- "spec/delayed_method_spec.rb",
- "spec/message_sending_spec.rb",
- "spec/performable_method_spec.rb",
- "spec/story_spec.rb",
- "spec/worker_spec.rb"
- ]
-
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
-
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<daemons>, [">= 0"])
- s.add_development_dependency(%q<rspec>, [">= 0"])
- s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
- s.add_development_dependency(%q<mongo_mapper>, [">= 0"])
- s.add_development_dependency(%q<dm-core>, [">= 0"])
- s.add_development_dependency(%q<dm-observer>, [">= 0"])
- s.add_development_dependency(%q<dm-aggregates>, [">= 0"])
- s.add_development_dependency(%q<dm-validations>, [">= 0"])
- s.add_development_dependency(%q<do_sqlite3>, [">= 0"])
- s.add_development_dependency(%q<database_cleaner>, [">= 0"])
- else
- s.add_dependency(%q<daemons>, [">= 0"])
- s.add_dependency(%q<rspec>, [">= 0"])
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
- s.add_dependency(%q<mongo_mapper>, [">= 0"])
- s.add_dependency(%q<dm-core>, [">= 0"])
- s.add_dependency(%q<dm-observer>, [">= 0"])
- s.add_dependency(%q<dm-aggregates>, [">= 0"])
- s.add_dependency(%q<dm-validations>, [">= 0"])
- s.add_dependency(%q<do_sqlite3>, [">= 0"])
- s.add_dependency(%q<database_cleaner>, [">= 0"])
- end
- else
- s.add_dependency(%q<daemons>, [">= 0"])
- s.add_dependency(%q<rspec>, [">= 0"])
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
- s.add_dependency(%q<mongo_mapper>, [">= 0"])
- s.add_dependency(%q<dm-core>, [">= 0"])
- s.add_dependency(%q<dm-observer>, [">= 0"])
- s.add_dependency(%q<dm-aggregates>, [">= 0"])
- s.add_dependency(%q<dm-validations>, [">= 0"])
- s.add_dependency(%q<do_sqlite3>, [">= 0"])
- s.add_dependency(%q<database_cleaner>, [">= 0"])
- end
+ s.add_runtime_dependency 'daemons'
+ s.add_development_dependency 'rspec', '<2.0'
+ s.add_development_dependency 'rake'
+ s.add_development_dependency 'rails', '<3.0'
+ s.add_development_dependency 'sqlite3'
+ s.add_development_dependency 'mysql'
+ s.add_development_dependency 'mongo_mapper'
+ s.add_development_dependency 'dm-core'
+ s.add_development_dependency 'dm-observer'
+ s.add_development_dependency 'dm-aggregates'
+ s.add_development_dependency 'dm-validations'
+ s.add_development_dependency 'do_sqlite3'
+ s.add_development_dependency 'database_cleaner'
end
Please sign in to comment.
Something went wrong with that request. Please try again.