riddl 0.99.169 → 0.99.170

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/ruby/riddl/server.rb +1 -1
  2. data/riddl.gemspec +1 -1
  3. metadata +2 -2
@@ -28,7 +28,7 @@ module Riddl
28
28
  class Execution #{{{
29
29
  attr_reader :response,:headers
30
30
  def initialize(response,headers)
31
- @response = (response.is_a?(Array) ? response : [response])
31
+ @response = (response.is_a?(Array) ? response.dup : [response])
32
32
  @headers = (headers.is_a?(Array) ? headers : [headers])
33
33
  @response.delete_if do |r|
34
34
  r.class != Riddl::Parameter::Simple && r.class != Riddl::Parameter::Complex
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "riddl"
3
- s.version = "0.99.169"
3
+ s.version = "0.99.170"
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
@@ -2,14 +2,14 @@
2
2
  name: riddl
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.99.169
5
+ version: 0.99.170
6
6
  platform: ruby
7
7
  authors:
8
8
  - Juergen eTM Mangler
9
9
  autorequire:
10
10
  bindir: tools
11
11
  cert_chain: []
12
- date: 2014-12-29 00:00:00.000000000 Z
12
+ date: 2015-01-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  version_requirements: !ruby/object:Gem::Requirement