History

Update Nokogiri documentation (1.10.4)

Jasper van Merle committed 7 years ago

Commit ffb39cb1 parent c20ad3e3 files · +9 −5Browse files

Unified · Split

3 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +2 −2
  2. lib/docs/filters/nokogiri2/entries.rb +4 −0
  3. lib/docs/scrapers/nokogiri2.rb +3 −3
assets/javascripts/templates/pages/about_tmpl.coffee+2−2
@@ -518,9 +518,9 @@ credits = [ · 517 unmodified lines
518518 'https://raw.githubusercontent.com/nodejs/node/master/LICENSE'
519519 ], [
520520 'Nokogiri',
521− '2008-2017 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid',
521+ '2008-2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis',
522522 'MIT',
523− 'https://raw.githubusercontent.com/sparklemotion/nokogiri/master/LICENSE.txt'
523+ 'https://raw.githubusercontent.com/sparklemotion/nokogiri/master/LICENSE.md'
524524 ], [
525525 'npm',
526526 'npm, Inc. and Contributors<br>npm is a trademark of npm, Inc.',
lib/docs/filters/nokogiri2/entries.rb+4−0
@@ -6,6 +6,10 @@ module Docs · 5 unmodified lines
66 type.remove! %r{#.+\z}
77 type.split('::')[0..2].join('::')
88 end
9+
10+ def include_default_entry?
11+ true
12+ end
913 end
1014 end
1115 end
lib/docs/scrapers/nokogiri2.rb+3−3
@@ -3,11 +3,11 @@ module Docs · 2 unmodified lines
33 # Instructions:
44 # 1. Download the latest release at https://github.com/sparklemotion/nokogiri/releases
55 # 2. Run "bundle install && bundle exec rake docs" (in the Nokogiri directory)
6− # 4. Copy the "doc" directory to "docs/nokgiri"
6+ # 4. Copy the "doc" directory to "docs/nokogiri"
77
88 self.name = 'Nokogiri'
99 self.slug = 'nokogiri'
10− self.release = '1.9.0'
10+ self.release = '1.10.4'
1111
1212 html_filters.replace 'rdoc/entries', 'nokogiri2/entries'
1313
@@ -16,7 +16,7 @@ module Docs · 2 unmodified lines
1616
1717 options[:attribution] = <<-HTML
1818 &copy; 2008&ndash;2018 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo,<br>
19− Patrick Mahoney, Yoko Harada, Akinori Musha, John Shahid, Lars Kanis<br>
19+ Patrick Mahoney, Yoko Harada, Akinori MUSHA, John Shahid, Lars Kanis<br>
2020 Licensed under the MIT License.
2121 HTML
2222