autodoc 0.7.4 → 0.7.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/Gemfile.lock +9 -7
- data/lib/autodoc/document.rb +2 -2
- data/lib/autodoc/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3acbd0ba59fffe8699bedf783ae8528444ec317a18ab6d4986b6cdae287f3cf
|
4
|
+
data.tar.gz: 70125ed64d16b22668593f644b2a1261232c9962d14eb5418be83e9614559b3c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 713e695c00c58ccd8d0a5081aebfac6e125b30db230a73530206741621a45d97d022ee663ea61e1cfc061dc8f468c963a173897aa131a1d30ade9dec7a677e59
|
7
|
+
data.tar.gz: d23954933a488e1bfadc57ed32bae4fa03623dcf65cc0f0e2d8392f766f8c88b083d98fa8e195f780e97020e4187e1074f497165e681cde7dd05efdedf78f124
|
data/CHANGELOG.md
CHANGED
@@ -7,8 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
7
7
|
|
8
8
|
## Unreleased
|
9
9
|
|
10
|
+
## 0.7.5
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
|
14
|
+
- Convert header key to string.
|
15
|
+
|
10
16
|
## 0.7.4 - 2020-04-14
|
11
17
|
|
18
|
+
### Fixed
|
19
|
+
|
12
20
|
- Improve error message on no request case.
|
13
21
|
|
14
22
|
## 0.7.3 - 2019-06-18
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
autodoc (0.7.
|
4
|
+
autodoc (0.7.5)
|
5
5
|
actionpack
|
6
6
|
activesupport (>= 3.0.0)
|
7
7
|
rspec
|
@@ -71,18 +71,20 @@ GEM
|
|
71
71
|
method_source (0.8.2)
|
72
72
|
mimemagic (0.3.3)
|
73
73
|
mini_mime (1.0.1)
|
74
|
-
mini_portile2 (2.
|
74
|
+
mini_portile2 (2.5.0)
|
75
75
|
minitest (5.11.3)
|
76
76
|
nio4r (2.3.1)
|
77
|
-
nokogiri (1.
|
78
|
-
mini_portile2 (~> 2.
|
77
|
+
nokogiri (1.11.1)
|
78
|
+
mini_portile2 (~> 2.5.0)
|
79
|
+
racc (~> 1.4)
|
79
80
|
pry (0.10.4)
|
80
81
|
coderay (~> 1.1.0)
|
81
82
|
method_source (~> 0.8.1)
|
82
83
|
slop (~> 3.4)
|
83
84
|
pry-rails (0.3.6)
|
84
85
|
pry (>= 0.10.4)
|
85
|
-
|
86
|
+
racc (1.5.2)
|
87
|
+
rack (2.2.3)
|
86
88
|
rack-test (1.1.0)
|
87
89
|
rack (>= 1.0, < 3)
|
88
90
|
rails (5.2.2)
|
@@ -110,7 +112,7 @@ GEM
|
|
110
112
|
rake (>= 0.8.7)
|
111
113
|
thor (>= 0.19.0, < 2.0)
|
112
114
|
rake (13.0.1)
|
113
|
-
redcarpet (3.
|
115
|
+
redcarpet (3.5.1)
|
114
116
|
responders (2.4.0)
|
115
117
|
actionpack (>= 4.2.0, < 5.3)
|
116
118
|
railties (>= 4.2.0, < 5.3)
|
@@ -152,7 +154,7 @@ GEM
|
|
152
154
|
rails (>= 4.0.0)
|
153
155
|
websocket-driver (0.7.0)
|
154
156
|
websocket-extensions (>= 0.1.0)
|
155
|
-
websocket-extensions (0.1.
|
157
|
+
websocket-extensions (0.1.5)
|
156
158
|
|
157
159
|
PLATFORMS
|
158
160
|
ruby
|
data/lib/autodoc/document.rb
CHANGED
@@ -87,8 +87,8 @@ module Autodoc
|
|
87
87
|
|
88
88
|
def request_header_from_http_prefix
|
89
89
|
request.headers.inject({}) do |table, (key, value)|
|
90
|
-
if key.start_with?("HTTP_")
|
91
|
-
table.merge(key.gsub(/^HTTP_/, "") => value)
|
90
|
+
if key.to_s.start_with?("HTTP_")
|
91
|
+
table.merge(key.to_s.gsub(/^HTTP_/, "") => value)
|
92
92
|
else
|
93
93
|
table
|
94
94
|
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.7.
|
4
|
+
version: 0.7.5
|
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: 2021-02-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0'
|
203
203
|
requirements: []
|
204
|
-
rubygems_version: 3.
|
204
|
+
rubygems_version: 3.1.4
|
205
205
|
signing_key:
|
206
206
|
specification_version: 4
|
207
207
|
summary: Auto-generate JSON API documents from your request-specs.
|