Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (32 sloc) 972 Bytes
require 'rubygems'
require 'rake/gempackagetask'
PLUGIN = "async_observer"
NAME = "async_observer"
VERSION = "0.0.4"
AUTHORS = ["Keith Rarick", "Jamie Macey"]
EMAIL = "jamie.ruby@tracefunc.com"
HOMEPAGE = "http://async-observer.rubyforge.org/"
SUMMARY = "plugin that provides deep integration with Beanstalk"
spec = Gem::Specification.new do |s|
s.name = NAME
s.version = VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.summary = SUMMARY
s.description = s.summary
s.authors = AUTHORS
s.email = EMAIL
s.homepage = HOMEPAGE
# s.add_dependency('merb-core', '>= 0.9.0')
# s.add_dependency('activerecord', '>= 2.1.0')
# s.add_dependency('dm-core', '>= 0.9.0')
s.require_path = 'lib'
s.autorequire = PLUGIN
s.files = %w(COPYING README Rakefile) + Dir.glob("{lib,generators}/**/*")
end
Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end
task :install => [:package] do
sh %{sudo gem install pkg/#{NAME}-#{VERSION}}
end
Something went wrong with that request. Please try again.