riddl 0.99.231 → 0.99.232

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: 589db946f1b0359d708380d502f1cc9c150191f2
4
- data.tar.gz: 66cd8ec80f790948cabe5a4b9645a792925f002f
3
+ metadata.gz: 852ad88d3c74aa09da2d9f59b32546fffbbc732d
4
+ data.tar.gz: a868eea4e7abf40e4374803e8bf4d70de3c7a278
5
5
  SHA512:
6
- metadata.gz: 28d309e0a8cf127189f0a0ba5cd86b3004e7cdfc129e51febbb00669fcc4ebe90acdee52ae98ed4f36178eba1be23e363efb129def54b1c54dbb622b37810389
7
- data.tar.gz: ee740c6b90598c3fa90ce080e31a1d5c8a5ff787aaf7013b2f97e25f832492892eea4b573d4daebfe29a624ae895ebe5f95a7020c43f90359c57b58ea5e6619b
6
+ metadata.gz: 7a97292fdb8fae14e5801e3e65cf798a830707285c08b7de6dc9d03304a3638a551681276e5e5fd3f3074bada9f0b76c1f45ea300c8f37bdd27f250cdf89aa34
7
+ data.tar.gz: d2014f354eb9a178f4a2feb625dd02ec060d687de135ae195fa9340e695261a98da0f929c4dd1f306e32cd79c24fbf74e543aa3437bf45f23acef99b959f7e20
@@ -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('/')
@@ -355,7 +355,7 @@ module Riddl
355
355
  @riddl_info = {
356
356
  :h => @riddl_headers,
357
357
  :p => @riddl_parameters,
358
- :r => @riddl_pinfo.sub(/\//,'').split('/').map{|e|Protocols::Utils::unescape(e)},
358
+ :r => @riddl_pinfo.sub(/^\//,'').split('/').map{|e|Protocols::Utils::unescape(e)},
359
359
  :s => @riddl_matching_path[0].sub(/\//,'').split('/'),
360
360
  :m => @riddl_method,
361
361
  :env => Hash[@riddl_env.root.attributes.map{|a| [a.qname.name, a.value] }].merge({ 'riddl.transport' => 'xmpp', 'xmpp' => @riddl_res }),
@@ -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]}),
@@ -432,7 +432,7 @@ module Riddl
432
432
  # one ws connection, no overlay
433
433
  unless @riddl_message.nil?
434
434
  if @riddl_interfaces.key? @riddl_message.interface.name
435
- @riddl_info[:r] = @riddl_message.interface.real_path(@riddl_pinfo).sub(/\//,'').split('/')
435
+ @riddl_info[:r] = @riddl_message.interface.real_path(@riddl_pinfo).sub(/^\//,'').split('/')
436
436
  @riddl_info[:h]['RIDDL_DECLARATION_PATH'] = @riddl_pinfo
437
437
  @riddl_info[:h]['RIDDL_DECLARATION_RESOURCE'] = @riddl_message.interface.top
438
438
  @riddl_info[:s] = @riddl_message.interface.sub.sub(/\//,'').split('/')
data/riddl.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.231"
3
+ s.version = "0.99.232"
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.231
4
+ version: 0.99.232
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juergen 'eTM' Mangler