ソースを参照

Merge 'main' into fix-redis-sort-set-missing

Simon Legner 2 年 前
コミット
06dcb92ad9

+ 2 - 2
.github/workflows/build.yml

@@ -11,9 +11,9 @@ jobs:
     runs-on: ubuntu-20.04
     runs-on: ubuntu-20.04
     if: github.repository == 'freeCodeCamp/devdocs'
     if: github.repository == 'freeCodeCamp/devdocs'
     steps:
     steps:
-    - uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0
+    - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
     - name: Set up Ruby
     - name: Set up Ruby
-      uses: ruby/setup-ruby@31a7f6d628878b80bc63375a93ae079ec50a1601 # v1.143.0
+      uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
       with:
       with:
         bundler-cache: true # runs 'bundle install' and caches installed gems automatically
         bundler-cache: true # runs 'bundle install' and caches installed gems automatically
     - name: Run tests
     - name: Run tests

+ 2 - 2
.github/workflows/schedule-doc-report.yml

@@ -8,9 +8,9 @@ jobs:
     runs-on: ubuntu-20.04
     runs-on: ubuntu-20.04
     if: github.repository == 'freeCodeCamp/devdocs'
     if: github.repository == 'freeCodeCamp/devdocs'
     steps:
     steps:
-    - uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0
+    - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
     - name: Set up Ruby
     - name: Set up Ruby
-      uses: ruby/setup-ruby@31a7f6d628878b80bc63375a93ae079ec50a1601 # v1.143.0
+      uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
       with:
       with:
         bundler-cache: true # runs 'bundle install' and caches installed gems automatically
         bundler-cache: true # runs 'bundle install' and caches installed gems automatically
     - name: Generate report
     - name: Generate report

+ 2 - 2
.github/workflows/test.yml

@@ -9,9 +9,9 @@ jobs:
   test:
   test:
     runs-on: ubuntu-20.04
     runs-on: ubuntu-20.04
     steps:
     steps:
-    - uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0
+    - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
     - name: Set up Ruby
     - name: Set up Ruby
-      uses: ruby/setup-ruby@31a7f6d628878b80bc63375a93ae079ec50a1601 # v1.143.0
+      uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
       with:
       with:
         bundler-cache: true # runs 'bundle install' and caches installed gems automatically
         bundler-cache: true # runs 'bundle install' and caches installed gems automatically
     - name: Run tests
     - name: Run tests

+ 1 - 1
.ruby-version

@@ -1 +1 @@
-3.2.1
+3.2.2

+ 1 - 1
.tool-versions

@@ -1 +1 @@
-ruby 3.2.1
+ruby 3.2.2

+ 1 - 1
Dockerfile

@@ -1,4 +1,4 @@
-FROM ruby:3.2.1
+FROM ruby:3.2.2
 ENV LANG=C.UTF-8
 ENV LANG=C.UTF-8
 ENV ENABLE_SERVICE_WORKER=true
 ENV ENABLE_SERVICE_WORKER=true
 
 

+ 1 - 1
Dockerfile-alpine

@@ -1,4 +1,4 @@
-FROM ruby:3.2.1-alpine
+FROM ruby:3.2.2-alpine
 
 
 ENV LANG=C.UTF-8
 ENV LANG=C.UTF-8
 ENV ENABLE_SERVICE_WORKER=true
 ENV ENABLE_SERVICE_WORKER=true

+ 1 - 1
Gemfile

@@ -1,5 +1,5 @@
 source 'https://rubygems.org'
 source 'https://rubygems.org'
-ruby '3.2.1'
+ruby '3.2.2'
 
 
 gem 'activesupport', require: false
 gem 'activesupport', require: false
 gem 'html-pipeline'
 gem 'html-pipeline'

+ 20 - 20
Gemfile.lock

@@ -1,7 +1,7 @@
 GEM
 GEM
   remote: https://rubygems.org/
   remote: https://rubygems.org/
   specs:
   specs:
-    activesupport (7.0.4.2)
+    activesupport (7.0.4.3)
       concurrent-ruby (~> 1.0, >= 1.0.2)
       concurrent-ruby (~> 1.0, >= 1.0.2)
       i18n (>= 1.6, < 2)
       i18n (>= 1.6, < 2)
       minitest (>= 5.1)
       minitest (>= 5.1)
@@ -20,7 +20,7 @@ GEM
     coffee-script-source (1.12.2)
     coffee-script-source (1.12.2)
     concurrent-ruby (1.1.10)
     concurrent-ruby (1.1.10)
     daemons (1.4.1)
     daemons (1.4.1)
-    erubi (1.11.0)
+    erubi (1.12.0)
     ethon (0.16.0)
     ethon (0.16.0)
       ffi (>= 1.15.0)
       ffi (>= 1.15.0)
     eventmachine (1.2.7)
     eventmachine (1.2.7)
@@ -40,22 +40,22 @@ GEM
       image_size (>= 1.5, < 4)
       image_size (>= 1.5, < 4)
       in_threads (~> 1.3)
       in_threads (~> 1.3)
       progress (~> 3.0, >= 3.0.1)
       progress (~> 3.0, >= 3.0.1)
-    image_optim_pack (0.9.1.20221104)
+    image_optim_pack (0.9.1.20230325)
       fspath (>= 2.1, < 4)
       fspath (>= 2.1, < 4)
       image_optim (~> 0.19)
       image_optim (~> 0.19)
     image_size (3.2.0)
     image_size (3.2.0)
     in_threads (1.6.0)
     in_threads (1.6.0)
     method_source (1.0.0)
     method_source (1.0.0)
-    mini_portile2 (2.8.0)
-    minitest (5.16.3)
+    mini_portile2 (2.8.1)
+    minitest (5.18.0)
     multi_json (1.15.0)
     multi_json (1.15.0)
     mustermann (3.0.0)
     mustermann (3.0.0)
       ruby2_keywords (~> 0.0.1)
       ruby2_keywords (~> 0.0.1)
     net-sftp (4.0.0)
     net-sftp (4.0.0)
       net-ssh (>= 5.0.0, < 8.0.0)
       net-ssh (>= 5.0.0, < 8.0.0)
     net-ssh (7.0.1)
     net-ssh (7.0.1)
-    newrelic_rpm (8.12.0)
-    nokogiri (1.14.2)
+    newrelic_rpm (8.16.0)
+    nokogiri (1.14.3)
       mini_portile2 (~> 2.8.0)
       mini_portile2 (~> 2.8.0)
       racc (~> 1.4)
       racc (~> 1.4)
     options (2.3.2)
     options (2.3.2)
@@ -63,24 +63,24 @@ GEM
     progress_bar (1.3.3)
     progress_bar (1.3.3)
       highline (>= 1.6, < 3)
       highline (>= 1.6, < 3)
       options (~> 2.3.0)
       options (~> 2.3.0)
-    pry (0.14.1)
+    pry (0.14.2)
       coderay (~> 1.1)
       coderay (~> 1.1)
       method_source (~> 1.0)
       method_source (~> 1.0)
     pry-byebug (3.10.1)
     pry-byebug (3.10.1)
       byebug (~> 11.0)
       byebug (~> 11.0)
       pry (>= 0.13, < 0.15)
       pry (>= 0.13, < 0.15)
-    racc (1.6.1)
-    rack (2.2.6.3)
-    rack-protection (3.0.3)
+    racc (1.6.2)
+    rack (2.2.6.4)
+    rack-protection (3.0.5)
       rack
       rack
     rack-ssl-enforcer (0.2.9)
     rack-ssl-enforcer (0.2.9)
-    rack-test (2.0.2)
+    rack-test (2.1.0)
       rack (>= 1.3)
       rack (>= 1.3)
     rake (13.0.6)
     rake (13.0.6)
     rb-fsevent (0.11.2)
     rb-fsevent (0.11.2)
     rb-inotify (0.10.1)
     rb-inotify (0.10.1)
       ffi (~> 1.0)
       ffi (~> 1.0)
-    redcarpet (3.5.1)
+    redcarpet (3.6.0)
     rexml (3.2.5)
     rexml (3.2.5)
     rr (3.1.0)
     rr (3.1.0)
     rss (0.2.9)
     rss (0.2.9)
@@ -91,16 +91,16 @@ GEM
     sass-listen (4.0.0)
     sass-listen (4.0.0)
       rb-fsevent (~> 0.9, >= 0.9.4)
       rb-fsevent (~> 0.9, >= 0.9.4)
       rb-inotify (~> 0.9, >= 0.9.7)
       rb-inotify (~> 0.9, >= 0.9.7)
-    sinatra (3.0.3)
+    sinatra (3.0.5)
       mustermann (~> 3.0)
       mustermann (~> 3.0)
       rack (~> 2.2, >= 2.2.4)
       rack (~> 2.2, >= 2.2.4)
-      rack-protection (= 3.0.3)
+      rack-protection (= 3.0.5)
       tilt (~> 2.0)
       tilt (~> 2.0)
-    sinatra-contrib (3.0.3)
+    sinatra-contrib (3.0.5)
       multi_json
       multi_json
       mustermann (~> 3.0)
       mustermann (~> 3.0)
-      rack-protection (= 3.0.3)
-      sinatra (= 3.0.3)
+      rack-protection (= 3.0.5)
+      sinatra (= 3.0.5)
       tilt (~> 2.0)
       tilt (~> 2.0)
     sprockets (3.7.2)
     sprockets (3.7.2)
       concurrent-ruby (~> 1.0)
       concurrent-ruby (~> 1.0)
@@ -116,7 +116,7 @@ GEM
     strings-ansi (0.2.0)
     strings-ansi (0.2.0)
     terminal-table (3.0.2)
     terminal-table (3.0.2)
       unicode-display_width (>= 1.1.1, < 3)
       unicode-display_width (>= 1.1.1, < 3)
-    thin (1.8.1)
+    thin (1.8.2)
       daemons (~> 1.0, >= 1.0.9)
       daemons (~> 1.0, >= 1.0.9)
       eventmachine (~> 1.0, >= 1.0.4)
       eventmachine (~> 1.0, >= 1.0.4)
       rack (>= 1, < 3)
       rack (>= 1, < 3)
@@ -179,7 +179,7 @@ DEPENDENCIES
   yajl-ruby
   yajl-ruby
 
 
 RUBY VERSION
 RUBY VERSION
-   ruby 3.2.1p31
+   ruby 3.2.2p53
 
 
 BUNDLED WITH
 BUNDLED WITH
    2.4.6
    2.4.6

+ 5 - 0
lib/docs/scrapers/django.rb

@@ -34,6 +34,11 @@ module Docs
       Licensed under the BSD License.
       Licensed under the BSD License.
     HTML
     HTML
 
 
+    version '4.2' do
+      self.release = '4.2'
+      self.base_url = "https://docs.djangoproject.com/en/#{self.version}/"
+    end
+
     version '4.1' do
     version '4.1' do
       self.release = '4.1'
       self.release = '4.1'
       self.base_url = "https://docs.djangoproject.com/en/#{self.version}/"
       self.base_url = "https://docs.djangoproject.com/en/#{self.version}/"

+ 1 - 1
lib/docs/scrapers/fastapi.rb

@@ -2,7 +2,7 @@ module Docs
   class Fastapi < UrlScraper
   class Fastapi < UrlScraper
     self.name = 'FastAPI'
     self.name = 'FastAPI'
     self.type = 'fastapi'
     self.type = 'fastapi'
-    self.release = '0.88.0'
+    self.release = '0.95.0'
     self.base_url = 'https://fastapi.tiangolo.com/'
     self.base_url = 'https://fastapi.tiangolo.com/'
     self.root_path = '/'
     self.root_path = '/'
     self.links = {
     self.links = {

+ 1 - 1
lib/docs/scrapers/git.rb

@@ -1,7 +1,7 @@
 module Docs
 module Docs
   class Git < UrlScraper
   class Git < UrlScraper
     self.type = 'git'
     self.type = 'git'
-    self.release = '2.39.0'
+    self.release = '2.40.0'
     self.base_url = 'https://git-scm.com/docs'
     self.base_url = 'https://git-scm.com/docs'
     self.initial_paths = %w(/git.html)
     self.initial_paths = %w(/git.html)
     self.links = {
     self.links = {

+ 6 - 1
lib/docs/scrapers/octave.rb

@@ -23,12 +23,17 @@ module Docs
     options[:root_title] = 'GNU Octave'
     options[:root_title] = 'GNU Octave'
 
 
     options[:attribution] = <<-HTML
     options[:attribution] = <<-HTML
-      &copy; 1996–2022 The Octave Project Developers<br>
+      &copy; 1996–2023 The Octave Project Developers<br>
       Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.<br/>
       Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies.<br/>
       Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.</br>
       Permission is granted to copy and distribute modified versions of this manual under the conditions for verbatim copying, provided that the entire resulting derived work is distributed under the terms of a permission notice identical to this one.</br>
       Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
       Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions.
     HTML
     HTML
 
 
+    version '8' do
+      self.release = '8.1.0'
+      self.base_url = "https://docs.octave.org/v#{self.release}/"
+    end
+
     version '7' do
     version '7' do
       self.release = '7.2.0'
       self.release = '7.2.0'
       self.base_url = "https://docs.octave.org/v#{self.release}/"
       self.base_url = "https://docs.octave.org/v#{self.release}/"

+ 2 - 2
lib/docs/scrapers/typescript.rb

@@ -4,7 +4,7 @@ module Docs
 
 
     self.name = 'TypeScript'
     self.name = 'TypeScript'
     self.type = 'typescript'
     self.type = 'typescript'
-    self.release = '4.9.3'
+    self.release = '5.0.2'
     self.base_urls = [
     self.base_urls = [
       'https://www.typescriptlang.org/docs/handbook/',
       'https://www.typescriptlang.org/docs/handbook/',
       'https://www.typescriptlang.org/'
       'https://www.typescriptlang.org/'
@@ -35,7 +35,7 @@ module Docs
     ]
     ]
 
 
     options[:attribution] = <<-HTML
     options[:attribution] = <<-HTML
-      &copy; 2012-2022 Microsoft<br>
+      &copy; 2012-2023 Microsoft<br>
       Licensed under the Apache License, Version 2.0.
       Licensed under the Apache License, Version 2.0.
     HTML
     HTML
 
 

+ 1 - 1
lib/docs/scrapers/vitest.rb

@@ -16,7 +16,7 @@ module Docs
       Licensed under the MIT License.
       Licensed under the MIT License.
     HTML
     HTML
 
 
-    self.release = '0.27.1'
+    self.release = '0.30.1'
     self.base_url = 'https://vitest.dev/'
     self.base_url = 'https://vitest.dev/'
     self.initial_paths = %w(guide/)
     self.initial_paths = %w(guide/)
     html_filters.push 'vitest/entries', 'vite/clean_html'
     html_filters.push 'vitest/entries', 'vite/clean_html'