From: wmorgan Date: Sun, 12 Aug 2007 22:14:15 +0000 (+0000) Subject: various hoe/rakefile tweaks X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=929789765c5152c037bb0882b7604ce0c039ee50;p=sup various hoe/rakefile tweaks git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@525 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/Rakefile b/Rakefile index dd06bbc..e88e86c 100644 --- a/Rakefile +++ b/Rakefile @@ -2,7 +2,8 @@ require 'rubygems' require 'hoe' -require './lib/sup' +$:.unshift 'lib' # force loading from ./lib/ if it exists +require 'sup' class Hoe def extra_deps; @extra_deps.reject { |x| Array(x).first == "hoe" } end diff --git a/lib/sup.rb b/lib/sup.rb index 3bdab98..311b401 100644 --- a/lib/sup.rb +++ b/lib/sup.rb @@ -31,7 +31,7 @@ class Module end module Redwood - VERSION = "0" + VERSION = "0.1" BASE_DIR = ENV["SUP_BASE"] || File.join(ENV["HOME"], ".sup") CONFIG_FN = File.join(BASE_DIR, "config.yaml")