rack-app 6.2.0 → 6.3.0

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: d4c9b79170b157df1f77bd06b82959a89189dbb5
4
- data.tar.gz: 53faae346cced095efa6d2b4d44a94dae32f6b37
3
+ metadata.gz: a30c5a6a7a52cf10668a197253627275f90ba81d
4
+ data.tar.gz: cd85ee7bdec9cf5eb1e53af589605c457668c860
5
5
  SHA512:
6
- metadata.gz: 2b4b3f1837ba0ce71df8a0a13e0868018af85620c38f42c4de8376a289ea1b842df61a2212a23ebbbe7c062054385c34da006698a6ca4c70d5b99042b235ba9f
7
- data.tar.gz: 3f8a5377fdd75d67ddeae8cff1cf2d018d3c45383b3de344f0359b05ea763c877a0baf5f65bc205891e4a1a42aa0dbbe0fedaac94a23ee133969f9783833bcbc
6
+ metadata.gz: 49dc51b403873944044214cb28eeeade45e671a0536e65018fd23fc410c4adfc8fd1553a3d0e772425ea9783b1b699057cbb3656bc1e9e5928118d3bf0eda696
7
+ data.tar.gz: 1a5ad56cb83e4688cdb65221705f96feb9dd97b7ddf784a77ae60ca1ef7b5e030b6a0d70c9c002a37f374ac2abce2e2e86645eb919172f148bfe4386e174d210
data/VERSION CHANGED
@@ -1 +1 @@
1
- 6.2.0
1
+ 6.3.0
@@ -9,7 +9,7 @@ module Rack::App::InstanceMethods::PathTo
9
9
  end
10
10
 
11
11
  router = request.env[Rack::App::Constants::ENV::ROUTER]
12
- final_path = router.final_path_for(app_class, defined_path)
12
+ final_path = router.path_to(app_class, defined_path)
13
13
 
14
14
  path_keys = final_path.scan(/:(\w+)/).flatten
15
15
 
@@ -63,7 +63,7 @@ class Rack::App::Router
63
63
 
64
64
  end
65
65
 
66
- def final_path_for(klass, defined_path)
66
+ def path_to(klass, defined_path)
67
67
  (@lookup_paths[klass][defined_path] || raise("missing path reference: #{klass}/#{original_path}")).dup
68
68
  end
69
69
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-app
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.2.0
4
+ version: 6.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-16 00:00:00.000000000 Z
11
+ date: 2017-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler