From 1d3abd0c6ce3b296d32cf1195e33804a2ec3c249 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 18 Feb 2017 11:10:22 -0500 Subject: [PATCH] Update Go documentation (1.8.0) --- lib/docs/scrapers/go.rb | 2 +- lib/docs/scrapers/mdn/javascript.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/docs/scrapers/go.rb b/lib/docs/scrapers/go.rb index 5b255747..04a337ed 100644 --- a/lib/docs/scrapers/go.rb +++ b/lib/docs/scrapers/go.rb @@ -1,7 +1,7 @@ module Docs class Go < UrlScraper self.type = 'go' - self.release = '1.7.5' + self.release = '1.8.0' self.base_url = 'https://golang.org/pkg/' self.links = { home: 'https://golang.org/', diff --git a/lib/docs/scrapers/mdn/javascript.rb b/lib/docs/scrapers/mdn/javascript.rb index d8aba904..7c6a1290 100644 --- a/lib/docs/scrapers/mdn/javascript.rb +++ b/lib/docs/scrapers/mdn/javascript.rb @@ -1,5 +1,7 @@ module Docs class Javascript < Mdn + include FixRedirectionsBehavior + self.name = 'JavaScript' self.base_url = 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference'