sinatra-docdsl 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +8 -8
  2. data/lib/docdsl.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  SHA1:
3
3
  metadata.gz: !binary |-
4
- Yzc0MmUwOTQwMzQxMjY0MDkzN2Y2ZDE5OGMzYzc2NmFmMDA0OGE4NQ==
4
+ NGQyOTdlZDgxZjg0ZTkzNDA0NTllYzQzYTEyNjM3ZjM5YjI2OGI4YQ==
5
5
  data.tar.gz: !binary |-
6
- NmUzOTBhMWJlYjIzZTA5MmI5MjVkYTg4YTM0OTk3MjczN2QyYWZmMg==
6
+ NDZiNDI4MzY4NTQ1ZDFjMzgxM2JlYzZjOGVmNWVjMGVkZGQ1MjM3Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ODhlNDMzNjYwYTk1NmZhYjI1OTRjZDY4MTU3M2UzZjg5MzhlYTQyNmFmNDAw
10
- MTc2NzVkMTU4ZjVkN2M3ZGRlZmMwMTRkNDM4NmY0ZjY4OGEyYjA3MTNhN2Ji
11
- YWZkYjk2MTM5OTJjZDEwMDYzOTE2MDMzNGNjYTc2ZWVmZWZhMTg=
9
+ MjQ0NWJkNWQzYmEyMGJkMjMyZjY3Mzc5YjhjMWI4YzJkNDRkNjc4NzdlY2M4
10
+ NzQwZWY1NTI1MGY2YWFlYThiNTc4NjRkODQ3YzYxNTFlMTEzNDUxYWQyNDFk
11
+ OGIyNzBkMjNjYzFiZDMwZTQ2OTZhMGRkNTJhMTRjNjc5OTgzODI=
12
12
  data.tar.gz: !binary |-
13
- NjE5Mzc5MDhkMGUzYmVlOThmMTgwMDZiMjY0MmFjMDkyNDEwNzZmOGY2YWU5
14
- NjRmOGI0YjJiMjMxMWZmMWY2NDQ5ZTFjMmUwNzgxZmY0MTJiZjRkMmNmOWNm
15
- Zjg1YjdlOTcyYTlhYTkzZTNiM2Q1MWMxNGZhNWEwNjNhMDAwZWY=
13
+ M2FhMGJmMjcwMDM1OGZlZjVmYzY1NzU5ZDdkYTg5ZmYxYjMyNjVlNDA1NDYy
14
+ NDllNjZkN2JiNjA1YzhkYzhiM2M2NjFkYjhmYzBiYzJkMmI2NWZhM2I3N2Ni
15
+ NWE2NzFlNjIwN2Y1ZTcxZWMwNGFjZTU4NmQwYmMwMTFkYjI0OTg=
data/lib/docdsl.rb CHANGED
@@ -297,7 +297,7 @@ module Sinatra
297
297
  end
298
298
 
299
299
  def documentation(description,&block)
300
- @page_doc ||= PageDoc.new(&block)
300
+ @page_doc ||= PageDoc.new
301
301
  @last_doc=DocEntry.new(description,&block)
302
302
  (@page_doc.entries ||= []) << @last_doc
303
303
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-docdsl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jilles van Gurp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-05 00:00:00.000000000 Z
11
+ date: 2013-08-30 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A simple DSL for documenting Sinatra apps and generating a /doc endpoint in a sinatra resource
14
14
  email: incoming@jillesvangurp.xom