From e2dede40f0e2f96d2ebeec5bf9c7572d193c8b19 Mon Sep 17 00:00:00 2001 From: HAHWUL Date: Thu, 26 Dec 2024 23:41:38 +0900 Subject: [PATCH] Update DeadFinder to version 1.5.1 in README, Dockerfile, and Ruby files Signed-off-by: HAHWUL --- README.md | 4 ++-- github-action/Dockerfile | 2 +- lib/deadfinder.rb | 2 +- lib/deadfinder/version.rb | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7d89783..fe4478f 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ deadfinder sitemap https://www.hahwul.com/sitemap.xml ```yml steps: - name: Run DeadFinder - uses: hahwul/deadfinder@1.5.0 + uses: hahwul/deadfinder@1.5.1 # or uses: hahwul/deadfinder@latest id: broken-link with: @@ -87,7 +87,7 @@ Options: H, [--headers=one two three] # Custom HTTP headers to send with initial request [--worker-headers=one two three] # Custom HTTP headers to send with worker requests [--user-agent=USER_AGENT] # User-Agent string to use for requests - # Default: Mozilla/5.0 (compatible; DeadFinder/1.5.0;) + # Default: Mozilla/5.0 (compatible; DeadFinder/1.5.1;) p, [--proxy=PROXY] # Proxy server to use for requests s, [--silent], [--no-silent] # Silent mode v, [--verbose], [--no-verbose] # Verbose mode diff --git a/github-action/Dockerfile b/github-action/Dockerfile index 0e6cc2f..8192715 100644 --- a/github-action/Dockerfile +++ b/github-action/Dockerfile @@ -1,5 +1,5 @@ # Use the deadfinder base image from GitHub Container Registry -FROM ghcr.io/hahwul/deadfinder:1.5.0 +FROM ghcr.io/hahwul/deadfinder:1.5.1 # Install jq for JSON processing RUN apt-get update && apt-get install -y jq diff --git a/lib/deadfinder.rb b/lib/deadfinder.rb index c55f04f..fc85fcf 100644 --- a/lib/deadfinder.rb +++ b/lib/deadfinder.rb @@ -200,7 +200,7 @@ class DeadFinder < Thor class_option :headers, aliases: :H, default: [], type: :array, desc: 'Custom HTTP headers to send with initial request' class_option :worker_headers, default: [], type: :array, desc: 'Custom HTTP headers to send with worker requests' - class_option :user_agent, default: 'Mozilla/5.0 (compatible; DeadFinder/1.5.0;)', type: :string, + class_option :user_agent, default: 'Mozilla/5.0 (compatible; DeadFinder/1.5.1;)', type: :string, desc: 'User-Agent string to use for requests' class_option :proxy, aliases: :p, default: '', type: :string, desc: 'Proxy server to use for requests' class_option :silent, aliases: :s, default: false, type: :boolean, desc: 'Silent mode' diff --git a/lib/deadfinder/version.rb b/lib/deadfinder/version.rb index 5167387..25603c8 100644 --- a/lib/deadfinder/version.rb +++ b/lib/deadfinder/version.rb @@ -1,3 +1,3 @@ # frozen_string_literal: true -VERSION = '1.5.0' +VERSION = '1.5.1'