diff options
author | Eric Wong <normalperson@yhbt.net> | 2011-01-19 12:57:42 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2011-01-19 12:58:07 -0800 |
commit | ba49af7c89fabf87c8ea37d67dcdb8b74a1a344f (patch) | |
tree | 360fdc250f02d99969f0263740d47262666251eb | |
parent | 049ceab1d303105bf45951e00437af8979049204 (diff) | |
download | sleepy_penguin-ba49af7c89fabf87c8ea37d67dcdb8b74a1a344f.tar.gz |
Trying to be DRY, but we're sleepy and drool a lot
-rw-r--r-- | Rakefile | 5 | ||||
-rw-r--r-- | sleepy_penguin.gemspec | 2 |
2 files changed, 4 insertions, 3 deletions
@@ -1,6 +1,7 @@ # -*- encoding: binary -*- -cgit_url = "http://git.bogomips.org/cgit/sleepy_penguin.git" -git_url = 'git://git.bogomips.org/sleepy_penguin.git' +require 'wrongdoc' +cgit_url = Wrongdoc.config[:cgit_url] +git_url = Wrongdoc.config[:git_url] desc "post news article to rubyforge" task :publish_news do diff --git a/sleepy_penguin.gemspec b/sleepy_penguin.gemspec index 17fecf4..049a0c4 100644 --- a/sleepy_penguin.gemspec +++ b/sleepy_penguin.gemspec @@ -7,7 +7,7 @@ name, summary, title = readme_metadata Gem::Specification.new do |s| s.name = %q{sleepy_penguin} s.version = ENV["VERSION"].dup - s.homepage = 'http://bogomips.org/sleepy_penguin/' + s.homepage = Wrongdoc.config[:rdoc_url] s.authors = ["#{name} hackers"] s.date = Time.now.utc.strftime('%Y-%m-%d') s.description = readme_description |