jdoc 0.3.4 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/jdoc/link.rb +1 -1
- data/lib/jdoc/version.rb +1 -1
- data/spec/fixtures/schema.yml +1 -0
- 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: e950936defc2da7ee729e828e7e467b27d781a52
|
4
|
+
data.tar.gz: 43aa7f0f3f305263b14c344aafecad81de927ccf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4def7a29cc508189d503d47842e6cb7212b7cbca2a8d4d7c39bc83624a994d5fbdd23798d8a7eef61298fdfd957bf1eaaac87648099b37a7c7e5e36e25c94910
|
7
|
+
data.tar.gz: 84c369f04f0b30eea3f00b21fb13214715a52a39f29dcfec4d131946b9400f1f55b0fd177565ab594d75844b920520539e8f9b845a1dc7ae99c66c9282c38542
|
data/CHANGELOG.md
CHANGED
data/lib/jdoc/link.rb
CHANGED
@@ -151,7 +151,7 @@ module Jdoc
|
|
151
151
|
# We have a policy that we should not return response body to PUT and DELETE requests.
|
152
152
|
# @return [true, false] True if this endpoint must have response body
|
153
153
|
def has_response_body?
|
154
|
-
|
154
|
+
@raw_link.media_type != "null"
|
155
155
|
end
|
156
156
|
|
157
157
|
# @return [String] JSON response body generated from example properties
|
data/lib/jdoc/version.rb
CHANGED
data/spec/fixtures/schema.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jdoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryo Nakamura
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09
|
11
|
+
date: 2014-12-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|