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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d93952ec85969ac234dbeb59363103d1587a06dd
4
- data.tar.gz: 2f69882edbd84d12d0cd5c257858fa50a45d4a66
3
+ metadata.gz: 7d2c0efdba248e2389ee71279609112523677cce
4
+ data.tar.gz: b56df7831699c1b4a74a3d56d98b1da342147cb2
5
5
  SHA512:
6
- metadata.gz: 5ba609ac4bed6ac01df05fcaa3b1c6dcf1101e150d106016d4bcecc4850dc334a7074f785ce342df9cf6101e297e6673348b39c5cb9e985d6b325777b99b8b6e
7
- data.tar.gz: 8af2b92831a033e1b9d189911b92ac379e4651d02f752a11d70e691b8d26d2b21565f8b7edaf6b1b1831082ca0395ff9e6e8d4b70264a5f8bf7400be111786bd
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 %>
@@ -1,3 +1,3 @@
1
1
  module Autodoc
2
- VERSION = "0.3.3"
2
+ VERSION = "0.3.4"
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.3.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: 2013-12-30 00:00:00.000000000 Z
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: