Permalink
Browse files

fix readme typo, add gemspec

  • Loading branch information...
1 parent 3050acb commit a0f3924038b7a012cdfd26e298a3138e7fc60dad Jeff Gran committed Mar 7, 2011
Showing with 56 additions and 1 deletion.
  1. +1 −1 README.md
  2. +55 −0 resque-timeout.gemspec
View
@@ -13,4 +13,4 @@ To set the timeout (in seconds, default is 600):
To turn it off (it is on by default):
- Resque::Plugins::Timeout.switch = :off:
+ Resque::Plugins::Timeout.switch = :off
View
@@ -0,0 +1,55 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{resque-timeout}
+ s.version = "1.0.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Jeff Gran"]
+ s.date = %q{2011-03-07}
+ s.description = %q{Resque plugin allowing long-running jobs to automatically fail after a specified time.}
+ s.email = %q{jeff.gran@gmail.com}
+ s.extra_rdoc_files = [
+ "README.md"
+ ]
+ s.files = [
+ "README.md",
+ "Rakefile",
+ "VERSION",
+ "lib/resque-timeout.rb",
+ "lib/resque/plugins/timeout.rb",
+ "spec/resque-timeout_spec.rb",
+ "spec/resque/plugins/timeout_spec.rb",
+ "spec/spec.opts",
+ "spec/spec_helper.rb"
+ ]
+ s.homepage = %q{http://github.com/jeffgran/resque-timeout}
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.7}
+ s.summary = %q{Timeout for long-running jobs in Resque}
+ s.test_files = [
+ "spec/resque-timeout_spec.rb",
+ "spec/resque/plugins/timeout_spec.rb",
+ "spec/spec_helper.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<resque>, ["~> 1.0"])
+ s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
+ else
+ s.add_dependency(%q<resque>, ["~> 1.0"])
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
+ end
+ else
+ s.add_dependency(%q<resque>, ["~> 1.0"])
+ s.add_dependency(%q<rspec>, [">= 1.2.9"])
+ end
+end
+

0 comments on commit a0f3924

Please sign in to comment.