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: d3698d16dde7ad4bc631d8e07819b3511955dd10
4
- data.tar.gz: 182803a27a0d56229081db4330e6c10c4db93104
3
+ metadata.gz: fddf233346eea2eb9ca2befdfc7331c2df701702
4
+ data.tar.gz: 5b99e5318d76955c1d6f228f77dadefe837f88d5
5
5
  SHA512:
6
- metadata.gz: bc2751b74fefeaa88b089298780b6090f177de71cc12abee6282e4d8b54073e2f9ae2ded512222141875a85c49352de4ee6bf1e1e7a302f902cd231e6dfe3495
7
- data.tar.gz: 60f373676b7763d870e3be535f1150186fa54cff9ce440ab306237fcdd206a1deedd54ffd5c330ee9d261624a3392cad19f636504c1a11dca78581210e191bfc
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)
@@ -1,3 +1,3 @@
1
1
  module ServiceContractWebmock
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
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-02-22 00:00:00.000000000 Z
11
+ date: 2016-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: avro