diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 214a914d..1b1ef4ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,9 +11,9 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'freeCodeCamp/devdocs' steps: - - uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 - name: Set up Ruby - uses: ruby/setup-ruby@d3c9825d67b0d8720afdfdde5af56c79fdb38d16 # v1.138.0 + uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests diff --git a/.github/workflows/schedule-doc-report.yml b/.github/workflows/schedule-doc-report.yml index 4518f915..cecbbb0b 100644 --- a/.github/workflows/schedule-doc-report.yml +++ b/.github/workflows/schedule-doc-report.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-20.04 if: github.repository == 'freeCodeCamp/devdocs' steps: - - uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 - name: Set up Ruby - uses: ruby/setup-ruby@d3c9825d67b0d8720afdfdde5af56c79fdb38d16 # v1.138.0 + uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Generate report diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 672e62e3..3c0feacc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,9 +9,9 @@ jobs: test: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@dc323e67f16fb5f7663d20ff7941f27f5809e9b6 # v2.6.0 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0 - name: Set up Ruby - uses: ruby/setup-ruby@d3c9825d67b0d8720afdfdde5af56c79fdb38d16 # v1.138.0 + uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0 with: bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Run tests diff --git a/.ruby-version b/.ruby-version index e4604e3a..be94e6f5 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.2.1 +3.2.2 diff --git a/.tool-versions b/.tool-versions index 40b87ee4..f2a971aa 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -ruby 3.2.1 +ruby 3.2.2 diff --git a/Dockerfile b/Dockerfile index aca0744a..f5d9b249 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.2.1 +FROM ruby:3.2.2 ENV LANG=C.UTF-8 ENV ENABLE_SERVICE_WORKER=true diff --git a/Dockerfile-alpine b/Dockerfile-alpine index aa815c60..39ca37c5 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -1,4 +1,4 @@ -FROM ruby:3.2.1-alpine +FROM ruby:3.2.2-alpine ENV LANG=C.UTF-8 ENV ENABLE_SERVICE_WORKER=true diff --git a/Gemfile b/Gemfile index 56a5e9d1..f276b263 100644 --- a/Gemfile +++ b/Gemfile @@ -1,5 +1,5 @@ source 'https://rubygems.org' -ruby '3.2.1' +ruby '3.2.2' gem 'activesupport', require: false gem 'html-pipeline' diff --git a/Gemfile.lock b/Gemfile.lock index e862e06a..be0265a8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ GEM remote: https://rubygems.org/ specs: - activesupport (7.0.4.2) + activesupport (7.0.4.3) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) @@ -20,7 +20,7 @@ GEM coffee-script-source (1.12.2) concurrent-ruby (1.1.10) daemons (1.4.1) - erubi (1.11.0) + erubi (1.12.0) ethon (0.16.0) ffi (>= 1.15.0) eventmachine (1.2.7) @@ -40,22 +40,22 @@ GEM image_size (>= 1.5, < 4) in_threads (~> 1.3) progress (~> 3.0, >= 3.0.1) - image_optim_pack (0.9.1.20221104) + image_optim_pack (0.9.1.20230325) fspath (>= 2.1, < 4) image_optim (~> 0.19) image_size (3.2.0) in_threads (1.6.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) mustermann (3.0.0) ruby2_keywords (~> 0.0.1) net-sftp (4.0.0) net-ssh (>= 5.0.0, < 8.0.0) 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) racc (~> 1.4) options (2.3.2) @@ -63,24 +63,24 @@ GEM progress_bar (1.3.3) highline (>= 1.6, < 3) options (~> 2.3.0) - pry (0.14.1) + pry (0.14.2) coderay (~> 1.1) method_source (~> 1.0) pry-byebug (3.10.1) byebug (~> 11.0) pry (>= 0.13, < 0.15) - racc (1.6.1) - rack (2.2.6.2) - rack-protection (3.0.3) + racc (1.6.2) + rack (2.2.6.4) + rack-protection (3.0.5) rack rack-ssl-enforcer (0.2.9) - rack-test (2.0.2) + rack-test (2.1.0) rack (>= 1.3) rake (13.0.6) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) - redcarpet (3.5.1) + redcarpet (3.6.0) rexml (3.2.5) rr (3.1.0) rss (0.2.9) @@ -91,16 +91,16 @@ GEM sass-listen (4.0.0) rb-fsevent (~> 0.9, >= 0.9.4) rb-inotify (~> 0.9, >= 0.9.7) - sinatra (3.0.3) + sinatra (3.0.5) mustermann (~> 3.0) rack (~> 2.2, >= 2.2.4) - rack-protection (= 3.0.3) + rack-protection (= 3.0.5) tilt (~> 2.0) - sinatra-contrib (3.0.3) + sinatra-contrib (3.0.5) multi_json mustermann (~> 3.0) - rack-protection (= 3.0.3) - sinatra (= 3.0.3) + rack-protection (= 3.0.5) + sinatra (= 3.0.5) tilt (~> 2.0) sprockets (3.7.2) concurrent-ruby (~> 1.0) @@ -116,7 +116,7 @@ GEM strings-ansi (0.2.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - thin (1.8.1) + thin (1.8.2) daemons (~> 1.0, >= 1.0.9) eventmachine (~> 1.0, >= 1.0.4) rack (>= 1, < 3) @@ -179,7 +179,7 @@ DEPENDENCIES yajl-ruby RUBY VERSION - ruby 3.2.1p31 + ruby 3.2.2p53 BUNDLED WITH 2.4.6 diff --git a/lib/docs/filters/redis/entries.rb b/lib/docs/filters/redis/entries.rb index f1073d69..057d3572 100644 --- a/lib/docs/filters/redis/entries.rb +++ b/lib/docs/filters/redis/entries.rb @@ -489,7 +489,7 @@ module Docs "scripting" => "Core: Scripting and Functions", "server" => "Core: Server managment", "set" => "Core: Set", - "sorted-set:" => "Core: Sorted Set", + "sorted-set" => "Core: Sorted Set", "stream" => "Core: Stream", "string" => "Core: String", "transactions" => "Core: Transactions", diff --git a/lib/docs/scrapers/django.rb b/lib/docs/scrapers/django.rb index 0e8b35f5..fc179dbc 100644 --- a/lib/docs/scrapers/django.rb +++ b/lib/docs/scrapers/django.rb @@ -34,6 +34,11 @@ module Docs Licensed under the BSD License. HTML + version '4.2' do + self.release = '4.2' + self.base_url = "https://docs.djangoproject.com/en/#{self.version}/" + end + version '4.1' do self.release = '4.1' self.base_url = "https://docs.djangoproject.com/en/#{self.version}/" diff --git a/lib/docs/scrapers/fastapi.rb b/lib/docs/scrapers/fastapi.rb index 760603b9..7711e0ed 100644 --- a/lib/docs/scrapers/fastapi.rb +++ b/lib/docs/scrapers/fastapi.rb @@ -2,7 +2,7 @@ module Docs class Fastapi < UrlScraper self.name = 'FastAPI' self.type = 'fastapi' - self.release = '0.88.0' + self.release = '0.95.0' self.base_url = 'https://fastapi.tiangolo.com/' self.root_path = '/' self.links = { diff --git a/lib/docs/scrapers/git.rb b/lib/docs/scrapers/git.rb index a5de307a..97fa6d5b 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.39.0' + self.release = '2.40.0' self.base_url = 'https://git-scm.com/docs' self.initial_paths = %w(/git.html) self.links = { diff --git a/lib/docs/scrapers/octave.rb b/lib/docs/scrapers/octave.rb index c44a1f6c..fa9103fc 100644 --- a/lib/docs/scrapers/octave.rb +++ b/lib/docs/scrapers/octave.rb @@ -23,12 +23,17 @@ module Docs options[:root_title] = 'GNU Octave' options[:attribution] = <<-HTML - © 1996–2022 The Octave Project Developers
+ © 1996–2023 The Octave Project Developers
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.
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.
Permission is granted to copy and distribute translations of this manual into another language, under the above conditions for modified versions. HTML + version '8' do + self.release = '8.1.0' + self.base_url = "https://docs.octave.org/v#{self.release}/" + end + version '7' do self.release = '7.2.0' self.base_url = "https://docs.octave.org/v#{self.release}/" diff --git a/lib/docs/scrapers/redis.rb b/lib/docs/scrapers/redis.rb index 46b299af..d4c62b42 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 = '7.0.8' + self.release = '7.0.10' 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–2022 Salvatore Sanfilippo
+ © 2006–2022 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0. HTML diff --git a/lib/docs/scrapers/typescript.rb b/lib/docs/scrapers/typescript.rb index 81fa5a70..f4cac24b 100644 --- a/lib/docs/scrapers/typescript.rb +++ b/lib/docs/scrapers/typescript.rb @@ -4,7 +4,7 @@ module Docs self.name = 'TypeScript' self.type = 'typescript' - self.release = '4.9.3' + self.release = '5.0.2' self.base_urls = [ 'https://www.typescriptlang.org/docs/handbook/', 'https://www.typescriptlang.org/' @@ -35,7 +35,7 @@ module Docs ] options[:attribution] = <<-HTML - © 2012-2022 Microsoft
+ © 2012-2023 Microsoft
Licensed under the Apache License, Version 2.0. HTML diff --git a/lib/docs/scrapers/vitest.rb b/lib/docs/scrapers/vitest.rb index 3c2b23e3..d3909e18 100644 --- a/lib/docs/scrapers/vitest.rb +++ b/lib/docs/scrapers/vitest.rb @@ -16,7 +16,7 @@ module Docs Licensed under the MIT License. HTML - self.release = '0.27.1' + self.release = '0.30.1' self.base_url = 'https://vitest.dev/' self.initial_paths = %w(guide/) html_filters.push 'vitest/entries', 'vite/clean_html'