autodoc 0.6.2 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/autodoc/configuration.rb +2 -1
- data/lib/autodoc/document.rb +1 -0
- data/lib/autodoc/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: 9b8a2a488c593dd6b946457b2187939d4a2cf436
|
4
|
+
data.tar.gz: aebf189b5ae6d04fbdb7b3701db2e51243eca6da
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7591cf811cc061dec3a0a05d26a41b70a9c2caaa2420e760aa3bbb633a61837c91f16e57afd477ceb27689e3f8c968989d9d185f770ba8270f27dfe7605c3b67
|
7
|
+
data.tar.gz: 8207eb860795eca2f040cfe439b2d846d06d6f474b40eed344704128236246b5893f3d82e323be9fb3faf1800d98462029cd225475272cb1587d5426148eff01
|
data/CHANGELOG.md
CHANGED
data/lib/autodoc/document.rb
CHANGED
@@ -137,6 +137,7 @@ module Autodoc
|
|
137
137
|
|
138
138
|
def response_header
|
139
139
|
table = response.headers.clone
|
140
|
+
table = table.to_hash if table.respond_to?(:to_hash)
|
140
141
|
table.except!(*Autodoc.configuration.suppressed_response_header)
|
141
142
|
table.map {|key, value| [key, value].join(": ") }.sort.join("\n")
|
142
143
|
end
|
data/lib/autodoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: autodoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.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:
|
11
|
+
date: 2018-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|