http_spew.gemspec in http_spew-0.6.0 vs http_spew.gemspec in http_spew-0.7.0
- old
+ new
@@ -1,23 +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.authors = ["kcar hackers"]
- s.description = readme_description
- s.email = %q{kcar@bogomips.org}
- s.extra_rdoc_files = extra_rdoc_files(manifest)
+ s.version = (ENV['VERSION'] || '0.7.0').dup
+ s.authors = ["http_spew hackers"]
+ s.description = File.read('README').split("\n\n")[1]
+ s.email = %q{http_spew-public@bogomips.org}
+ 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_dependency(%q<kgio>, "~> 2.6")
- s.add_development_dependency(%q<olddoc>, "~> 1.0")
- s.required_ruby_version = '>= 2.1'
+ s.required_ruby_version = '>= 2.3'
s.licenses = %w(GPL-2.0+)
end