html-proofer 3.11.0 → 3.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/htmlproofer +18 -12
- data/lib/html-proofer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bef0ae04093136fdf08e67fa972450c1c1ce356ded9c27d8a2b20bf5e231210c
|
|
4
|
+
data.tar.gz: 5f7992911919eef31a7a186df3bfaa765191eed49692da6639d3d4c049fa1904
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 39b391bbb48b61e576a61a32199ac74fb362bc285fef8897438aa9d30b95c8cc62c71c9ca576b8b7e67e3a9543bd152d2f0d172ae56e64f5026bd1764ae499c9
|
|
7
|
+
data.tar.gz: a1371937ce6c4433ce957f3e1d51b2e0b91ecb5284f2538ba7c9731e106b18d5c4ef4bb2a05e92b842477b55bbdc6e581a15851dd62817f63d8b3b56834bbe39
|
data/bin/htmlproofer
CHANGED
|
@@ -77,18 +77,24 @@ Mercenary.program(:htmlproofer) do |p|
|
|
|
77
77
|
options[:error_sort] = opts['error-sort'].to_sym unless opts['error-sort'].nil?
|
|
78
78
|
options[:log_level] = opts['log_level'].to_sym unless opts['log_level'].nil?
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
options[:validation] =
|
|
82
|
-
options[:validation][:
|
|
83
|
-
options[:validation][:
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
80
|
+
options[:validation] = HTMLProofer::Configuration::VALIDATION_DEFAULTS.dup
|
|
81
|
+
options[:validation][:report_script_embeds] = opts['report_script_embeds'] unless opts['report_script_embeds'].nil?
|
|
82
|
+
options[:validation][:report_missing_names] = opts['report_missing_names'] unless opts['report_missing_names'].nil?
|
|
83
|
+
options[:validation][:report_invalid_tags] = opts['report_invalid_tags'] unless opts['report_invalid_tags'].nil?
|
|
84
|
+
|
|
85
|
+
unless opts['typhoeus_config'].nil?
|
|
86
|
+
options[:typhoeus] = HTMLProofer::Configuration.parse_json_option('typhoeus_config', opts['typhoeus_config'])
|
|
87
|
+
end
|
|
88
|
+
|
|
89
|
+
unless opts['timeframe'].nil?
|
|
90
|
+
options[:cache] ||= {}
|
|
91
|
+
options[:cache][:timeframe] = opts['timeframe'] unless opts['timeframe'].nil?
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
unless opts['storage_dir'].nil?
|
|
95
|
+
options[:cache] ||= {}
|
|
96
|
+
options[:cache][:storage_dir] = opts['storage_dir'] unless opts['storage_dir'].nil?
|
|
97
|
+
end
|
|
92
98
|
|
|
93
99
|
options[:http_status_ignore] = Array(options[:http_status_ignore]).map(&:to_i)
|
|
94
100
|
|
data/lib/html-proofer/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: html-proofer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.11.
|
|
4
|
+
version: 3.11.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Garen Torikian
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-07-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: mercenary
|