From ffb39cba54192863cb4d4a240be962ef77f8625a Mon Sep 17 00:00:00 2001 From: Jasper van Merle Date: Tue, 3 Sep 2019 02:31:40 +0200 Subject: [PATCH] Update Nokogiri documentation (1.10.4) --- assets/javascripts/templates/pages/about_tmpl.coffee | 4 ++-- lib/docs/filters/nokogiri2/entries.rb | 4 ++++ lib/docs/scrapers/nokogiri2.rb | 6 +++--- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index cbdb944b..5c5d316f 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -518,9 +518,9 @@ credits = [ 'https://raw.githubusercontent.com/nodejs/node/master/LICENSE' ], [ 'Nokogiri', - '2008-2017 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid', + '2008-2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis', 'MIT', - 'https://raw.githubusercontent.com/sparklemotion/nokogiri/master/LICENSE.txt' + 'https://raw.githubusercontent.com/sparklemotion/nokogiri/master/LICENSE.md' ], [ 'npm', 'npm, Inc. and Contributors
npm is a trademark of npm, Inc.', diff --git a/lib/docs/filters/nokogiri2/entries.rb b/lib/docs/filters/nokogiri2/entries.rb index 642ff73b..dc5348fc 100644 --- a/lib/docs/filters/nokogiri2/entries.rb +++ b/lib/docs/filters/nokogiri2/entries.rb @@ -6,6 +6,10 @@ module Docs type.remove! %r{#.+\z} type.split('::')[0..2].join('::') end + + def include_default_entry? + true + end end end end diff --git a/lib/docs/scrapers/nokogiri2.rb b/lib/docs/scrapers/nokogiri2.rb index 7c28ca92..0bb975c0 100644 --- a/lib/docs/scrapers/nokogiri2.rb +++ b/lib/docs/scrapers/nokogiri2.rb @@ -3,11 +3,11 @@ module Docs # Instructions: # 1. Download the latest release at https://github.com/sparklemotion/nokogiri/releases # 2. Run "bundle install && bundle exec rake docs" (in the Nokogiri directory) - # 4. Copy the "doc" directory to "docs/nokgiri" + # 4. Copy the "doc" directory to "docs/nokogiri" self.name = 'Nokogiri' self.slug = 'nokogiri' - self.release = '1.9.0' + self.release = '1.10.4' html_filters.replace 'rdoc/entries', 'nokogiri2/entries' @@ -16,7 +16,7 @@ module Docs options[:attribution] = <<-HTML © 2008–2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo,
- Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid, Lars Kanis
+ Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis
Licensed under the MIT License. HTML