From c0d431d22ee1e2e69338189f9ce5a4b4abc07e6e Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 10 Jan 2015 04:27:20 +0000 Subject: switch docs + website to olddoc wrongdoc was difficult to maintain because of the tidy-ffi dependency and the HTML5 changes in Darkfish could not be handled well by Tidy. olddoc is superior as it generates leaner HTML which loads faster, requires less scrolling and less processing power to render. Aesthetic comparisons are subjective of course but completely unimportant compared to speed and accessibility. The presence of images and CSS on the old (Darkfish-based) site probably set unreasonable expectations as to my ability and willingness to view such things. No more, the new website is entirely simple HTML which renders well with even the wimpiest browser (hell, olddoc even tries to generate readable raw HTML). --- rainbows.gemspec | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'rainbows.gemspec') diff --git a/rainbows.gemspec b/rainbows.gemspec index 5aa2dce..a2512b3 100644 --- a/rainbows.gemspec +++ b/rainbows.gemspec @@ -1,8 +1,8 @@ # -*- encoding: binary -*- ENV["VERSION"] or abort "VERSION= must be specified" manifest = File.readlines('.manifest').map! { |x| x.chomp! } -require 'wrongdoc' -extend Wrongdoc::Gemspec +require 'olddoc' +extend Olddoc::Gemspec name, summary, title = readme_metadata Gem::Specification.new do |s| @@ -10,16 +10,14 @@ Gem::Specification.new do |s| s.version = ENV["VERSION"].dup s.authors = ["#{name} hackers"] - s.date = Time.now.utc.strftime('%Y-%m-%d') s.description = readme_description s.email = %q{rainbows-public@bogomips.org} s.executables = %w(rainbows) s.extra_rdoc_files = extra_rdoc_files(manifest) s.files = manifest - s.homepage = Wrongdoc.config[:rdoc_url] + s.homepage = Olddoc.config['rdoc_url'] s.summary = summary s.rdoc_options = rdoc_options - s.rubyforge_project = %q{rainbows} # we want a newer Rack for a valid HeaderHash#each s.add_dependency(%q, ['~> 1.1']) @@ -27,13 +25,13 @@ Gem::Specification.new do |s| # kgio 2.5 has kgio_wait_* methods that take optional timeout args s.add_dependency(%q, ['~> 2.5']) - # we need Unicorn for the HTTP parser and process management + # we need unicorn for the HTTP parser and process management # we need unicorn 4.8.0+ since we depend on undocumented/unsupported # unicorn internals. s.add_dependency(%q, ["~> 4.8"]) s.add_development_dependency(%q, "~> 3.1") - s.add_development_dependency(%q, "~> 1.8") + s.add_development_dependency(%q, "~> 1.0") # optional runtime dependencies depending on configuration # see t/test_isolate.rb for the exact versions we've tested with -- cgit v1.2.3-24-ge0c7