kudzu 1.1.2 → 1.1.3

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: 385074e08684e19bbe55626fd18c9c68e6a7e8bc
4
- data.tar.gz: '08a2fa8ac363d4277626ae05b0d018df298bb851'
3
+ metadata.gz: 14e681b688f83b82db19b79ec27b150d184b5e37
4
+ data.tar.gz: 89986f4f57047ca9db6be07637637d677c62017c
5
5
  SHA512:
6
- metadata.gz: 657af594458b627fcab58f55d552ba49e69d630a04361288ced8a57b87536131a389e2d1cec54ed23f4d768c5c1e89902636191ad65c0fa3da32a66af1b47f24
7
- data.tar.gz: 314972cca8fde48f67847080a4529add383c2754dd2177ee31634b9869cd04d57d61607ce0b2c2221d32cda0eb136e896c2416bae0555b4071f8d975cc424f8d
6
+ metadata.gz: f410c8145362c4f1857c6e0c8234ee31c185935ac1e0e9ef225dd107eb47ab6e18cb634b5cff55708ad341ce1e2a2de048a1b4029aa38a39e9f23b034e1132e0
7
+ data.tar.gz: 7026b20f36faeffc690360c3ff228046be457d890841cbe7a62f20390c3f002c3a64dead33fd4255f7f226ad6ada3fb2e53eb3781ac63e9fc00ed9775a2c787d
@@ -24,7 +24,7 @@ module Kudzu
24
24
  private
25
25
 
26
26
  def sanitize(url)
27
- url.gsub(/^(\s| |%20)+/, '')
27
+ url.strip.gsub(/^(\s| |%20)+/, '')
28
28
  end
29
29
 
30
30
  def normalize(url, base_url)
data/lib/kudzu/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Kudzu
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
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.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yoshikazu Kaneta
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-10 00:00:00.000000000 Z
11
+ date: 2018-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: addressable