kgio RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <bofh@yhbt.net>
To: kgio-public@bogomips.org
Subject: [PATCH 1/3] build: remove olddoc from the gemspec
Date: Wed, 25 Dec 2019 22:58:48 +0000	[thread overview]
Message-ID: <20191225225850.7679-1-bofh@yhbt.net> (raw)
In-Reply-To: <20191225224326.GA2242@dcvr>

It's an unnecessary dependency for rebuilding the gem.
---
 HACKING      |  3 ---
 kgio.gemspec | 21 ++++++++++++---------
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/HACKING b/HACKING
index 86adf29..b94f25c 100644
--- a/HACKING
+++ b/HACKING
@@ -2,9 +2,6 @@
 
 === Documentation
 
-We use the latest version of {olddoc}[https://80x24.org/olddoc/] as
-much as possible.
-
 Please wrap documentation at 72 characters-per-line or less (long URLs
 are exempt) so it is comfortably readable from terminals.
 
diff --git a/kgio.gemspec b/kgio.gemspec
index 17100c6..de85c39 100644
--- a/kgio.gemspec
+++ b/kgio.gemspec
@@ -1,23 +1,26 @@
 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
 
 Gem::Specification.new do |s|
   s.name = %q{kgio}
   s.version = ENV["VERSION"].dup
-  s.homepage = Olddoc.config['rdoc_url']
-  s.authors = ["#{name} hackers"]
-  s.description = readme_description
+  s.homepage = 'https://bogomips.org/kgio/'
+  s.authors = ['kgio hackers']
+  s.description = <<EOF
+This is a legacy project, do not use it for new projects.  Ruby
+2.3 and later should make this obsolete.  kgio provides
+non-blocking I/O methods for Ruby without raising exceptions on
+EAGAIN and EINPROGRESS.
+EOF
   s.email = %q{kgio-public@bogomips.org}
-  s.extra_rdoc_files = extra_rdoc_files(manifest)
+  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 = 'kinder, gentler I/O for Ruby'
   s.test_files = Dir['test/test_*.rb']
   s.extensions = %w(ext/kgio/extconf.rb)
 
-  s.add_development_dependency('olddoc', '~> 1.0')
   s.add_development_dependency('test-unit', '~> 3.0')
   # s.add_development_dependency('strace_me', '~> 1.0') # Linux only
 

  reply	other threads:[~2019-12-25 22:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-25 22:43 bogomips.org -> yhbt.net Eric Wong
2019-12-25 22:58 ` Eric Wong [this message]
2019-12-25 22:58   ` [PATCH 2/3] doc: remove private email and outdated gmane archives Eric Wong
2019-12-25 22:58   ` [PATCH 3/3] doc: move from bogomips.org/kgio to yhbt.net/kgio Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/kgio/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191225225850.7679-1-bofh@yhbt.net \
    --to=bofh@yhbt.net \
    --cc=kgio-public@bogomips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/kgio.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).