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..567d4c09 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,10 +1,10 @@
source 'https://rubygems.org'
-ruby '2.5.0'
+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 6f97bddf..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
@@ -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
diff --git a/assets/javascripts/templates/pages/about_tmpl.coffee b/assets/javascripts/templates/pages/about_tmpl.coffee
index 2c5affa0..5200650b 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'
], [
@@ -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'
], [
@@ -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',
@@ -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'
], [
@@ -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/'
], [
@@ -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'
], [
@@ -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/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/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
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/'
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
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
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/'
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 = {
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.
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 = {
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 = {
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'
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 = {
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
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/)
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/',
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'
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
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 = {
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/"
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(
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
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
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 = {
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
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(
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
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'
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 = {
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
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 = {
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/)
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(
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/',