From: Eric Wong <e@80x24.org>
To: <http_spew-public@bogomips.org>
Subject: [PATCH] gemspec: remove olddoc as a build dependency
Date: Mon, 12 Jun 2017 21:53:37 +0000 [thread overview]
Message-ID: <20170612215337.14827-1-e@80x24.org> (raw)
We do not need to burden potential developers with
installing extra software.
---
http_spew.gemspec | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
diff --git a/http_spew.gemspec b/http_spew.gemspec
index 3ddf3d2..0373c76 100644
--- a/http_spew.gemspec
+++ b/http_spew.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{http_spew}
- s.version = ENV["VERSION"].dup
+ s.version = (ENV['VERSION'] || '0.6.0').dup
s.authors = ["http_spew hackers"]
- s.description = readme_description
+ s.description = File.read('README').split("\n\n")[1]
s.email = %q{http_spew-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.homepage = Olddoc.config['rdoc_url']
- s.summary = summary
+ s.homepage = 'https://bogomips.org/http_spew/'
+ s.summary = 'HTTP Spew - LAN-only HTTP spam^H^H^H^Hclient for Ruby'
s.test_files = Dir["test/test_*.rb"]
s.add_dependency(%q<kcar>, [ "~> 0.3", ">= 0.3.1"])
- s.add_development_dependency(%q<olddoc>, "~> 1.0")
s.required_ruby_version = '>= 2.3'
s.licenses = %w(GPL-2.0+)
end
--
EW
reply other threads:[~2017-06-12 21:53 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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/http_spew/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170612215337.14827-1-e@80x24.org \
--to=e@80x24.org \
--cc=http_spew-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/http_spew.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox