rack_router 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/CHANGELOG.md +5 -0
- data/lib/rack/router/middleware.rb +1 -1
- data/lib/rack/router/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 42ea7dd6da5bd0479b4fe1fc78015cdf3aa1c98339d9e513fd007926aca99f23
|
4
|
+
data.tar.gz: ac39e0cebaff77cdf71e03c4559a0245bda19363dfe5dd09d6a69059816c6117
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fa049b09cef4c08e651e65d673005229d3f470c63bcc4081d23bc8d089bef62cda0693427d9e89048791ef2081cb00ecd0d7d29ff52f2904c9bacd0c3518fc92
|
7
|
+
data.tar.gz: 339640dacd05738fab7f21220bf216dcc607871afc788fa5a2598419ee663d9f2925068ed53cf2444267a226ac1a761a6feb5c8564e129901e2fc15f2b8d4acd
|
data/.gitignore
CHANGED
data/CHANGELOG.md
CHANGED
@@ -88,7 +88,7 @@ module Rack
|
|
88
88
|
# :content_type [Array<String>,String]
|
89
89
|
def define_path(http_method, path, value, options = {})
|
90
90
|
options = @current_options.dup.merge(options)
|
91
|
-
path = [@current_path, path].
|
91
|
+
path = [@current_path, path].compact.join('/')
|
92
92
|
@routes.add(http_method, path, value, options)
|
93
93
|
end
|
94
94
|
|
data/lib/rack/router/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rack_router
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis Talakevich
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|