service_contract_webmock 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fddf233346eea2eb9ca2befdfc7331c2df701702
|
4
|
+
data.tar.gz: 5b99e5318d76955c1d6f228f77dadefe837f88d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c025656e015ffda5d48207fc586c84454ea2f0911661bb3216605904b535c040f7b313236696ef04bb1934fa0c0ceb45434fe4e03550fbf6c973ffc48e6b5a3c
|
7
|
+
data.tar.gz: fcef05a65757f71fbc0154b23157924618f3160ac27b4e9546ed6a7a5b5b96f0de755450ae438289dbf06dcef0cc14450bbcd44dfa4bd558550393806e715d1d
|
@@ -31,6 +31,8 @@ module ServiceContractWebmock
|
|
31
31
|
@fields ||= endpoint.parameters.map do |param|
|
32
32
|
if param.type.definition.is_a?(Avro::Schema::PrimitiveSchema)
|
33
33
|
Field.new(param.name, param.type.definition)
|
34
|
+
elsif param.definition.type.is_a?(Avro::Schema::PrimitiveSchema)
|
35
|
+
Field.new(param.name, param.definition.type)
|
34
36
|
else
|
35
37
|
param.type.definition.fields.map do |field|
|
36
38
|
Field.new(field.name, field.type) unless ['page', 'per_page'].include?(field.name)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: service_contract_webmock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donald Plummer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: avro
|