riddl 0.99.206 → 0.99.207

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bc2754e57f68d7d2df9140742aa147ddb4d1795
4
- data.tar.gz: 821d24cae3882ba94bcf79bb0c22e1ed7768d213
3
+ metadata.gz: 07694842ff49cbfcf92bd87947f9a1f0dd80eed8
4
+ data.tar.gz: 874a1c3b9513dadbd5d1b2463d83e50a15b99f09
5
5
  SHA512:
6
- metadata.gz: 782a9b1a7047b6914fed6311e2bda94bc0cbc26f72ca117fd6d4db72bc3844d753c029cdee346f8fd289758330c2937c60c855e2059bfaa97d3b989417c02659
7
- data.tar.gz: 07e8655219b68b82f4561c297bf6314fddbacc06e5a2055aa1246bf96b48f65e0da1aebd429437fb33305083139815694d9cbda7d13b3cc60413f827db47cd54
6
+ metadata.gz: bc528735babe08fba33c3aaf3c9d798ffa056e7b41080f0436b0fd00066b82066db9262c86724a933e96136e6595ba635b86a4ceacce1320505717c2597dc9dd
7
+ data.tar.gz: b3b85afe019ca055368c162e631c107dc63dd09019a65f455a8c8675e576a180c7e71fd88bc0f1aa3ed4ed34fbd7b26fafd57f78bcea06d194194372405799d1
@@ -389,7 +389,7 @@ module Riddl
389
389
  @riddl_status = 404
390
390
 
391
391
  @riddl_pinfo = Riddl::Protocols::Utils::unescape(@riddl_env["PATH_INFO"].gsub(/\/+/,'/'))
392
- @riddl_matching_path = @riddl_paths.find{ |e| e[1] =~ @riddl_pinfo }
392
+ @riddl_matching_path = @riddl_paths.map{ |e| e[1] =~ @riddl_pinfo; $~ ? [$~.to_s.length,e] : nil }.compact.max{|e| e[0]}[1] rescue nil
393
393
 
394
394
  if @riddl_matching_path
395
395
  @riddl_query_string = @riddl_env['QUERY_STRING']
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.206"
3
+ s.version = "0.99.207"
4
4
  s.platform = Gem::Platform::RUBY
5
5
  s.license = "LGPL-3"
6
6
  s.summary = "restful interface description and declaration language: tools and client/server libs"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.206
4
+ version: 0.99.207
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen eTM Mangler
8
8
  autorequire:
9
9
  bindir: tools
10
10
  cert_chain: []
11
- date: 2016-04-15 00:00:00.000000000 Z
11
+ date: 2016-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xml-smart