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
22 class Npm < UrlScraper
33 self.name = 'npm'
44 self.type = 'npm'
5− self.release = '3.8.5'
5+ self.release = '3.9.0'
66 self.base_url = 'https://docs.npmjs.com/'
77 self.links = {
88 home: 'https://www.npmjs.com/',
@@ -27,5 +27,11 @@ module Docs · 18 unmodified lines
2727 Licensed under the npm License.<br>
2828 npm is a trademark of npm, Inc.
2929 HTML
30+
31+ private
32+
33+ def request_options
34+ super.merge accept_encoding: 'gzip'
35+ end
3036 end
3137 end