Skip to content

Commit

Permalink
rake task to make gemspec, and gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
ghazel committed Aug 26, 2009
1 parent 23d7df8 commit 08f9b7c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Rakefile
Expand Up @@ -68,6 +68,10 @@ end

task :default => [:package]

desc 'Show information about the gem.'
task :debug_gem do
puts spec.to_ruby
end

task :upload do
sh "scp -r html/* uehli@rubyforge.org:/var/www/gforge-projects/daemons"
Expand Down
31 changes: 31 additions & 0 deletions daemons.gemspec
@@ -0,0 +1,31 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{daemons}
s.version = "1.0.11"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Thomas Uehlinger"]
s.autorequire = %q{daemons}
s.date = %q{2009-08-26}
s.description = %q{Daemons provides an easy way to wrap existing ruby scripts (for example a self-written server) to be run as a daemon and to be controlled by simple start/stop/restart commands. You can also call blocks as daemons and control them from the parent or just daemonize the current process. Besides this basic functionality, daemons offers many advanced features like exception backtracing and logging (in case your ruby script crashes) and monitoring and automatic restarting of your processes if they crash.}
s.email = %q{th.uehlinger@gmx.ch}
s.extra_rdoc_files = ["README", "Releases", "TODO"]
s.files = ["Rakefile", "Releases", "TODO", "README", "LICENSE", "setup.rb", "lib/daemons.rb", "lib/daemons/cmdline.rb", "lib/daemons/exceptions.rb", "lib/daemons/daemonize.rb", "lib/daemons/pidfile.rb", "lib/daemons/monitor.rb", "lib/daemons/application_group.rb", "lib/daemons/controller.rb", "lib/daemons/pid.rb", "lib/daemons/pidmem.rb", "lib/daemons/application.rb", "examples/run", "examples/run/ctrl_exec.rb", "examples/run/ctrl_exit.rb", "examples/run/ctrl_multiple.rb", "examples/run/myserver_crashing.rb.output", "examples/run/ctrl_normal.rb", "examples/run/ctrl_proc_multiple.rb", "examples/run/ctrl_monitor.rb", "examples/run/myserver.rb", "examples/run/myserver_crashing.rb", "examples/run/ctrl_proc.rb", "examples/run/ctrl_proc.rb.output", "examples/run/ctrl_proc_multiple.rb.output", "examples/run/ctrl_optionparser.rb", "examples/run/ctrl_ontop.rb", "examples/run/myserver_exiting.rb", "examples/run/ctrl_crash.rb", "examples/run/ctrl_proc_simple.rb", "examples/run/ctrl_keep_pid_files.rb", "examples/call", "examples/call/call_monitor.rb", "examples/call/call.rb", "examples/daemonize", "examples/daemonize/daemonize.rb"]
s.has_rdoc = true
s.homepage = %q{http://daemons.rubyforge.org}
s.require_paths = ["lib"]
s.rubyforge_project = %q{daemons}
s.rubygems_version = %q{1.3.1}
s.summary = %q{A toolkit to create and control daemons in different ways}

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else
end
else
end
end

0 comments on commit 08f9b7c

Please sign in to comment.