From 4d91cb3af15e4cc11c5cf339475e3b26908d2583 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 31 Mar 2018 17:12:28 -0400 Subject: [PATCH 01/34] Bump Ruby 2.5.1 --- .ruby-version | 2 +- Dockerfile | 2 +- Dockerfile-alpine | 2 +- Gemfile | 2 +- Gemfile.lock | 2 +- README.md | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.ruby-version b/.ruby-version index fad066f8..4fd0fe3c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.5.0 \ No newline at end of file +2.5.1 \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 3074d187..7a2efbbc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.5.0 +FROM ruby:2.5.1 WORKDIR /devdocs diff --git a/Dockerfile-alpine b/Dockerfile-alpine index e687e163..73c45225 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,4 +1,4 @@ -FROM ruby:2.5.0-alpine +FROM ruby:2.5.1-alpine WORKDIR /devdocs diff --git a/Gemfile b/Gemfile index 205cee8c..4abed23f 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -ruby '2.5.0' +ruby '2.5.1' gem 'rake' gem 'thor' diff --git a/Gemfile.lock b/Gemfile.lock index 6f97bddf..97e46ca9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -154,7 +154,7 @@ DEPENDENCIES yajl-ruby RUBY VERSION - ruby 2.5.0p0 + ruby 2.5.1p57 BUNDLED WITH 1.16.1 diff --git a/README.md b/README.md index 5c16f9b5..119c6fe1 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Unless you wish to contribute to the project, I recommend using the hosted versi DevDocs is made of two pieces: a Ruby scraper that generates the documentation and metadata, and a JavaScript app powered by a small Sinatra app. -DevDocs requires Ruby 2.5.0, libcurl, and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). Once you have these installed, run the following commands: +DevDocs requires Ruby 2.5.1, libcurl, and a JavaScript runtime supported by [ExecJS](https://github.com/rails/execjs#readme) (included in OS X and Windows; [Node.js](https://nodejs.org/en/) on Linux). Once you have these installed, run the following commands: ``` git clone https://github.com/freeCodeCamp/devdocs.git && cd devdocs From 4d3e78774fb3d1c34729fd78170c58fc1cd5ad23 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 09:22:04 -0400 Subject: [PATCH 02/34] Update gems --- Gemfile | 2 +- Gemfile.lock | 36 ++++++++++++++++++------------------ 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/Gemfile b/Gemfile index 4abed23f..567d4c09 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ ruby '2.5.1' gem 'rake' gem 'thor' gem 'pry', '~> 0.11.0' -gem 'activesupport', '~> 5.1', require: false +gem 'activesupport', '~> 5.2', require: false gem 'yajl-ruby', require: false group :app do diff --git a/Gemfile.lock b/Gemfile.lock index 97e46ca9..702ab535 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,17 +1,17 @@ GEM remote: https://rubygems.org/ specs: - activesupport (5.1.5) + activesupport (5.2.0) concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (~> 0.7) + i18n (>= 0.7, < 2) minitest (~> 5.1) tzinfo (~> 1.1) - backports (3.11.1) + backports (3.11.3) better_errors (2.4.0) coderay (>= 1.0.0) erubi (>= 1.0.0) rack (>= 0.9.0) - browser (2.5.2) + browser (2.5.3) coderay (1.1.2) coffee-script (2.4.1) coffee-script-source @@ -19,7 +19,7 @@ GEM coffee-script-source (1.12.2) concurrent-ruby (1.0.5) daemons (1.2.6) - erubi (1.7.0) + erubi (1.7.1) ethon (0.11.0) ffi (>= 1.3.0) eventmachine (1.2.5) @@ -28,10 +28,10 @@ GEM ffi (1.9.23) fspath (3.1.0) highline (1.7.10) - html-pipeline (2.7.1) + html-pipeline (2.7.2) activesupport (>= 2) nokogiri (>= 1.4) - i18n (0.9.5) + i18n (1.0.1) concurrent-ruby (~> 1.0) image_optim (0.26.1) exifr (~> 1.2, >= 1.2.2) @@ -39,7 +39,7 @@ GEM image_size (~> 1.5) in_threads (~> 1.3) progress (~> 3.0, >= 3.0.1) - image_optim_pack (0.5.0.20180124) + image_optim_pack (0.5.0.20180419) fspath (>= 2.1, < 4) image_optim (~> 0.19) image_size (1.5.0) @@ -49,7 +49,7 @@ GEM minitest (5.11.3) multi_json (1.13.1) mustermann (1.0.2) - newrelic_rpm (4.8.0.341) + newrelic_rpm (5.0.0.342) nokogiri (1.8.2) mini_portile2 (~> 2.3.0) options (2.3.2) @@ -60,17 +60,17 @@ GEM pry (0.11.3) coderay (~> 1.1.0) method_source (~> 0.9.0) - rack (2.0.4) + rack (2.0.5) rack-protection (2.0.1) rack - rack-test (0.8.2) + rack-test (1.0.0) rack (>= 1.0, < 3) - rake (12.3.0) - rb-fsevent (0.10.2) + rake (12.3.1) + rb-fsevent (0.10.3) rb-inotify (0.9.10) ffi (>= 0.5.0, < 2) rr (1.2.1) - sass (3.5.5) + sass (3.5.6) sass-listen (~> 4.0.0) sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) @@ -112,18 +112,18 @@ GEM ethon (>= 0.9.0) tzinfo (1.2.5) thread_safe (~> 0.1) - uglifier (4.1.6) + uglifier (4.1.10) execjs (>= 0.3.0, < 3) - unicode-display_width (1.3.0) + unicode-display_width (1.3.2) unicode_utils (1.4.0) unix_utils (0.0.15) - yajl-ruby (1.3.1) + yajl-ruby (1.4.0) PLATFORMS ruby DEPENDENCIES - activesupport (~> 5.1) + activesupport (~> 5.2) better_errors browser coffee-script From 91fc23904615e04cb940aeb5789d7721d1281963 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 09:48:23 -0400 Subject: [PATCH 03/34] Update Apache HTTP Server documentation (2.4.33) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/apache.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 2c5affa0..078f694b 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -97,7 +97,7 @@ credits = [ 'https://raw.githubusercontent.com/ansible/ansible/devel/COPYING' ], [ 'Apache HTTP Server
Apache Pig', - '2017 The Apache Software Foundation
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.', + '2018 The Apache Software Foundation
Apache and the Apache feather logo are trademarks of The Apache Software Foundation.', 'Apache', 'https://www.apache.org/licenses/LICENSE-2.0' ], [ diff --git a/lib/docs/scrapers/apache.rb b/lib/docs/scrapers/apache.rb index 23ac7a5a..596e6703 100644 --- a/lib/docs/scrapers/apache.rb +++ b/lib/docs/scrapers/apache.rb @@ -3,7 +3,7 @@ module Docs self.name = 'Apache HTTP Server' self.slug = 'apache_http_server' self.type = 'apache' - self.release = '2.4.29' + self.release = '2.4.33' self.base_url = 'https://httpd.apache.org/docs/2.4/en/' self.links = { home: 'https://httpd.apache.org/' @@ -30,7 +30,7 @@ module Docs /\Adeveloper\// ] options[:attribution] = <<-HTML - © 2017 The Apache Software Foundation
+ © 2018 The Apache Software Foundation
Licensed under the Apache License, Version 2.0. HTML end From 9a6448f122d02804950d61e32b270cb36d87356b Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 09:49:52 -0400 Subject: [PATCH 04/34] Update Bootstrap documentation (4.1.0) --- lib/docs/scrapers/bootstrap.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/bootstrap.rb b/lib/docs/scrapers/bootstrap.rb index 859998a9..6f48e7a6 100644 --- a/lib/docs/scrapers/bootstrap.rb +++ b/lib/docs/scrapers/bootstrap.rb @@ -16,7 +16,7 @@ module Docs HTML version '4' do - self.release = '4.0.0' + self.release = '4.1.0' self.base_url = 'https://getbootstrap.com/docs/4.0/' self.root_path = 'getting-started/introduction/' From d478fb4d832f585393b94a60a8f7250915cfeed9 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 09:50:35 -0400 Subject: [PATCH 05/34] Update Bower documentation (1.8.4) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/bower.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 078f694b..a36c27fa 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -132,7 +132,7 @@ credits = [ 'https://raw.githubusercontent.com/bottlepy/bottle/master/LICENSE' ], [ 'Bower', - '2017 Bower contributors', + '2018 Bower contributors', 'MIT', 'https://github.com/bower/bower.github.io/blob/1057905c18d899106f91372e6cca7ef54a91d60f/package.json#L20' ], [ diff --git a/lib/docs/scrapers/bower.rb b/lib/docs/scrapers/bower.rb index 45c96a55..a86f5449 100644 --- a/lib/docs/scrapers/bower.rb +++ b/lib/docs/scrapers/bower.rb @@ -2,7 +2,7 @@ module Docs class Bower < UrlScraper self.name = 'Bower' self.type = 'bower' - self.release = '1.8.2' + self.release = '1.8.4' self.base_url = 'https://bower.io/docs/' self.root_path = 'api' self.links = { @@ -16,7 +16,7 @@ module Docs options[:skip] = %w(tools about) options[:attribution] = <<-HTML - © 2017 Bower contributors
+ © 2018 Bower contributors
Licensed under the MIT License. HTML end From 587124a0b29609e3b9cdf8a1d35bbfb99b75185a Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 09:55:28 -0400 Subject: [PATCH 06/34] Update CakePHP documentation (3.6.2) --- assets/javascripts/templates/pages/about_tmpl.coffee | 4 ++-- lib/docs/scrapers/cakephp.rb | 9 +++++++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index a36c27fa..fbe64eae 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -142,9 +142,9 @@ credits = [ 'http://en.cppreference.com/w/Cppreference:Copyright/CC-BY-SA' ], [ 'CakePHP', - '2005-2017 The Cake Software Foundation, Inc.', + '2005-2018 The Cake Software Foundation, Inc.', 'MIT', - 'https://raw.githubusercontent.com/cakephp/cakephp/master/LICENSE.txt' + 'https://raw.githubusercontent.com/cakephp/cakephp/master/LICENSE' ], [ 'Chai', '2016 Chai.js Assertion Library', diff --git a/lib/docs/scrapers/cakephp.rb b/lib/docs/scrapers/cakephp.rb index f24a346d..08dbead0 100644 --- a/lib/docs/scrapers/cakephp.rb +++ b/lib/docs/scrapers/cakephp.rb @@ -15,14 +15,19 @@ module Docs options[:skip_patterns] = [/\Asource-/] options[:attribution] = <<-HTML - © 2005–2017 The Cake Software Foundation, Inc.
+ © 2005–2018 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP. HTML + version '3.6' do + self.release = '3.6.2' + self.base_url = 'https://api.cakephp.org/3.6/' + end + version '3.5' do - self.release = '3.5.2' + self.release = '3.5.15' self.base_url = 'https://api.cakephp.org/3.5/' end From 47591b9239ce2bb31cc323b5482ab8e528b16689 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:01:25 -0400 Subject: [PATCH 07/34] Update D3.js documentation (5.1.0) --- .../templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/d3.rb | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index fbe64eae..2b26413c 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -207,7 +207,7 @@ credits = [ 'https://raw.githubusercontent.com/dlang/phobos/master/LICENSE_1_0.txt' ], [ 'D3.js', - '2010-2017 Michael Bostock', + '2010-2018 Michael Bostock', 'BSD', 'https://raw.githubusercontent.com/d3/d3/master/LICENSE' ], [ diff --git a/lib/docs/scrapers/d3.rb b/lib/docs/scrapers/d3.rb index d222d64f..cec2671d 100644 --- a/lib/docs/scrapers/d3.rb +++ b/lib/docs/scrapers/d3.rb @@ -12,10 +12,26 @@ module Docs options[:container] = '.markdown-body' options[:attribution] = <<-HTML - © 2010–2017 Michael Bostock
+ © 2010–2018 Michael Bostock
Licensed under the BSD License. HTML + version '5' do + self.release = '5.1.0' + self.base_url = 'https://github.com/d3/' + self.root_path = 'd3/blob/master/API.md' + + html_filters.push 'd3/clean_html', 'd3/entries_v4' + + options[:only_patterns] = [/\Ad3[\-\w]+\z/, /\Ad3\/blob\/master\/changes\.md\z/i] + options[:skip_patterns] = [/3\.x-api-reference/] + + options[:fix_urls] = ->(url) do + url.sub! %r{/blob/master/readme.md}i, '' + url + end + end + version '4' do self.release = '4.12.2' self.base_url = 'https://github.com/d3/' From f08ae6131ecc79895337d4b8077919218022f5ff Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:02:02 -0400 Subject: [PATCH 08/34] Update Git documentation (2.17.0) --- lib/docs/scrapers/git.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/git.rb b/lib/docs/scrapers/git.rb index ec9fe7da..a72b7eb1 100644 --- a/lib/docs/scrapers/git.rb +++ b/lib/docs/scrapers/git.rb @@ -1,7 +1,7 @@ module Docs class Git < UrlScraper self.type = 'git' - self.release = '2.16.2' + self.release = '2.17.0' self.base_url = 'https://git-scm.com/docs' self.initial_paths = %w(/git.html) self.links = { From 11f685ff79b9248fa66f39888d6e00ef471a7ea3 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:04:40 -0400 Subject: [PATCH 09/34] Update Go documentation (1.10.1) --- lib/docs/scrapers/go.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/docs/scrapers/go.rb b/lib/docs/scrapers/go.rb index c050e617..272b94b5 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.10.0' + self.release = '1.10.1' self.base_url = 'https://golang.org/pkg/' self.links = { home: 'https://golang.org/', @@ -15,6 +15,10 @@ module Docs options[:skip] = %w(runtime/msan/) options[:skip_patterns] = [/\/\//] + options[:fix_urls] = ->(url) do + url.sub 'https://golang.org/pkg//', 'https://golang.org/pkg/' + end + options[:attribution] = <<-HTML © Google, Inc.
Licensed under the Creative Commons Attribution License 3.0. From 04382a7fa465eac45d55e3636992ccca29f3ff85 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:05:13 -0400 Subject: [PATCH 10/34] Update Jasmine documentation (3.1.0) --- lib/docs/scrapers/jasmine.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/jasmine.rb b/lib/docs/scrapers/jasmine.rb index 7677b989..3be0163a 100644 --- a/lib/docs/scrapers/jasmine.rb +++ b/lib/docs/scrapers/jasmine.rb @@ -1,7 +1,7 @@ module Docs class Jasmine < UrlScraper self.type = 'jasmine' - self.release = '3.0.0' + self.release = '3.1.0' self.base_url = 'https://jasmine.github.io/api/3.0/' self.root_path = 'index.html' self.links = { From e7d3a9379556f024c777634b50ffe1ba0e141971 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:05:46 -0400 Subject: [PATCH 11/34] Update Jest documentation (22.4.2) --- lib/docs/scrapers/jest.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/jest.rb b/lib/docs/scrapers/jest.rb index c0c74694..927c0807 100644 --- a/lib/docs/scrapers/jest.rb +++ b/lib/docs/scrapers/jest.rb @@ -1,7 +1,7 @@ module Docs class Jest < UrlScraper self.type = 'jest' - self.release = '22.3.0' + self.release = '22.4.2' self.base_url = 'https://facebook.github.io/jest/docs/en/' self.root_path = 'getting-started.html' self.links = { From fdb1ecc3c53f92b60ff969e3caa7306a6ef0fc35 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:09:30 -0400 Subject: [PATCH 12/34] Update jQuery documentation (3.3.1) --- lib/docs/scrapers/jquery/jquery_core.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/docs/scrapers/jquery/jquery_core.rb b/lib/docs/scrapers/jquery/jquery_core.rb index dd5ed601..20aca0dc 100644 --- a/lib/docs/scrapers/jquery/jquery_core.rb +++ b/lib/docs/scrapers/jquery/jquery_core.rb @@ -1,9 +1,13 @@ module Docs class JqueryCore < Jquery self.name = 'jQuery' - self.release = 'up to 3.3.1' + self.release = '3.3.1' self.base_url = 'https://api.jquery.com/' self.initial_paths = %w(/index/index) + self.links = { + home: 'https://jquery.com/', + code: 'https://github.com/jquery/jquery' + } html_filters.insert_before 'jquery/clean_html', 'jquery_core/entries' From 9d014283cb3390d80653ddc5ca6407c691a6726c Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:14:08 -0400 Subject: [PATCH 13/34] Update lodash documentation (4.17.10) --- lib/docs/scrapers/lodash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/lodash.rb b/lib/docs/scrapers/lodash.rb index c809c7af..fa566e5e 100644 --- a/lib/docs/scrapers/lodash.rb +++ b/lib/docs/scrapers/lodash.rb @@ -19,7 +19,7 @@ module Docs HTML version '4' do - self.release = '4.17.5' + self.release = '4.17.10' self.base_url = "https://lodash.com/docs/#{release}" end From 8dc222b0e7eaf7bd78dbf1e8ce150130ef4bf275 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:15:36 -0400 Subject: [PATCH 14/34] Update Moment.js documentation (2.22.1) --- lib/docs/scrapers/moment.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/moment.rb b/lib/docs/scrapers/moment.rb index 5cb19a9d..88df0d14 100644 --- a/lib/docs/scrapers/moment.rb +++ b/lib/docs/scrapers/moment.rb @@ -3,7 +3,7 @@ module Docs self.name = 'Moment.js' self.slug = 'moment' self.type = 'moment' - self.release = '2.21.0' + self.release = '2.22.1' self.base_url = 'http://momentjs.com' self.root_path = '/docs/' self.initial_paths = %w(/guides/) From a737d3413c545e432bff6854be60f0527acb0f93 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:16:33 -0400 Subject: [PATCH 15/34] Update Kotlin documentation (1.2.41) --- lib/docs/scrapers/kotlin.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/kotlin.rb b/lib/docs/scrapers/kotlin.rb index e5915075..415393d1 100644 --- a/lib/docs/scrapers/kotlin.rb +++ b/lib/docs/scrapers/kotlin.rb @@ -1,7 +1,7 @@ module Docs class Kotlin < UrlScraper self.type = 'kotlin' - self.release = '1.2.21' + self.release = '1.2.41' self.base_url = 'https://kotlinlang.org/' self.root_path = 'api/latest/jvm/stdlib/index.html' self.links = { From e2d86a5f0ca688321bcaaad02e479dab49e92b39 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:18:18 -0400 Subject: [PATCH 16/34] Update nginx documentation (1.14.0) --- lib/docs/scrapers/nginx.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/nginx.rb b/lib/docs/scrapers/nginx.rb index 4e9b7e40..e080a53f 100644 --- a/lib/docs/scrapers/nginx.rb +++ b/lib/docs/scrapers/nginx.rb @@ -2,7 +2,7 @@ module Docs class Nginx < UrlScraper self.name = 'nginx' self.type = 'nginx' - self.release = '1.13.10' + self.release = '1.14.0' self.base_url = 'https://nginx.org/en/docs/' self.links = { home: 'https://nginx.org/', From 9076212f0047c08792714f9dd01c192962aaad33 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:18:58 -0400 Subject: [PATCH 17/34] Update nginx / Lua Module documentation (0.10.13) --- lib/docs/scrapers/nginx_lua_module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/nginx_lua_module.rb b/lib/docs/scrapers/nginx_lua_module.rb index 49592dff..f4943f62 100644 --- a/lib/docs/scrapers/nginx_lua_module.rb +++ b/lib/docs/scrapers/nginx_lua_module.rb @@ -2,7 +2,7 @@ module Docs class NginxLuaModule < Github self.name = 'nginx / Lua Module' self.slug = 'nginx_lua_module' - self.release = '0.10.11' + self.release = '0.10.13' self.base_url = "https://github.com/openresty/lua-nginx-module/tree/v#{self.release}/" html_filters.push 'nginx_lua_module/clean_html', 'nginx_lua_module/entries', 'title' From 97c4ace5e25d8aea333256d554cb4e04f7fa3bdd Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:22:26 -0400 Subject: [PATCH 18/34] Update Node.js documentation (10.0.0) --- lib/docs/scrapers/node.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/docs/scrapers/node.rb b/lib/docs/scrapers/node.rb index fdaf23d2..8f060a79 100644 --- a/lib/docs/scrapers/node.rb +++ b/lib/docs/scrapers/node.rb @@ -23,12 +23,12 @@ module Docs HTML version do - self.release = '9.8.0' - self.base_url = 'https://nodejs.org/dist/latest-v9.x/docs/api/' + self.release = '10.0.0' + self.base_url = 'https://nodejs.org/dist/latest-v10.x/docs/api/' end version '8 LTS' do - self.release = '8.10.0' + self.release = '8.11.1' self.base_url = 'https://nodejs.org/dist/latest-v8.x/docs/api/' end From 9b8ec29ae0825e03b8df0327f6e791153eeb94f9 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:24:16 -0400 Subject: [PATCH 19/34] Update npm documentation (6.0.0) --- lib/docs/scrapers/npm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/npm.rb b/lib/docs/scrapers/npm.rb index 67371180..7d16185e 100644 --- a/lib/docs/scrapers/npm.rb +++ b/lib/docs/scrapers/npm.rb @@ -2,7 +2,7 @@ module Docs class Npm < UrlScraper self.name = 'npm' self.type = 'npm' - self.release = '5.8.0' + self.release = '6.0.0' self.base_url = 'https://docs.npmjs.com/' self.force_gzip = true self.links = { From efb10a56331d7fa4fa1fe02817eb13aa2189b01b Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:27:05 -0400 Subject: [PATCH 20/34] Update NumPy documentation (1.14.2) --- lib/docs/scrapers/numpy.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/docs/scrapers/numpy.rb b/lib/docs/scrapers/numpy.rb index 2d82cb03..0756e062 100644 --- a/lib/docs/scrapers/numpy.rb +++ b/lib/docs/scrapers/numpy.rb @@ -26,6 +26,11 @@ module Docs Licensed under the NumPy License. HTML + version '1.14' do + self.release = '1.14.2' + self.base_url = "https://docs.scipy.org/doc/numpy-#{self.release}/reference/" + end + version '1.13' do self.release = '1.13.0' self.base_url = "https://docs.scipy.org/doc/numpy-#{self.release}/reference/" From 6152b23468a8dd638ce6f42477bdfb6c598eacac Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:27:34 -0400 Subject: [PATCH 21/34] Update Phoenix documentation (1.3.2) --- lib/docs/scrapers/phoenix.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/phoenix.rb b/lib/docs/scrapers/phoenix.rb index efe1b947..a3760c44 100644 --- a/lib/docs/scrapers/phoenix.rb +++ b/lib/docs/scrapers/phoenix.rb @@ -1,7 +1,7 @@ module Docs class Phoenix < UrlScraper self.type = 'elixir' - self.release = '1.3.0' + self.release = '1.3.2' self.base_url = 'https://hexdocs.pm/' self.root_path = 'phoenix/Phoenix.html' self.initial_paths = %w( From 45d6f2398e9a2bd0a47b06b7e0e4ad01952c883d Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:31:30 -0400 Subject: [PATCH 22/34] Update PostgreSQL documentation (10.3) --- lib/docs/scrapers/postgresql.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/postgresql.rb b/lib/docs/scrapers/postgresql.rb index f81d75f0..109685ba 100644 --- a/lib/docs/scrapers/postgresql.rb +++ b/lib/docs/scrapers/postgresql.rb @@ -56,7 +56,7 @@ module Docs HTML version '10' do - self.release = '10.2' + self.release = '10.3' self.base_url = 'https://www.postgresql.org/docs/10/static/' end From a94991071ea9771c07a038108e7249a61291686b Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:38:07 -0400 Subject: [PATCH 23/34] Update React documentation (16.3.0) --- lib/docs/filters/react/entries.rb | 1 + lib/docs/scrapers/react.rb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/docs/filters/react/entries.rb b/lib/docs/filters/react/entries.rb index b178e057..84702167 100644 --- a/lib/docs/filters/react/entries.rb +++ b/lib/docs/filters/react/entries.rb @@ -7,6 +7,7 @@ module Docs def get_type link = at_css("nav a[href='#{result[:path].split('/').last}']") + return 'Miscellaneous' unless link link.ancestors('ul').last.previous_element.content end diff --git a/lib/docs/scrapers/react.rb b/lib/docs/scrapers/react.rb index 6bf26299..436b5614 100644 --- a/lib/docs/scrapers/react.rb +++ b/lib/docs/scrapers/react.rb @@ -2,7 +2,7 @@ module Docs class React < UrlScraper self.name = 'React' self.type = 'simple' - self.release = '16.2.0' + self.release = '16.3.0' self.base_url = 'https://reactjs.org/docs/' self.root_path = 'hello-world.html' self.links = { From 5b2ff8bd37a09aab5538b2caeaa4ee66c1a663cc Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:38:44 -0400 Subject: [PATCH 24/34] Update Redis documentation (4.0.9) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/redis.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 2b26413c..120e6619 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -557,7 +557,7 @@ credits = [ 'https://raw.githubusercontent.com/reactjs/reactjs.org/master/LICENSE-DOCS.md' ], [ 'Redis', - '2009-2017 Salvatore Sanfilippo', + '2009-2018 Salvatore Sanfilippo', 'CC BY-SA', 'https://creativecommons.org/licenses/by-sa/4.0/' ], [ diff --git a/lib/docs/scrapers/redis.rb b/lib/docs/scrapers/redis.rb index 714facb9..0314e273 100644 --- a/lib/docs/scrapers/redis.rb +++ b/lib/docs/scrapers/redis.rb @@ -1,7 +1,7 @@ module Docs class Redis < UrlScraper self.type = 'redis' - self.release = '4.0.6' + self.release = '4.0.9' self.base_url = 'https://redis.io/commands' self.links = { home: 'https://redis.io/', @@ -16,7 +16,7 @@ module Docs options[:follow_links] = ->(filter) { filter.root_page? } options[:attribution] = <<-HTML - © 2009–2017 Salvatore Sanfilippo
+ © 2009–2018 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0. HTML end From ac28bc0fb62dcda08121fc830d6d03a19fe795b4 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:57:49 -0400 Subject: [PATCH 25/34] Update Ruby on Rails documentation (5.2.0) --- lib/docs/scrapers/rdoc/rails.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/docs/scrapers/rdoc/rails.rb b/lib/docs/scrapers/rdoc/rails.rb index b987f8b1..d0365b50 100644 --- a/lib/docs/scrapers/rdoc/rails.rb +++ b/lib/docs/scrapers/rdoc/rails.rb @@ -56,23 +56,27 @@ module Docs options[:attribution] = ->(filter) do if filter.slug.start_with?('guides') <<-HTML - © 2004–2017 David Heinemeier Hansson
+ © 2004–2018 David Heinemeier Hansson
Licensed under the Creative Commons Attribution-ShareAlike 4.0 International License. HTML else <<-HTML - © 2004–2017 David Heinemeier Hansson
+ © 2004–2018 David Heinemeier Hansson
Licensed under the MIT License. HTML end end + version '5.2' do + self.release = '5.2.0' + end + version '5.1' do - self.release = '5.1.4' + self.release = '5.1.6' end version '5.0' do - self.release = '5.0.6' + self.release = '5.0.7' end version '4.2' do From 65b0c16f81f9c5678113ad7aa03a88cc901c12a5 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 10:59:33 -0400 Subject: [PATCH 26/34] Update Sinon.JS documentation (4.5.0) --- lib/docs/scrapers/sinon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/sinon.rb b/lib/docs/scrapers/sinon.rb index df566a07..23b31480 100644 --- a/lib/docs/scrapers/sinon.rb +++ b/lib/docs/scrapers/sinon.rb @@ -19,7 +19,7 @@ module Docs HTML version '4' do - self.release = '4.4.2' + self.release = '4.5.0' self.base_url = "http://sinonjs.org/releases/v#{release}/" end From 537d526ae738ee84faf69200742f6f4192aed62e Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 11:00:32 -0400 Subject: [PATCH 27/34] Update Rust documentation (1.25.0) --- lib/docs/scrapers/rust.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/rust.rb b/lib/docs/scrapers/rust.rb index 92a07d2d..a79683c1 100644 --- a/lib/docs/scrapers/rust.rb +++ b/lib/docs/scrapers/rust.rb @@ -1,7 +1,7 @@ module Docs class Rust < UrlScraper self.type = 'rust' - self.release = '1.24.0' + self.release = '1.25.0' self.base_url = 'https://doc.rust-lang.org/' self.root_path = 'book/first-edition/index.html' self.initial_paths = %w( From eeb30071b342d6cc36f951505bdc47e2b656fb76 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 11:02:01 -0400 Subject: [PATCH 28/34] Update SQLite documentation (3.23.1) --- lib/docs/scrapers/sqlite.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/sqlite.rb b/lib/docs/scrapers/sqlite.rb index 5ac22797..020f84bc 100644 --- a/lib/docs/scrapers/sqlite.rb +++ b/lib/docs/scrapers/sqlite.rb @@ -2,7 +2,7 @@ module Docs class Sqlite < FileScraper self.name = 'SQLite' self.type = 'sqlite' - self.release = '3.22.0' + self.release = '3.23.1' self.dir = '/Users/Thibaut/DevDocs/Docs/sqlite/' self.base_url = 'https://sqlite.org/' self.root_path = 'docs.html' From 2114243df6a59c7ec41e8684aed467bde44885b0 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 11:03:25 -0400 Subject: [PATCH 29/34] Update TypeScript documentation (2.8.3) --- lib/docs/scrapers/typescript.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/typescript.rb b/lib/docs/scrapers/typescript.rb index 68e1e16a..2500aeb1 100644 --- a/lib/docs/scrapers/typescript.rb +++ b/lib/docs/scrapers/typescript.rb @@ -2,7 +2,7 @@ module Docs class Typescript < UrlScraper self.name = 'TypeScript' self.type = 'typescript' - self.release = '2.7.2' + self.release = '2.8.3' self.base_url = 'https://www.typescriptlang.org/docs/' self.root_path = 'tutorial.html' self.links = { From 4eb71d5663240e51a7bb519b084eeb55f1d9f760 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 11:03:44 -0400 Subject: [PATCH 30/34] Update Underscore.js documentation (1.9.0) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/underscore.rb | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index 120e6619..a3623c89 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -652,7 +652,7 @@ credits = [ 'https://raw.githubusercontent.com/Microsoft/TypeScript-Handbook/master/LICENSE' ], [ 'Underscore.js', - '2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors', + '2009-2017 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors', 'MIT', 'https://raw.githubusercontent.com/jashkenas/underscore/master/LICENSE' ], [ diff --git a/lib/docs/scrapers/underscore.rb b/lib/docs/scrapers/underscore.rb index 9652b10d..ac9ecf81 100644 --- a/lib/docs/scrapers/underscore.rb +++ b/lib/docs/scrapers/underscore.rb @@ -3,8 +3,12 @@ module Docs self.name = 'Underscore.js' self.slug = 'underscore' self.type = 'underscore' - self.release = '1.8.3' + self.release = '1.9.0' self.base_url = 'http://underscorejs.org' + self.links = { + home: 'http://underscorejs.org', + code: 'https://github.com/jashkenas/underscore' + } html_filters.push 'underscore/clean_html', 'underscore/entries', 'title' @@ -13,7 +17,7 @@ module Docs options[:skip_links] = true options[:attribution] = <<-HTML - © 2009–2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
+ © 2009–2017 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
Licensed under the MIT License. HTML end From 6920fbad519317d5a28c41d0385e5d1ba65c6958 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 11:04:55 -0400 Subject: [PATCH 31/34] Update Vagrant documentation (2.0.4) --- lib/docs/scrapers/vagrant.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/vagrant.rb b/lib/docs/scrapers/vagrant.rb index febb7229..6bf2219d 100644 --- a/lib/docs/scrapers/vagrant.rb +++ b/lib/docs/scrapers/vagrant.rb @@ -2,7 +2,7 @@ module Docs class Vagrant < UrlScraper self.name = 'Vagrant' self.type = 'vagrant' - self.release = '2.0.2' + self.release = '2.0.4' self.base_url = 'https://www.vagrantup.com/docs/' self.root_path = 'index.html' self.links = { From 0e188e3b116e9aa8f11d5cbae942e95334e8071f Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 11:05:32 -0400 Subject: [PATCH 32/34] Update Vue.js documentation (2.5.16) --- assets/javascripts/templates/pages/about_tmpl.coffee | 2 +- lib/docs/scrapers/vue.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee index a3623c89..5200650b 100644 --- a/assets/javascripts/templates/pages/about_tmpl.coffee +++ b/assets/javascripts/templates/pages/about_tmpl.coffee @@ -662,7 +662,7 @@ credits = [ 'https://raw.githubusercontent.com/mitchellh/vagrant/master/website/LICENSE.md' ], [ 'Vue.js', - '2013-2017 Evan You, Vue.js contributors', + '2013-2018 Evan You, Vue.js contributors', 'MIT', 'https://raw.githubusercontent.com/vuejs/vue/master/LICENSE' ], [ diff --git a/lib/docs/scrapers/vue.rb b/lib/docs/scrapers/vue.rb index e8e29406..f92991f2 100644 --- a/lib/docs/scrapers/vue.rb +++ b/lib/docs/scrapers/vue.rb @@ -15,12 +15,12 @@ module Docs options[:replace_paths] = { 'guide/' => 'guide/index.html' } options[:attribution] = <<-HTML - © 2013–2017 Evan You, Vue.js contributors
+ © 2013–2018 Evan You, Vue.js contributors
Licensed under the MIT License. HTML version '2' do - self.release = '2.5.13' + self.release = '2.5.16' self.base_url = 'https://vuejs.org/v2/' self.root_path = 'guide/index.html' self.initial_paths = %w(api/) From dd3702e25227083ddebb328a462c2a28f8895c43 Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 11:09:23 -0400 Subject: [PATCH 33/34] Update webpack documentation (4.6.0) --- lib/docs/scrapers/webpack.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/webpack.rb b/lib/docs/scrapers/webpack.rb index c8f144e8..cdcdebbd 100644 --- a/lib/docs/scrapers/webpack.rb +++ b/lib/docs/scrapers/webpack.rb @@ -4,7 +4,7 @@ module Docs self.type = 'webpack' version do - self.release = '4.2.0' + self.release = '4.6.0' self.base_url = 'https://webpack.js.org/' self.root_path = 'guides/' self.initial_paths = %w( From 833e69a653a4628806c6f861e0ee8625115b18ed Mon Sep 17 00:00:00 2001 From: Thibaut Courouble Date: Sat, 28 Apr 2018 11:09:41 -0400 Subject: [PATCH 34/34] Update Yarn documentation (1.6.0) --- lib/docs/scrapers/yarn.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/docs/scrapers/yarn.rb b/lib/docs/scrapers/yarn.rb index 8c41dd8c..ae27fda8 100644 --- a/lib/docs/scrapers/yarn.rb +++ b/lib/docs/scrapers/yarn.rb @@ -1,7 +1,7 @@ module Docs class Yarn < UrlScraper self.type = 'yarn' - self.release = '1.5.1' + self.release = '1.6.0' self.base_url = 'https://yarnpkg.com/en/docs/' self.links = { home: 'https://yarnpkg.com/',