html-proofer 3.7.4 → 3.7.5

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: dd8c9b9b6e13d8640b6f1aceef5c79084998e7fb
4
- data.tar.gz: 38e95179da955afdcfd783e39de7f7bbea792ca3
3
+ metadata.gz: 43b1bce01cb4cf722e6df22de0efb168ab07039a
4
+ data.tar.gz: 233c5c148c7415c98faa4f06ec6ddb7b437dde40
5
5
  SHA512:
6
- metadata.gz: f6b68560cd0d6f294e7c34d3ffa3e32c8d76d4d0a0bac3ef0f4026866269c932ab5f31fcd23d9719e02c6ddee209b247504771192542819cd675814b38d98e63
7
- data.tar.gz: e89d635985ca271978b0f939a097afd5c10b8f32cbe29e9db50370457b44ecaaad80b6fc26d49de73efc167f877088e1f01fff3975c0b734e5ddba8c344a9756
6
+ metadata.gz: 158cc151cb181e58e05f2b55de7ed48c8aff12b1e633ce95bf3c3ee9645bf5112a53f06ece741087541839302c05ecef0f5f528ba5913a113ecfc2659db03c58
7
+ data.tar.gz: b2a7c2dfe909f2d8c8d6789dd576b540af10343a783940d69894cf86b8038d025db4b65e610e314b77654d763f79a3839d5d2d113b27a602cd067ea8faed569a
@@ -29,7 +29,7 @@ module HTMLProofer
29
29
  # problem from http://git.io/vBYU1
30
30
  # solution from http://git.io/vBYUi
31
31
  def clean_content(string)
32
- string.gsub(%r{https?://([^>]+)}i) do |url|
32
+ string.gsub(%r{(?:https?:)?//([^>]+)}i) do |url|
33
33
  url.gsub(/&(?!amp;)/, '&')
34
34
  end
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module HTMLProofer
2
- VERSION = '3.7.4'.freeze
2
+ VERSION = '3.7.5'.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.7.4
4
+ version: 3.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Garen Torikian
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-07 00:00:00.000000000 Z
11
+ date: 2017-11-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mercenary