lazy_api_doc 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: ccdc2ffb40c35f3a3fbbf811ee7d755377f4f12d741abe285a77c04c88489ae4
4
- data.tar.gz: 4cd6dbe6fbf87222053c2ebfc8ef9a9600d16f9dc578e839709a58ef2e6dbd07
3
+ metadata.gz: cade623543ec18c5e5801b2a48759a15c07bb9db03456a677ce8f56f1d746d2d
4
+ data.tar.gz: 82896a7629500e91c5485d6f55b7253fe47d3a6ebe77a77230a61337769b68e1
5
5
  SHA512:
6
- metadata.gz: 5b0027216bd106842a42c8d0e9be34988a701e4bbf3e65502fb0a47cb36cbc27b6c13c736710ed5c0d9db547217575cc22fcb57582f543239907c78130350892
7
- data.tar.gz: 0f0d4c726dc0059cc98a94e0fa12e90217f21f23482347a60438dbfbfc9d0e7e27c80ae52a865a1877469a0bac72ba2f172aed597f6fde0641e4db6106dd5db2
6
+ metadata.gz: 191327130ee28424e080044703c76677db0763c7706344eb1e091ee6a7518cc3e950a2fab7efa48c6b02c6fe9adeefb472c96e186c71471f127ae4b32090ad55
7
+ data.tar.gz: d6c2ffb1d18af8b61fed0d4256018cd014dcc9ba7d9a2b6c625e525828471691a729e6f8be3f65125845e13dd1072fcfb49e9e89e4cdda504767949afd3982cf
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.6.4
1
+ ruby-2.7.0
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lazy_api_doc (0.1.3)
4
+ lazy_api_doc (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -83,7 +83,7 @@ module LazyApiDoc
83
83
  def parse_array(variant, variants)
84
84
  first = variant.first
85
85
  types_template(variants).merge(
86
- "items" => parse(first, variants.map(&:first).compact),
86
+ "items" => parse(first, variants.compact.map(&:first).compact),
87
87
  "example" => variant
88
88
  )
89
89
  end
@@ -1,3 +1,3 @@
1
1
  module LazyApiDoc
2
- VERSION = "0.1.3".freeze
2
+ VERSION = "0.1.4".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lazy_api_doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Guban
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-14 00:00:00.000000000 Z
11
+ date: 2020-04-17 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The gem collects all requests and responses from your request specs and
14
14
  generates documentationbased on it
@@ -66,7 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
- rubygems_version: 3.0.6
69
+ rubygems_version: 3.1.2
70
70
  signing_key:
71
71
  specification_version: 4
72
72
  summary: Creates openapi v3 documentation based on rspec request tests