Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maintenance #476

Merged
merged 3 commits into from
Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down
14 changes: 7 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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'
Expand Down
Loading