kudzu 1.1.10 → 1.1.11

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: f40633f8cab5c1bbc7ea18c62ff1f2285ca55598540decd983cfedf7e8ff8701
4
- data.tar.gz: 6a3e523f4f4f307a69893606f43cf42e8f7223b8f2e7ed563005c2987a46fed6
3
+ metadata.gz: e644c892ed66d9f00577bc01c4a47ab8c2f8650f1ad412de119efd56d3027d4a
4
+ data.tar.gz: afe03192b1a584ae8cf04b18404c3ff751edf5ac9a2c99289b84263891d6c187
5
5
  SHA512:
6
- metadata.gz: ca64c8622c0e4a9c55f7e537745c3dca78d04d52a5981bd20c21c733eac5a3b86ea505b8a8e3e6aacd68ceb3b16cfe18561f021336f69a1e099e298034a89815
7
- data.tar.gz: 4013626f9ca51fafd7089480cf9e82457ba65f1d580c60f2569fccc6646b4bd53ecd9f3167eab1d589b866ad49179f7bb00b783394b819e08453b8eb680a6715
6
+ metadata.gz: b57e8d06b027f03dbee49cfb93bf961a1bf7bbe62a2660da865f9aec7905c21484ffe6127840d54812e33b25f51b26229aaf01df6f0618f83d977321db7c7390
7
+ data.tar.gz: a39396c80a0efbfe21bc33492995c897f094d7b81c134b75bfa594a2247d980ab6b385d658a8b1a697a67cb30dbefaea92c3cfd490deb33dc00400aebadc9a9c
@@ -35,7 +35,7 @@ module Kudzu
35
35
  uri.path = uri.path.gsub(%r|/{2,}|, '/')
36
36
  uri.fragment = nil
37
37
 
38
- if uri.scheme.in?(%w(http https))
38
+ if uri.scheme.in?(%w(http https)) && Addressable::URI.parse(uri.to_s)
39
39
  uri.to_s
40
40
  else
41
41
  nil
@@ -1,3 +1,3 @@
1
1
  module Kudzu
2
- VERSION = '1.1.10'
2
+ VERSION = '1.1.11'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kudzu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.10
4
+ version: 1.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-11 00:00:00.000000000 Z
11
+ date: 2019-10-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable