riddl 0.99.141 → 0.99.142

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.
Files changed (3) hide show
  1. data/lib/ruby/riddl/client.rb +4 -1
  2. data/riddl.gemspec +1 -1
  3. metadata +1 -1
@@ -38,6 +38,8 @@ unless Module.constants.include?('CLIENT_INCLUDED')
38
38
 
39
39
  module Riddl
40
40
 
41
+ # URL PATTERN
42
+ #{{{
41
43
  RIDDL_URL_PATTERN = %r{
42
44
  \A
43
45
 
@@ -77,7 +79,7 @@ unless Module.constants.include?('CLIENT_INCLUDED')
77
79
 
78
80
  \z
79
81
  }xi
80
-
82
+ #}}}
81
83
 
82
84
  class Client
83
85
  #{{{
@@ -278,6 +280,7 @@ unless Module.constants.include?('CLIENT_INCLUDED')
278
280
  private :extract_qparams
279
281
 
280
282
  def exec_request(riddl_method,parameters,simulate) #{{{
283
+ parameters = [ parameters ] unless parameters.is_a? Array
281
284
  parameters = parameters.dup
282
285
  headers = extract_headers(parameters)
283
286
  options = extract_options(parameters)
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.141"
3
+ s.version = "0.99.142"
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.141
4
+ version: 0.99.142
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: