hanami-router 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/hanami/router/version.rb +1 -1
- data/lib/hanami/routing/http_router.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a2586983782aac1daa6b998207f6b1711ce0b30
|
4
|
+
data.tar.gz: 56be6fbaa73b846cd3d531da9747edbbf938cb6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d4b100f203d78a140e62830b309f1bf6edca12cd825dfbfde86e6b89645baf7ed61898d06ec38bcf55b15eccb0fc38d3bc63ae9ffa151e6bb9a4dc3232d95650
|
7
|
+
data.tar.gz: 807b558c107acf679aef63e26b7b17bf4d7d726e6ae198beb954e9d380ba1ebc3578ea95ce9c589111591ca81f8a4ffcd3050301a4c0c0bcbcc506604d1a8a06
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# Hanami::Router
|
2
2
|
Rack compatible HTTP router for Ruby
|
3
3
|
|
4
|
+
## v0.6.2 - 2016-02-05
|
5
|
+
### Fixed
|
6
|
+
- [Anton Davydov] Fix double leading slash for Capybara's `current_path`
|
7
|
+
|
4
8
|
## v0.6.1 - 2016-01-27
|
5
9
|
### Fixed
|
6
10
|
- [Luca Guidi] Fix body parsers for non Hash requests
|
@@ -31,7 +31,7 @@ module Hanami
|
|
31
31
|
# @since 0.1.0
|
32
32
|
# @api private
|
33
33
|
class HttpRouter < ::HttpRouter
|
34
|
-
# Script name - rack
|
34
|
+
# Script name - rack environment variable
|
35
35
|
#
|
36
36
|
# @since 0.5.0
|
37
37
|
# @api private
|
@@ -161,7 +161,7 @@ module Hanami
|
|
161
161
|
# @since 0.5.0
|
162
162
|
def rewrite_path_info(env, request)
|
163
163
|
super
|
164
|
-
env[SCRIPT_NAME] = @prefix
|
164
|
+
env[SCRIPT_NAME] = @prefix.join(env[SCRIPT_NAME])
|
165
165
|
end
|
166
166
|
|
167
167
|
private
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-router
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-02-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: http_router
|