about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-01-19 12:57:42 -0800
committerEric Wong <normalperson@yhbt.net>2011-01-19 12:58:07 -0800
commitba49af7c89fabf87c8ea37d67dcdb8b74a1a344f (patch)
tree360fdc250f02d99969f0263740d47262666251eb
parent049ceab1d303105bf45951e00437af8979049204 (diff)
downloadsleepy_penguin-ba49af7c89fabf87c8ea37d67dcdb8b74a1a344f.tar.gz
Trying to be DRY, but we're sleepy and drool a lot
-rw-r--r--Rakefile5
-rw-r--r--sleepy_penguin.gemspec2
2 files changed, 4 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 017d3ec..0737bb2 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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