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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e21bc20a799776d00e2f3b82f83eaf4774259ad
4
- data.tar.gz: 8eaa71920cf9d9c91b4963db7540ec6e5f8a6974
3
+ metadata.gz: 384eec940b1092adf3511086a1d277914998a2bf
4
+ data.tar.gz: 3baef0e080b224033306dc0fdf31b42ebbb9796b
5
5
  SHA512:
6
- metadata.gz: 91fd05e7336b5bc66def994ca582ae77bfd6234ce5fefff43bff0bc4fc91320a87398244b518e48a58fba0a14e81c03b8dcc0728e82ed1ee8e8459f58c19640a
7
- data.tar.gz: dffd4b76bbdbac4219ff132691b6af552f5925b02ef459189ae2c938c9f0cdebedfbd6b31dc2f49c2c5a7d18e5606abfc1c4be029b9e70609c22a48e032609c5
6
+ metadata.gz: 9bdf908d36b862e434c22e002d0aa9e4ba57eab60f9f779e2c7cf4b8dd6ef8992a6f4a4f60bdad235bdc098b06045a118d48006e524ea042b917428c0b3a22ea
7
+ data.tar.gz: 00e1d571d7fc3688e20f3c3b9cba33c0664cf54fb8c1df43962cb46b4774faf9ec3c48420fc0a4beef0ddea32fee34dd7afed8beba8f9b45e3188b744a8c7fd1
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Apib
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -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.0
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-05-13 00:00:00.000000000 Z
11
+ date: 2017-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler