resque-forker.gemspec in resque-forker-1.3.0 vs resque-forker.gemspec in resque-forker-2.0.0
- old
+ new
@@ -1,18 +1,19 @@
-$: << File.dirname(__FILE__) + "/lib"
-require "resque/forker"
+$:.unshift File.expand_path(File.dirname(__FILE__) + "/lib")
+require "resque/forker/version"
Gem::Specification.new do |spec|
spec.name = "resque-forker"
spec.version = Resque::Forker::VERSION
spec.author = "Assaf Arkin"
spec.email = "assaf@labnotes.org"
spec.homepage = "http://github.com/flowtown/resque-forker"
spec.summary = "Super awesome forking action for Resque workers"
spec.description = "Use the power of forking to run multiple Resque workers."
spec.post_install_message = ""
+ spec.executables = %w(resque-ctl)
- spec.files = Dir["{lib,script,etc}/**/*", "CHANGELOG", "MIT-LICENSE", "README.rdoc", "Rakefile", "*.gemspec"]
+ spec.files = Dir["{lib,script,etc,bin}/**/*", "CHANGELOG", "MIT-LICENSE", "README.rdoc", "Rakefile", "*.gemspec"]
spec.has_rdoc = true
spec.extra_rdoc_files = "README.rdoc", "CHANGELOG"
spec.rdoc_options = "--title", "Resque Forker #{spec.version}", "--main", "README.rdoc", "--webcvs", spec.homepage