wsdsl 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/response.rb +6 -1
- data/spec/json_response_description_spec.rb +2 -0
- data/wsdsl.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lib/response.rb
CHANGED
@@ -309,7 +309,12 @@ class WSDSL
|
|
309
309
|
meta_attribute({name => type}.merge(opts))
|
310
310
|
else
|
311
311
|
# with a fallback to the @type ivar
|
312
|
-
meta_attributes.find{|att| att.type == type}
|
312
|
+
meta = meta_attributes.find{|att| att.type == type}
|
313
|
+
if meta
|
314
|
+
meta.value
|
315
|
+
else
|
316
|
+
instance_variable_get("@#{type}")
|
317
|
+
end
|
313
318
|
end
|
314
319
|
end
|
315
320
|
|
data/wsdsl.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{wsdsl}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = [%q{Matt Aimonetti}]
|
12
|
-
s.date = %q{2011-09-
|
12
|
+
s.date = %q{2011-09-10}
|
13
13
|
s.description = %q{A Ruby DSL describing Web Services without implementation details.}
|
14
14
|
s.email = %q{mattaimonetti@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wsdsl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-09-
|
12
|
+
date: 2011-09-10 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: A Ruby DSL describing Web Services without implementation details.
|
15
15
|
email: mattaimonetti@gmail.com
|