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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b85a26f53e7fa2ebcf4f67b06233e19efc03c107355214b9b623af246a904ff5
4
- data.tar.gz: 5fae1862e5f8bcfd60babc419291cf6ed74bf9e658a0bb0c250a44352419a6a6
3
+ metadata.gz: d3acbd0ba59fffe8699bedf783ae8528444ec317a18ab6d4986b6cdae287f3cf
4
+ data.tar.gz: 70125ed64d16b22668593f644b2a1261232c9962d14eb5418be83e9614559b3c
5
5
  SHA512:
6
- metadata.gz: 18c63dcaa2adc9402ca25ec51d2d6a7ebebdbb058138214f1e6d3049a1fee60673f2e69bf95c5c09add3ec7aa812a47aecd42df5c6a64f30b1784861f488609d
7
- data.tar.gz: 8183e08791216d038607b6f5b615c58a9945ad8a586f0b6d77d1e5e2a9dd7ecd81554e4b32390c28eeb2602a04a0722856310cc232343e29b95cf572ad1d5631
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.3)
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.4.0)
74
+ mini_portile2 (2.5.0)
75
75
  minitest (5.11.3)
76
76
  nio4r (2.3.1)
77
- nokogiri (1.10.8)
78
- mini_portile2 (~> 2.4.0)
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
- rack (2.0.8)
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.4.0)
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.3)
157
+ websocket-extensions (0.1.5)
156
158
 
157
159
  PLATFORMS
158
160
  ruby
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Autodoc
2
- VERSION = "0.7.4"
2
+ VERSION = "0.7.5"
3
3
  end
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
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: 2020-04-14 00:00:00.000000000 Z
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.0.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.