rspec-apib 0.3.0 → 0.3.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: 3a86d793744f7736b09fa16e8cb5f3eb3c092528
4
- data.tar.gz: 1978a2e469135b871f26da73ebf3636b8d48fc74
3
+ metadata.gz: 9466ebb3ad8495c0f3c23391ba04d705c03f4b7f
4
+ data.tar.gz: c06f51567e5a1686ed1280938d01e0b553d8328a
5
5
  SHA512:
6
- metadata.gz: 09ec789ce64972bba5d445217521d024e138caa8431e37f59778b529b9a97e3d7263a014e2c355a7838512ac88dd78c04eb95e39c409adcc1680643f4d19ffbb
7
- data.tar.gz: 83c8da9ba36881a53826bb14dc09daf8c8cf1d32769861fc1952905e01d8c7c2328b754de52bf80d6071cf0dede0d34fafbb899d9519112c14fdffa7a29cd96c
6
+ metadata.gz: 78da8b2e69d667208e9a61a8e871866274046ad3ef267603660fe0189c1e78103ea393109c44d2fb2a547b709125d7a5f072442bd2e84d7e633f487fd21a6fc5
7
+ data.tar.gz: 3cff3c132121a385f641a8cb81d8642828f4c0fbb8d84a9ee2085ac754a14c88fbda95b00c92030322d33864aa6bc00b9d871d1336972be8e5e7def859560f21
@@ -1,5 +1,5 @@
1
1
  module RSpec
2
2
  module Apib
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
@@ -60,7 +60,7 @@ module RSpec
60
60
  end
61
61
  data[:response].sort { |a, b| a[:status] - b[:status] }.each do |response|
62
62
  apib += "+ Response #{response[:status]}\n\n"
63
- apib += " #{response[:description]}\n\n"
63
+ apib += "#{response[:description].indent(2, ' ')}\n\n" if response[:description]
64
64
  apib += " + Headers\n\n"
65
65
  response[:headers].each do |header, value|
66
66
  apib += " #{header}: #{value}\n"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-apib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paul Spieker