autodoc 0.5.0 → 0.5.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2a5528a44cbd03fbfae762dbaa8c4f274e1a537
4
- data.tar.gz: 911b9292db126659555cab615394c675f4442343
3
+ metadata.gz: 9897c4225fea42dac8504b183dca0a2ce8af15ef
4
+ data.tar.gz: 3c4e2a8d3f1ead83f0a567a842759ff50067fbd8
5
5
  SHA512:
6
- metadata.gz: 4b05f3d3f81415016e9a18d509d4c3b290866e063d4906360236b95f5161323bdff8e6b40794765bb12ae4afec824dfb065025262c4d2ca7ecfb5ef7b3946cab
7
- data.tar.gz: 9e22c29f5e0e8d90a6b07adba30b3c0f25b9afb4236a2c758d0c5e905176d282f4132c69075caa74e41b1e5f36305039861d0467d784f43f9688af9cc484baef
6
+ metadata.gz: b7ed8b99b745002747ac1bc385d66e2db98fa001105b762aaab49cc259cea6b3b88286765bf898aba808007c3ebb165c92fc5247a69a20ed3028f912b5827015
7
+ data.tar.gz: 0e90dd38cc686a2378471edb261f04a46d58743e50afb7228e731b85b7b04d20c05ed4773264f18a429e618dbd794eba47e4b92d197e4282d381fbb503037ebc
@@ -1,3 +1,6 @@
1
+ ## 0.5.1
2
+ - Fix lambda syntax (Thx @highwide)
3
+
1
4
  ## 0.5.0
2
5
  - Add `Autodoc.configuration.document_path_from_example` (Thx @samuraiT)
3
6
 
data/README.md CHANGED
@@ -90,7 +90,7 @@ Autodoc.configuration.path = "doc/api"
90
90
  Autodoc.configuration.toc = true
91
91
  Autodoc.configuration.toc_html = true
92
92
  Autodoc.configuration.template = File.read(File.expand_path("../autodoc/templates/document.md.erb", __FILE__))
93
- Audocot.configuration.document_path_from_example = -> (example) do
93
+ Autodoc.configuration.document_path_from_example = -> (example) do
94
94
  example.file_path.gsub(%r<\./spec/requests/api/(.+)_spec\.rb>, '\1.md')
95
95
  end
96
96
  ```
@@ -7,7 +7,7 @@ require "pathname"
7
7
 
8
8
  module Autodoc
9
9
  class Document
10
- DEFAULT_DOCUMENT_PATH_FROM_EXAMPLE = -> (example) do
10
+ DEFAULT_DOCUMENT_PATH_FROM_EXAMPLE = ->(example) do
11
11
  example.file_path.gsub(%r<\./spec/[^/]+/(.+)_spec\.rb>, '\1.md')
12
12
  end
13
13
 
@@ -1,3 +1,3 @@
1
1
  module Autodoc
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-22 00:00:00.000000000 Z
11
+ date: 2015-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -252,3 +252,4 @@ test_files:
252
252
  - spec/requests/entries_spec.rb
253
253
  - spec/requests/recipes_spec.rb
254
254
  - spec/spec_helper.rb
255
+ has_rdoc: