url_canonicalize 0.1.10 → 0.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
  SHA1:
3
- metadata.gz: 68f190eb361435b21097c512aaf3abcbca61e6f6
4
- data.tar.gz: e3249038d7bbade9c294a940479a5586b23771ca
3
+ metadata.gz: fd8a56984fcbb3c5c64415bfc5b7083a53ef558c
4
+ data.tar.gz: 4c54760d25df39dc3326ddb354c8f03d222fe2e0
5
5
  SHA512:
6
- metadata.gz: 9ce00418601cdfcc99841836790d0ac81e4e1e542b811d4e07615674c57687a7f3a8b0c2b1dcfdea1f65596d43674105d2b5dbf40c609a0892e550e764b65d9f
7
- data.tar.gz: d76b899fcf9989c6a05a39f4f6a950905f7fb003dc43037c8c0c66809fdf081d73ffdbe3247b76dd37ce0772e582748a3cee6573c506ab91bb6cd324acad720b
6
+ metadata.gz: 8aefc3e96fde6d571a58ec9a77cc4c8fecdad3af4d88d93b35ad162d44a8d1409408569d6b0ef84a9cedae7c46b2753669f05ee122433c625b17ba169eca80d0
7
+ data.tar.gz: 318a00cdec70c25bbde80785a61a815aa2999188f314298712b07885cd7b6f7c49ceddbfdb55f5b16d28de231a3f33a8ee8e314100e46578abd2a7c92a6df24f
@@ -4,8 +4,7 @@ module URLCanonicalize
4
4
  class URI
5
5
  class << self
6
6
  def parse(url)
7
- # uri = ::URI.parse decorate(url)
8
- uri = ::URI.parse url
7
+ uri = ::URI.parse decorate(url)
9
8
  uri if valid? uri
10
9
  rescue ::URI::InvalidURIError => e
11
10
  new_exception = URLCanonicalize::Exception::URI.new("#{e.class}: #{e.message}")
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module URLCanonicalize
3
- VERSION = '0.1.10'
3
+ VERSION = '0.1.11'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: url_canonicalize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Sayers