swagger-diff 1.0.4 → 1.0.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: 8152e95fa05dcd25376b7f726edab41888836072
4
- data.tar.gz: 752d5db3f0c6410341336930e1b70a28ac524862
3
+ metadata.gz: 4b908f910198d381cab6749fceb46dc189fcb824
4
+ data.tar.gz: f78caffe05399b68b448a021e7dd4b8c19ef1fba
5
5
  SHA512:
6
- metadata.gz: c3e70c465faaf5936d41ff58e6765ad841dd36c10037050fd3b6e274bf7c8cad23ad302400cf21468b8bb747eaaef0cf13e63831b72689a2e6ae34643fb6c0f4
7
- data.tar.gz: d6456a1a767e7bcace9da7cda0f8de1b0c1542ab93b24ee977a846e5d2441f5c1ae43e680f540f9e9cc2d3a8e6d96bd0271fa2a2c36207d140f07877f20f8bf7
6
+ metadata.gz: 7e534c39a09234677cf591f360d1f329a6f511cc16a052bd2ec49a474bcc87413cd78b4ce40b8e0b8a5408e6b78e7655b6f575c55d16047c3910ed382ab3dad0
7
+ data.tar.gz: d714909471d1c5d605d67c88f44fd07985d70abe94e1ba434b3a57522ab577f01e056fd91de566ff22e2c1c474cf44319576a02ef6b78b7e4ff4c871d1fc89a3
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.0.5 (2015-11-16)
4
+
5
+ ### Bugs Fixed
6
+
7
+ * [#18](https://github.com/civisanalytics/swagger-diff/pull/18)
8
+ parse non-ref parameter schemas (`allOf`, `properties`, and `items`)
9
+
3
10
  ## 1.0.4 (2015-11-11)
4
11
 
5
12
  ### Bugs Fixed
@@ -192,7 +192,7 @@ module Swagger
192
192
  return ret if params.nil?
193
193
  params.each do |param|
194
194
  if param.in == 'body'
195
- merge_refs!(ret, refs(param.schema['$ref']))
195
+ merge_refs!(ret, schema(param.schema))
196
196
  else
197
197
  ret[:required].add(param.name) if param.required
198
198
  ret[:all].add("#{param.name} (in: #{param.in}, type: #{param.type})")
@@ -1,5 +1,5 @@
1
1
  module Swagger
2
2
  module Diff
3
- VERSION = '1.0.4'
3
+ VERSION = '1.0.5'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swagger-diff
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Cousens
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-11-11 00:00:00.000000000 Z
11
+ date: 2015-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: swagger-core