jdoc 0.3.3 → 0.3.4
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
- 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: 0fb60bad31d711fac30670a1abc396babad23ed7
|
4
|
+
data.tar.gz: 3793edbd95fe76197afade10daf4a230d803dc39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d22492be74ac1ed58c6e821112b80529878e842a9a6b234ad28fb6b0ec531f742061987d33d52dc7faa038e4a283aec6b77f747c287c1237e772fb3ae252f493
|
7
|
+
data.tar.gz: 26c9ae1ff166276c295383a0697f302232be4e3840076522f3f670de8d52b041325f3bcd7e514cc31ac3e6ddbc5aff326fac2d8c7aa9cfdc40faac04d88949e9
|
data/CHANGELOG.md
CHANGED
data/lib/jdoc/link.rb
CHANGED
@@ -145,7 +145,7 @@ module Jdoc
|
|
145
145
|
|
146
146
|
# @return [true, false] True if this endpoint must have request body
|
147
147
|
def has_request_body?
|
148
|
-
["PATCH", "POST", "PUT"].include?(method)
|
148
|
+
["PATCH", "POST", "PUT"].include?(method) && !request_parameters.empty?
|
149
149
|
end
|
150
150
|
|
151
151
|
# We have a policy that we should not return response body to PUT and DELETE requests.
|
data/lib/jdoc/version.rb
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.3.
|
4
|
+
version: 0.3.4
|
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-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|