riddl 0.99.225 → 0.99.226

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: fa8b5267ef2fc973e8d0cd04cc7ae2890ced9a2f
4
- data.tar.gz: 8b939fe47bc8fe1201bd3ed80b0aa329a648a248
3
+ metadata.gz: 1d6eca195cbeec3544fb4e192b66cf20f6c995de
4
+ data.tar.gz: 6d7b88a519dffa4019c7d9ceff69cbc44ed54c42
5
5
  SHA512:
6
- metadata.gz: d8a202abde54b2157bd186db2174ee9da3fc52cb6007c475a9e25ea8154d4baa55eb4c44035b8c73c7447153ad225956bdf5945f8ddb14066a5a9d6c9d78fb90
7
- data.tar.gz: 9ac44dd519d7564aa771963239b4eadfbb56863381b9ab10184c5ed23c5ec77189f836b198a4764dfa8b98f3050cd04c166f3dda099eae69e8feeccd8bd5a45a
6
+ metadata.gz: 73dd2bc985411195b256aeea27f7f66df3e7cb5aa45fc8a10a1ba661dc53528b67eddcd2c98c3466b5398504625051d47f59d84d692da291957bb8851a62578e
7
+ data.tar.gz: 2be0a3d91d2c5ff68183c54aa9d854b15b0940c6c458cdb66c999b2a3cba46cef7a4a7b322b8bd68aa0f32e8f63142598e9079170fae27f90a6049b97c01267f
@@ -298,7 +298,7 @@ module Riddl
298
298
  @riddl_path = '/'
299
299
  if m.interface.base.nil?
300
300
  if @riddl_interfaces.key? m.interface.name
301
- @riddl_info[:r] = m.interface.real_path(@riddl_pinfo).sub(/\//,'').split('/')
301
+ @riddl_info[:r] = m.interface.real_path(@riddl_pinfo).sub(/\/*/,'').split('/')
302
302
  @riddl_info[:h]['RIDDL_DECLARATION_PATH'] = @riddl_pinfo
303
303
  @riddl_info[:h]['RIDDL_DECLARATION_RESOURCE'] = m.interface.top
304
304
  @riddl_info[:s] = m.interface.sub.sub(/\//,'').split('/')
@@ -414,7 +414,7 @@ module Riddl
414
414
  @riddl_info = {
415
415
  :h => @riddl_headers,
416
416
  :p => @riddl_parameters,
417
- :r => @riddl_pinfo.sub(/\//,'').split('/').map{|e|Protocols::Utils::unescape(e)},
417
+ :r => @riddl_pinfo.sub(/\/*/,'').split('/').map{|e|Protocols::Utils::unescape(e)},
418
418
  :s => @riddl_matching_path[0].sub(/\//,'').split('/'),
419
419
  :m => @riddl_method,
420
420
  :env => @riddl_env.reject{|k,v| k =~ /^rack\./}.merge({'riddl.transport' => 'http', 'xmpp' => @riddl_opts[:xmpp]}),
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.225"
3
+ s.version = "0.99.226"
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,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.99.225
4
+ version: 0.99.226
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen 'eTM' Mangler