autodoc 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/README.md +1 -0
- data/lib/autodoc/templates/document.md.erb +3 -0
- data/lib/autodoc/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d2c0efdba248e2389ee71279609112523677cce
|
4
|
+
data.tar.gz: b56df7831699c1b4a74a3d56d98b1da342147cb2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66deb224a2b8e1f584409f7795af9b43e1862518f92ff9aa84a02311a2bc336d00a0a1033be3fbedb4e7977ccc847f2cc9d1a91ee63b302f622f36d8cb0e8857
|
7
|
+
data.tar.gz: c7ab1e29455fd193163aed36655946689b1fd7d0f64442fe3fdd3d0b336c96994e0851a44f153c4ecde849893f0055a0f5415ae4f41e7b2840c603ac929c6c0f
|
data/README.md
CHANGED
@@ -59,4 +59,5 @@ You can configure `Autodoc.configuration` to change its behavior:
|
|
59
59
|
# example
|
60
60
|
Autodoc.configuration.path = "doc/api"
|
61
61
|
Autodoc.configuration.toc = true
|
62
|
+
Autodoc.configuration.template = File.read(File.expand_path("../autodoc/templates/document.md.erb", __FILE__))
|
62
63
|
```
|
@@ -3,11 +3,14 @@
|
|
3
3
|
<%= description %>
|
4
4
|
<%= parameters_section %>
|
5
5
|
### Example
|
6
|
+
|
7
|
+
#### Request
|
6
8
|
```
|
7
9
|
<%= method %> <%= request.path %><%= request_query %> <%= request_http_version %>
|
8
10
|
<%= request_header %><%= request_body_section %>
|
9
11
|
```
|
10
12
|
|
13
|
+
#### Response
|
11
14
|
```
|
12
15
|
<%= response_http_version %> <%= response.status %>
|
13
16
|
<%= response_header %><%= response_body_section %>
|
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.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:
|
11
|
+
date: 2014-01-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -243,4 +243,3 @@ test_files:
|
|
243
243
|
- spec/requests/entries_spec.rb
|
244
244
|
- spec/requests/recipes_spec.rb
|
245
245
|
- spec/spec_helper.rb
|
246
|
-
has_rdoc:
|