fuzzyurl 0.2.2 → 0.2.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: 2d0dab6b74c3fbb9b07795ef0a38bda8e8f793df
4
- data.tar.gz: 5a0d9230164d59f4c2a9e08dbc7fe3931380571d
3
+ metadata.gz: 24a55de22cf177f22d5d1b7806bffdcd35a812b2
4
+ data.tar.gz: 8b76e9e3d219f5d956ed8670b666decaca4c066e
5
5
  SHA512:
6
- metadata.gz: 3c3460f1c72705df33bc18667f781f840b7ffdc8ed34b5b008056ad5389d13e92a22d88bcd03f69a0625a7c4be3dd48d2156c292ed55d236523e1b47abb2e7b0
7
- data.tar.gz: ecd570ee1bb59a61ba9ea30adc23c00aaa3fc15578acde559c82ea9ab4f2366943c0a91345354737578bd668ea64e0c6532cd9ec27d0831c242b962296de6709
6
+ metadata.gz: 869d297098009d1f17f2e9ab24c42113973add4cd42a8a076d2a10fca91e0ff1ee3f06216de1b7dd1ee5d7dff793bcebfa68c2e27b82063130c301207c8863d0
7
+ data.tar.gz: 7f7a52b6498061ce98a69556822e8db7dcf1f75b6d4c7fe856654cfb237b9a2abd218571f1a3630539ee6fa9123aa70960ec0d1d68111ef3b77fd8e254b7d32e
@@ -1,6 +1,6 @@
1
1
  # @private
2
2
  class FuzzyURL
3
- VERSION = '0.2.2'
4
- VERSION_DATE = '2014-04-05'
3
+ VERSION = '0.2.3'
4
+ VERSION_DATE = '2015-11-25'
5
5
  end
6
6
 
data/lib/fuzzy_url.rb CHANGED
@@ -140,7 +140,7 @@ class FuzzyURL
140
140
  username = m[2]
141
141
  password = m[3]
142
142
  hostname = m[4] ? m[4].downcase : nil
143
- port = m[5] ? m[5].to_i : nil
143
+ port = m[5] ? (m[5] == '*' ? '*' : m[5].to_i) : nil
144
144
  path = m[6]
145
145
  query = m[7]
146
146
  fragment = m[8]
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuzzyurl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pete Gamache
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-05 00:00:00.000000000 Z
11
+ date: 2015-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: 10.0.4
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: 10.0.4
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: minitest
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: 4.7.0
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: 4.7.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: mocha
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: 0.13.3
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.13.3
55
55
  description: |2
@@ -77,17 +77,17 @@ require_paths:
77
77
  - lib
78
78
  required_ruby_version: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: 1.8.7
83
83
  required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - '>='
85
+ - - ">="
86
86
  - !ruby/object:Gem::Version
87
87
  version: '0'
88
88
  requirements: []
89
89
  rubyforge_project:
90
- rubygems_version: 2.2.0
90
+ rubygems_version: 2.4.6
91
91
  signing_key:
92
92
  specification_version: 4
93
93
  summary: Non-strict URL parsing and URL fuzzy matching.