about summary refs log tree commit homepage
path: root/mahoro.gemspec
diff options
context:
space:
mode:
Diffstat (limited to 'mahoro.gemspec')
-rw-r--r--mahoro.gemspec10
1 files changed, 4 insertions, 6 deletions
diff --git a/mahoro.gemspec b/mahoro.gemspec
index 67335c6..9c53052 100644
--- a/mahoro.gemspec
+++ b/mahoro.gemspec
@@ -1,9 +1,7 @@
-ENV["VERSION"] or abort "VERSION= must be specified"
-
 Gem::Specification.new do |s|
   s.name = %q{mahoro}
-  s.version = ENV["VERSION"].dup
-  s.homepage = "http://bogomips.org/mahoro/README"
+  s.version = (ENV['VERSION'] || '0.4').dup
+  s.homepage = "https://yhbt.net/mahoro/README"
   s.authors = [ "Shu-yu Guo", "Eric Wong" ]
   s.description = %{
 An interface to libmagic to determine file types using "magic" numbers.
@@ -11,8 +9,8 @@ This can be used in place of calling the file(1) command in Ruby scripts.
 Shu-yu Guo is the original author but all maintenance is handled by
 Eric Wong nowadays.
 
-source: http://bogomips.org/mahoro.git/
-documentation: http://bogomips.org/mahoro/
+source: https://yhbt.net/mahoro.git/
+documentation: https://yhbt.net/mahoro/
   }.strip
   s.email = %q{normalperson@yhbt.net}
   s.files = `git ls-files`.split(/\n/)