rspec-apib 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rspec/apib/version.rb +1 -1
- data/lib/rspec/apib/writer.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 384eec940b1092adf3511086a1d277914998a2bf
|
4
|
+
data.tar.gz: 3baef0e080b224033306dc0fdf31b42ebbb9796b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9bdf908d36b862e434c22e002d0aa9e4ba57eab60f9f779e2c7cf4b8dd6ef8992a6f4a4f60bdad235bdc098b06045a118d48006e524ea042b917428c0b3a22ea
|
7
|
+
data.tar.gz: 00e1d571d7fc3688e20f3c3b9cba33c0664cf54fb8c1df43962cb46b4774faf9ec3c48420fc0a4beef0ddea32fee34dd7afed8beba8f9b45e3188b744a8c7fd1
|
data/lib/rspec/apib/version.rb
CHANGED
data/lib/rspec/apib/writer.rb
CHANGED
@@ -37,7 +37,7 @@ module RSpec
|
|
37
37
|
group.each do |action, data|
|
38
38
|
apib += "## #{action}\n\n"
|
39
39
|
|
40
|
-
if data[:request][:params].length > 0
|
40
|
+
if data[:request][:params] && data[:request][:params].length > 0
|
41
41
|
apib += "+ Parameters\n\n"
|
42
42
|
data[:request][:params].each do |name, param|
|
43
43
|
required = param[:required] ? 'required' : 'optional'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-apib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Spieker
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|