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 +4 -4
- data/lib/rspec/apib/version.rb +1 -1
- data/lib/rspec/apib/writer.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9466ebb3ad8495c0f3c23391ba04d705c03f4b7f
|
4
|
+
data.tar.gz: c06f51567e5a1686ed1280938d01e0b553d8328a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78da8b2e69d667208e9a61a8e871866274046ad3ef267603660fe0189c1e78103ea393109c44d2fb2a547b709125d7a5f072442bd2e84d7e633f487fd21a6fc5
|
7
|
+
data.tar.gz: 3cff3c132121a385f641a8cb81d8642828f4c0fbb8d84a9ee2085ac754a14c88fbda95b00c92030322d33864aa6bc00b9d871d1336972be8e5e7def859560f21
|
data/lib/rspec/apib/version.rb
CHANGED
data/lib/rspec/apib/writer.rb
CHANGED
@@ -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 += "
|
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"
|