From 56c8ae1ba4dc54e4774d8ad3e40c372a674b9e10 Mon Sep 17 00:00:00 2001 From: Kevin Clark Date: Mon, 9 Jul 2007 22:46:21 -0700 Subject: [PATCH] Add extension to gem package --- Rakefile | 4 ++-- ext/{ => kqueue_handler}/extconf.rb | 0 ext/{ => kqueue_handler}/kqueue_handler.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename ext/{ => kqueue_handler}/extconf.rb (100%) rename ext/{ => kqueue_handler}/kqueue_handler.c (100%) diff --git a/Rakefile b/Rakefile index 600af4a..877cc1f 100644 --- a/Rakefile +++ b/Rakefile @@ -2,9 +2,8 @@ require 'rubygems' require 'hoe' -require './lib/god.rb' -Hoe.new('god', God::VERSION) do |p| +Hoe.new('god', '0.1.0') do |p| p.rubyforge_name = 'god' p.author = 'Tom Preston-Werner' p.email = 'tom@rubyisawesome.com' @@ -13,6 +12,7 @@ Hoe.new('god', God::VERSION) do |p| p.description = "God is an easy to configure, easy to extend monitoring framework written in Ruby." p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n") p.extra_deps << ['daemons', '>=1.0.7'] + p.spec_extras = {:extensions => ['ext/kqueue_handler/extconf.rb']} end desc "Open an irb session preloaded with this library" diff --git a/ext/extconf.rb b/ext/kqueue_handler/extconf.rb similarity index 100% rename from ext/extconf.rb rename to ext/kqueue_handler/extconf.rb diff --git a/ext/kqueue_handler.c b/ext/kqueue_handler/kqueue_handler.c similarity index 100% rename from ext/kqueue_handler.c rename to ext/kqueue_handler/kqueue_handler.c -- 2.11.4.GIT