From 2fe0041be01b7b4be28c1044d23fb34eb2ee355e Mon Sep 17 00:00:00 2001 From: Dexter Morganov Date: Mon, 1 Apr 2024 23:22:06 +0300 Subject: [PATCH 1/3] Update pipeline dependencies --- .github/workflows/pr_build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr_build.yml b/.github/workflows/pr_build.yml index 2a08a4b4..8e2a9fa0 100644 --- a/.github/workflows/pr_build.yml +++ b/.github/workflows/pr_build.yml @@ -13,14 +13,14 @@ jobs: - name: Install Utils run: sudo apt-get install -y bsdmainutils - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 + ruby-version: 3.1 bundler-cache: true - name: Build Book diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d3b0d13d..7fd779d2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: - name: Install Utils run: sudo apt-get install -y bsdmainutils - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -29,7 +29,7 @@ jobs: - name: Set up Ruby uses: ruby/setup-ruby@v1 with: - ruby-version: 3.0 + ruby-version: 3.1 bundler-cache: true # runs 'bundle install' and caches installed gems automatically - name: Build release assets From ee73a7f908d4f9867db2dd10b9ebbe98792922bb Mon Sep 17 00:00:00 2001 From: Dexter Morganov Date: Tue, 2 Apr 2024 00:07:45 +0300 Subject: [PATCH 2/3] Update dependencies --- Gemfile | 14 +++++++------- Rakefile | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Gemfile b/Gemfile index 0bb0a2cc..2d04b6f8 100644 --- a/Gemfile +++ b/Gemfile @@ -1,18 +1,18 @@ source 'https://rubygems.org' -gem 'rake', '13.0.6' -gem 'asciidoctor', '2.0.18' +gem 'rake', '13.1.0' +gem 'asciidoctor', '2.0.22' gem 'json', '2.6.3' gem 'awesome_print', '1.9.2' gem 'asciidoctor-fb2', '0.7.0' -gem 'asciidoctor-epub3', '1.5.1' -gem 'asciidoctor-pdf', '2.3.4' +gem 'asciidoctor-epub3', '2.1.0' +gem 'asciidoctor-pdf', '2.3.15' gem 'coderay', '1.1.3' -gem 'pygments.rb', '2.3.1' +gem 'pygments.rb', '2.4.1' gem 'thread_safe', '0.3.6' -gem 'epubcheck-ruby', '4.2.6.0' -gem 'html-proofer', '3.19.4' +gem 'epubcheck-ruby', '5.1.0.0' +gem 'html-proofer', '5.0.8' gem 'kindlegen', '3.1.1' diff --git a/Rakefile b/Rakefile index 167a07e4..db74cfa8 100644 --- a/Rakefile +++ b/Rakefile @@ -106,7 +106,7 @@ namespace :book do end puts ' -- Validate HTML file progit.html' - exec_or_raise("bundle exec htmlproofer --url-ignore #{ignore_urls} --check-html progit.html") + exec_or_raise("bundle exec htmlproofer --ignore-urls #{ignore_urls} --no-enforce-https --no-check-external-hash progit.html") end desc 'check EPUB book' From 0b29ccd26f9c3cd744e7b3cf1c5e7833dd9f3356 Mon Sep 17 00:00:00 2001 From: Dexter Morganov Date: Tue, 2 Apr 2024 00:22:13 +0300 Subject: [PATCH 3/3] Exclude Bazaar links from check --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index db74cfa8..09c60129 100644 --- a/Rakefile +++ b/Rakefile @@ -35,7 +35,7 @@ namespace :book do version_string = '0' end params = "--attribute revnumber='#{version_string}' --attribute revdate='#{date_string}' --attribute lang=#{lang} " - ignore_urls = "'https://developer.github.com','https://developer.github.com/webhooks/','https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent','https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit','https://www.mercurial-scm.org/'" + ignore_urls = "'https://developer.github.com','https://developer.github.com/webhooks/','https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent','https://mvnrepository.com/artifact/org.eclipse.jgit/org.eclipse.jgit','https://www.mercurial-scm.org/','https://bazaar.canonical.com','http://doc.bazaar.canonical.com/bzr.2.7/en/user-reference/ignore-help.html'" # Tasks list desc 'build basic book formats'