History

Update npm documentation (3.9.0)

Thibaut Courouble committed 10 years ago

Commit cccb6091 parent bca41781 file · +7 −1Browse files

Unified · Split

lib/docs/scrapers/npm.rb+7−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Npm < UrlScraper2 class Npm < UrlScraper
3 self.name = 'npm'3 self.name = 'npm'
4 self.type = 'npm'4 self.type = 'npm'
5 self.release = '3.8.5'5 self.release = '3.9.0'
6 self.base_url = 'https://docs.npmjs.com/'6 self.base_url = 'https://docs.npmjs.com/'
7 self.links = {7 self.links = {
8 home: 'https://www.npmjs.com/',8 home: 'https://www.npmjs.com/',
@@ -27,5 +27,11 @@ module Docs · 18 unmodified lines
27 Licensed under the npm License.<br>27 Licensed under the npm License.<br>
28 npm is a trademark of npm, Inc.28 npm is a trademark of npm, Inc.
29 HTML29 HTML
30
31 private
32
33 def request_options
34 super.merge accept_encoding: 'gzip'
35 end
30 end36 end
31end37end