html-proofer 3.10.0 → 3.10.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b45b89b9e969d7559aa5006e53ff2b363fd7e1aeed1178366c30656696696e61
4
- data.tar.gz: 756470e2c29749f59accaed01ff8b64bef731fa06c20ec6995a76ee8a3f1fe9b
3
+ metadata.gz: 3b785a108ad8a82bdc21dbc428240bcba1b77ac3a0a5cf08d0de68bac11583e5
4
+ data.tar.gz: 52f4c91fb3a9ba242667a9a4b079fe6426fde92d29e7f121116c0544062a3a16
5
5
  SHA512:
6
- metadata.gz: 616c50dff0b36c1fac958985eb6d8fe22278a38abfd2701779b270268836e104bc0d25856a3fef1546644cc27fe04be3ee99172c4c6069189d41fbaf94af8b24
7
- data.tar.gz: 02b0c9dfe2deb801d2cea99923791b5eb212bcf2f28ee1096c7599367406bfe40cf7d090f905f174746ac9aa3004219d8b34ae9e2490d72971fbd287a732d41c
6
+ metadata.gz: 17c9ca468bb8ca4c20deb9387e3d85ff9c80281711f25cb87cdfbad22b733700a49ad5721e78b2169283d9178276434bef63974d250441de0297c3fbf4f698ea
7
+ data.tar.gz: 89db5416f295bdfa12c8545d1b613aad7a4fb235f2e4c6470f2a2d4968e663d23689e6ca529e0cdf59e1fdcc3b95ca2467b62e9b83a6cab8bcb0790a12c12663
@@ -15,7 +15,7 @@ Mercenary.program(:htmlproofer) do |p|
15
15
 
16
16
  p.option 'allow_missing_href', '--allow-missing-href', 'If `true`, does not flag `a` tags missing `href` (this is the default for HTML5).'
17
17
  p.option 'allow_hash_href', '--allow-hash-href', 'If `true`, ignores the `href="#"`'
18
- p.option 'as_links', '--as-links link1,[link2,...]', Array, 'Assumes that `PATH` is a comma-separated array of links to check.'
18
+ p.option 'as_links', '--as-links', 'Assumes that `PATH` is a comma-separated array of links to check.'
19
19
  p.option 'alt_ignore', '--alt-ignore image1,[image2,...]', Array, 'A comma-separated list of Strings or RegExps containing `img`s whose missing `alt` tags are safe to ignore'
20
20
  p.option 'assume_extension', '--assume-extension', 'Automatically add extension (e.g. `.html`) to file paths, to allow extensionless URLs (as supported by Jekyll 3 and GitHub Pages) (default: `false`).'
21
21
  p.option 'checks_to_ignore', '--checks-to-ignore check1,[check2,...]', Array, ' An array of Strings indicating which checks you\'d like to not perform.'
@@ -32,11 +32,11 @@ module HTMLProofer
32
32
  end
33
33
 
34
34
  def run
35
- @logger.log :info, "Running #{checks} on #{@src} on *#{@options[:extension]}... \n\n"
36
-
37
35
  if @type == :links
36
+ @logger.log :info, "Running #{checks} on #{@src}... \n\n"
38
37
  check_list_of_links unless @options[:disable_external]
39
38
  else
39
+ @logger.log :info, "Running #{checks} on #{@src} on *#{@options[:extension]}... \n\n"
40
40
  check_files
41
41
  file_text = pluralize(files.length, 'file', 'files')
42
42
  @logger.log :info, "Ran on #{file_text}!\n\n"
@@ -1,3 +1,3 @@
1
1
  module HTMLProofer
2
- VERSION = '3.10.0'.freeze
2
+ VERSION = '3.10.1'.freeze
3
3
  end
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.10.0
4
+ version: 3.10.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-01-04 00:00:00.000000000 Z
11
+ date: 2019-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mercenary