html-proofer 3.9.0 → 3.9.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
  SHA1:
3
- metadata.gz: d6d2dd931b1f249cc7db758f4ebff9416bbb1a3f
4
- data.tar.gz: e8cc4b3267a2e5b1a7479b164e9570a486797e02
3
+ metadata.gz: fee07b8be455d3d0318f758e61428056a07572cd
4
+ data.tar.gz: 4f1b1776e48f4fe41c63d5bcf0ddbc52ab301d00
5
5
  SHA512:
6
- metadata.gz: ecdb65f032782248c8ed47fee04332c6fe4753f84ead430cf5f7a7eb27b79021b7db08571e876c8989ae4cc7d14832d1492edc6e6cc6c74431a05f3cc621ecab
7
- data.tar.gz: 2368c979d01c4e6159a89650b11045e35e73c02e5e2892a5de522cba95b77566030ca80424dbf61ca7c68f819b3bdb8fb218545020050fa7327d4979aee0dfc4
6
+ metadata.gz: f07a68c126ea8e2586def4c98af909b0ed90ede44aeee435672de06f06f2374176efbe8c4684fec52f6b91c9b7f1d37357d8bec9b05cad13f2d1b688fe849dec
7
+ data.tar.gz: 23f1ae3a9f1f7b93798b2bcfcf7f8ba61e479e16194512ad86f942ca68d7d01bb34deb5a995330b35bfcb3db0158e1e92ad7893eeb1a5e0fc72dbf4a99f08acf
@@ -7,7 +7,7 @@ module HTMLProofer
7
7
  end
8
8
 
9
9
  def create_nokogiri(path)
10
- content = if File.exist? path
10
+ content = if File.exist?(path) && !File.directory?(path)
11
11
  File.open(path).read
12
12
  else
13
13
  path
@@ -1,3 +1,3 @@
1
1
  module HTMLProofer
2
- VERSION = '3.9.0'.freeze
2
+ VERSION = '3.9.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.9.0
4
+ version: 3.9.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: 2018-05-21 00:00:00.000000000 Z
11
+ date: 2018-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mercenary