angus-router 0.0.3 → 0.0.4

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
- SHA1:
3
- metadata.gz: b59c2658f40d9e5980f080d6f455b3ddedc88052
4
- data.tar.gz: 5236cdaa42598dd96ebc0b64599ad2a92e0c0813
2
+ SHA256:
3
+ metadata.gz: 43fa2c81461bd6ab05ddc2d2f7bbf0eaffc126e54890521fd2fa1a5010549ab6
4
+ data.tar.gz: 342febd6dccfea511f21a06823310819dfbf93f9feb5d777db2a828ba1b848e1
5
5
  SHA512:
6
- metadata.gz: 0ab8b2ae622d9cac53a02872749f9e9baf72ca5741d4b93f1ed4838d3563a35332323b4678b6bc783869c9d3edaf8e3a18e552fe6caff33083db7c473d583d9b
7
- data.tar.gz: 5b618fc51b0011a7d3ea9fd506a34eda231a1b061254b4639f42de49fd1ad05a1af54212017c1f9eac8c460b1758f77ba13d5f722d9abb2f276502c1979c577c
6
+ metadata.gz: d8f05655fbac81f570901e8d68b410eb8507cd69873e8b312b942c82bf328e297bd18091ef74625300b7a5c831765d7e828bc65a7df30b1c58a79efd91d27f42
7
+ data.tar.gz: 265d68ebdd5750cbcec05ca733df619a8aaa9d91df1a74bdce8047f812486ba8912a2b34df2062a3a681b0f944fcb3ad52d8a80dd1fe79f257dfe7cf38a5786c
@@ -1,5 +1,5 @@
1
1
  module Angus
2
2
  class Router
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
- end
5
+ end
data/lib/angus/router.rb CHANGED
@@ -147,8 +147,8 @@ module Angus
147
147
  #
148
148
  # @return [String]
149
149
  def encoded(char)
150
- enc = URI.escape(char)
151
- enc = "(?:#{Regexp.escape enc}|#{URI.escape char, /./})" if enc == char
150
+ enc = CGI.escape(char)
151
+ enc = "(?:#{Regexp.escape(enc)}|#{CGI.escape(char)})" if enc == char
152
152
  enc = "(?:#{enc}|#{encoded('+')})" if char == " "
153
153
  enc
154
154
  end
metadata CHANGED
@@ -1,113 +1,114 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: angus-router
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gianfranco Zas
8
+ - Adrian Gomez
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2013-10-30 00:00:00.000000000 Z
12
+ date: 2023-01-20 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rack
15
- version_requirements: !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - ~>
18
+ - - "~>"
18
19
  - !ruby/object:Gem::Version
19
20
  version: '1.5'
20
- requirement: !ruby/object:Gem::Requirement
21
+ type: :runtime
22
+ prerelease: false
23
+ version_requirements: !ruby/object:Gem::Requirement
21
24
  requirements:
22
- - - ~>
25
+ - - "~>"
23
26
  - !ruby/object:Gem::Version
24
27
  version: '1.5'
25
- prerelease: false
26
- type: :runtime
27
28
  - !ruby/object:Gem::Dependency
28
29
  name: rake
29
- version_requirements: !ruby/object:Gem::Requirement
30
+ requirement: !ruby/object:Gem::Requirement
30
31
  requirements:
31
- - - '>='
32
+ - - ">="
32
33
  - !ruby/object:Gem::Version
33
34
  version: '0'
34
- requirement: !ruby/object:Gem::Requirement
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
35
38
  requirements:
36
- - - '>='
39
+ - - ">="
37
40
  - !ruby/object:Gem::Version
38
41
  version: '0'
39
- prerelease: false
40
- type: :development
41
42
  - !ruby/object:Gem::Dependency
42
43
  name: rspec
43
- version_requirements: !ruby/object:Gem::Requirement
44
+ requirement: !ruby/object:Gem::Requirement
44
45
  requirements:
45
- - - ~>
46
+ - - "~>"
46
47
  - !ruby/object:Gem::Version
47
48
  version: '2.14'
48
- requirement: !ruby/object:Gem::Requirement
49
+ type: :development
50
+ prerelease: false
51
+ version_requirements: !ruby/object:Gem::Requirement
49
52
  requirements:
50
- - - ~>
53
+ - - "~>"
51
54
  - !ruby/object:Gem::Version
52
55
  version: '2.14'
53
- prerelease: false
54
- type: :development
55
56
  - !ruby/object:Gem::Dependency
56
57
  name: simplecov
57
- version_requirements: !ruby/object:Gem::Requirement
58
+ requirement: !ruby/object:Gem::Requirement
58
59
  requirements:
59
60
  - - '='
60
61
  - !ruby/object:Gem::Version
61
62
  version: 0.7.1
62
- requirement: !ruby/object:Gem::Requirement
63
+ type: :development
64
+ prerelease: false
65
+ version_requirements: !ruby/object:Gem::Requirement
63
66
  requirements:
64
67
  - - '='
65
68
  - !ruby/object:Gem::Version
66
69
  version: 0.7.1
67
- prerelease: false
68
- type: :development
69
70
  - !ruby/object:Gem::Dependency
70
71
  name: simplecov-rcov
71
- version_requirements: !ruby/object:Gem::Requirement
72
+ requirement: !ruby/object:Gem::Requirement
72
73
  requirements:
73
74
  - - '='
74
75
  - !ruby/object:Gem::Version
75
76
  version: 0.2.3
76
- requirement: !ruby/object:Gem::Requirement
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: !ruby/object:Gem::Requirement
77
80
  requirements:
78
81
  - - '='
79
82
  - !ruby/object:Gem::Version
80
83
  version: 0.2.3
81
- prerelease: false
82
- type: :development
83
84
  - !ruby/object:Gem::Dependency
84
85
  name: simplecov-rcov-text
85
- version_requirements: !ruby/object:Gem::Requirement
86
+ requirement: !ruby/object:Gem::Requirement
86
87
  requirements:
87
88
  - - '='
88
89
  - !ruby/object:Gem::Version
89
90
  version: 0.0.2
90
- requirement: !ruby/object:Gem::Requirement
91
+ type: :development
92
+ prerelease: false
93
+ version_requirements: !ruby/object:Gem::Requirement
91
94
  requirements:
92
95
  - - '='
93
96
  - !ruby/object:Gem::Version
94
97
  version: 0.0.2
95
- prerelease: false
96
- type: :development
97
98
  - !ruby/object:Gem::Dependency
98
99
  name: ci_reporter
99
- version_requirements: !ruby/object:Gem::Requirement
100
+ requirement: !ruby/object:Gem::Requirement
100
101
  requirements:
101
- - - '>='
102
+ - - ">="
102
103
  - !ruby/object:Gem::Version
103
104
  version: '0'
104
- requirement: !ruby/object:Gem::Requirement
105
+ type: :development
106
+ prerelease: false
107
+ version_requirements: !ruby/object:Gem::Requirement
105
108
  requirements:
106
- - - '>='
109
+ - - ">="
107
110
  - !ruby/object:Gem::Version
108
111
  version: '0'
109
- prerelease: false
110
- type: :development
111
112
  description: |2
112
113
  Angus-router is a powerful router for your next generation of awesome Rack applications.
113
114
  Just throw your shit into angus-router and run away.
@@ -120,7 +121,7 @@ files:
120
121
  - lib/angus-router.rb
121
122
  - lib/angus/router.rb
122
123
  - lib/angus/router/version.rb
123
- homepage: http://mooveit.github.io/angus-router
124
+ homepage: https://github.com/Moove-it/angus-router
124
125
  licenses:
125
126
  - MIT
126
127
  metadata: {}
@@ -130,17 +131,16 @@ require_paths:
130
131
  - lib
131
132
  required_ruby_version: !ruby/object:Gem::Requirement
132
133
  requirements:
133
- - - '>='
134
+ - - ">="
134
135
  - !ruby/object:Gem::Version
135
- version: '0'
136
+ version: 2.7.0
136
137
  required_rubygems_version: !ruby/object:Gem::Requirement
137
138
  requirements:
138
- - - '>='
139
+ - - ">="
139
140
  - !ruby/object:Gem::Version
140
141
  version: '0'
141
142
  requirements: []
142
- rubyforge_project:
143
- rubygems_version: 2.1.5
143
+ rubygems_version: 3.3.7
144
144
  signing_key:
145
145
  specification_version: 4
146
146
  summary: Router for Rack applications.