Skip to content

Commit

Permalink
fix readme typo, add gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Gran committed Mar 7, 2011
1 parent 3050acb commit a0f3924
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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
55 changes: 55 additions & 0 deletions resque-timeout.gemspec
@@ -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.