about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--.olddoc.yml11
-rwxr-xr-xGIT-VERSION-GEN2
-rw-r--r--GNUmakefile2
-rw-r--r--HACKING6
-rw-r--r--README18
-rw-r--r--pkg.mk2
-rw-r--r--tdb.gemspec22
7 files changed, 30 insertions, 33 deletions
diff --git a/.olddoc.yml b/.olddoc.yml
index d2259b1..6606292 100644
--- a/.olddoc.yml
+++ b/.olddoc.yml
@@ -1,7 +1,6 @@
 ---
-cgit_url: http://bogomips.org/ruby-tdb.git
-git_url: git://bogomips.org/ruby-tdb.git
-rdoc_url: http://bogomips.org/ruby-tdb/
-ml_url: http://bogomips.org/ruby-tdb-public/
-public_email: ruby-tdb-public@bogomips.org
-private_email: ruby-tdb@bogomips.org
+cgit_url: https://yhbt.net/ruby-tdb.git
+git_url: https://yhbt.net/ruby-tdb.git
+rdoc_url: https://yhbt.net/ruby-tdb/
+ml_url: https://yhbt.net/ruby-tdb-public/
+public_email: ruby-tdb-public@yhbt.net
diff --git a/GIT-VERSION-GEN b/GIT-VERSION-GEN
index 8f60809..bba9a0a 100755
--- a/GIT-VERSION-GEN
+++ b/GIT-VERSION-GEN
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 GVF=GIT-VERSION-FILE
-DEF_VER=v0.6.2
+DEF_VER=v0.6.4
 
 LF='
 '
diff --git a/GNUmakefile b/GNUmakefile
index 22138c8..f878e2e 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -1,5 +1,5 @@
 all::
-RSYNC_DEST := bogomips.org:/srv/bogomips/ruby-tdb
+RSYNC_DEST := yhbt.net:/srv/yhbt/ruby-tdb
 rfpackage := tdb
 
 include pkg.mk
diff --git a/HACKING b/HACKING
index 809cb5f..b517cc2 100644
--- a/HACKING
+++ b/HACKING
@@ -17,7 +17,7 @@ characters wide) and NOT the indentation style of Matz Ruby.
 
 Contributions are welcome in the form of patches, pull requests, code
 review, testing, documentation, user support or any other feedback.  The
-{Ruby TDB mailing list}[mailto:ruby-tdb-public@bogomips.org] is the central
+{Ruby TDB public inbox}[mailto:ruby-tdb-public@yhbt.net] is the
 coordination point for all user and developer feedback and bug reports.
 
 === Submitting Patches
@@ -41,8 +41,8 @@ don't email the git mailing list or maintainer with Ruby TDB patches :)
 * Do not send HTML mail, they will be mercilessly deleted.
 
 When referencing mailing list posts, use
-"http://bogomips.org/ruby-tdb-public/m/$MESSAGE_ID.html" if possible since the
-Message-ID remains searchable even if a particular server becomes unavailable.
+<tt>https://yhbt.net/ruby-tdb-public/<$MESSAGE_ID>/</tt> since the
+Message-ID remains searchable even if a particular site becomes unavailable.
 
 == Running Development Versions
 
diff --git a/README b/README
index 099eda8..7ab9b9d 100644
--- a/README
+++ b/README
@@ -23,7 +23,7 @@ write to the same databases used by Samba!
 == Caveats
 
 These caveats will be addressed upstream in
-{TDB2}[http://mid.gmane.org/201008021002.47351.rusty@rustcorp.com.au]
+{TDB2}[https://marc.info/?i=201008021002.47351.rusty@rustcorp.com.au]
 
 * NOT native thread-safe.  Don't try accessing TDB objects from
   multiple threads at the same time.  This probably needs to be
@@ -49,10 +49,10 @@ The library consists of a C extension so you'll need a C compiler
 and Ruby development libraries/headers.
 
 You may download the tarball from our
-{download site}[http://bogomips.org/ruby-tdb/files/] and run setup.rb after
+{download site}[https://yhbt.net/ruby-tdb/files/] and run setup.rb after
 unpacking it:
 
-  http://bogomips.org/ruby-tdb/files/
+  https://yhbt.net/ruby-tdb/files/
 
 You may also install it via RubyGems on RubyGems.org:
 
@@ -70,13 +70,13 @@ Or if you have a non-standard prefix that linkers normally do not search:
 You can get the latest source via git from the following locations
 (these versions may not be stable):
 
-  git://bogomips.org/ruby-tdb.git
+  git://yhbt.net/ruby-tdb.git
   git://repo.or.cz/ruby-tdb.git (mirror)
 
 You may browse the code from the web and download the latest snapshot
 tarballs here:
 
-* http://bogomips.org/ruby-tdb.git (cgit)
+* https://yhbt.net/ruby-tdb.git
 * http://repo.or.cz/w/ruby-tdb.git (gitweb)
 
 See the HACKING guide on how to contribute and build prerelease gems
@@ -87,22 +87,22 @@ from git.
 All feedback (bug reports, user/development dicussion, patches, pull
 requests) go to the mailing list:
 
-        ruby-tdb-public@bogomips.org
+        ruby-tdb-public@yhbt.net
 
 No subscription is required to post, and HTML will be considered spam
 and rejected.  Subscription is optional, you may subscribe by sending
 a blank email to:
 
-        ruby-tdb-public+subscribe@bogomips.org
+        ruby-tdb-public+subscribe@yhbt.net
 
 And following instructions in the confirmation email.
 Similarly, you may unsubscribe by sending an email to:
 
-        ruby-tdb-public+unsubscribe@bogomips.org
+        ruby-tdb-public+unsubscribe@yhbt.net
 
 Mailing list archives are available at:
 
-        http://bogomips.org/ruby-tdb-public/
+        https://yhbt.net/ruby-tdb-public/
 
 For the latest on tdb releases, you may check our NEWS page (and
 subscribe to our Atom feed).
diff --git a/pkg.mk b/pkg.mk
index 1e40915..cbe6255 100644
--- a/pkg.mk
+++ b/pkg.mk
@@ -60,7 +60,7 @@ doc:: .document .olddoc.yml $(pkg_extra) $(PLACEHOLDERS)
         -find lib -type f -name '*.rbc' -exec rm -f '{}' ';'
         -find ext -type f -name '*.rbc' -exec rm -f '{}' ';'
         $(RM) -r doc
-        $(RDOC) -f oldweb
+        $(RDOC) -f dark216
         $(OLDDOC) merge
         install -m644 COPYING doc/COPYING
         install -m644 NEWS doc/NEWS
diff --git a/tdb.gemspec b/tdb.gemspec
index c472e16..4b88a60 100644
--- a/tdb.gemspec
+++ b/tdb.gemspec
@@ -1,22 +1,20 @@
-ENV["VERSION"] or abort "VERSION= must be specified"
-manifest = File.readlines('.manifest').map! { |x| x.chomp! }
-require 'olddoc'
-extend Olddoc::Gemspec
-name, summary, title = readme_metadata
+manifest = File.exist?('.manifest') ?
+  IO.readlines('.manifest').map!(&:chomp!) : `git ls-files`.split("\n")
 
 Gem::Specification.new do |s|
   s.name = %q{tdb}
-  s.version = ENV["VERSION"].dup
-  s.homepage = 'http://bogomips.org/ruby-tdb/'
+  s.version = (ENV['VERSION'] || '0.6.4').dup
+  s.homepage = 'https://yhbt.net/ruby-tdb/'
   s.authors = ["Ruby tdb hackers"]
-  s.description = readme_description
-  s.email = %q{ruby-tdb@bogomips.org}
-  s.extra_rdoc_files = extra_rdoc_files(manifest)
+  s.description = File.read('README').split("\n\n")[1]
+  s.email = %q{ruby-tdb@yhbt.net}
+  s.extra_rdoc_files = IO.readlines('.document').map!(&:chomp!).keep_if do |f|
+    File.exist?(f)
+  end
   s.files = manifest
-  s.summary = summary
+  s.summary = 'Trivial Database bindings for Ruby'
   s.test_files = Dir['test/test_*.rb']
   s.extensions = %w(ext/tdb/extconf.rb)
-  s.add_development_dependency('olddoc', '~> 1.0')
   s.add_development_dependency('test-unit', '>= 2.0', '< 4.0')
   s.licenses = %w(LGPL-2.1+)
 end