proof 0.0.4 → 0.0.5

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.
Files changed (2) hide show
  1. data/lib/proof/proof.rb +3 -5
  2. metadata +2 -2
data/lib/proof/proof.rb CHANGED
@@ -17,13 +17,11 @@ module Proof
17
17
 
18
18
  def heading(heading)
19
19
  Proof::Output.h2 heading
20
- if block_given?
21
- yield
22
- end
20
+ yield if block_given?
23
21
  end
24
22
 
25
- def section(heading=nil)
26
- Proof::Output.h2 heading if heading
23
+ def section(heading='')
24
+ Proof::Output.h2 heading
27
25
  yield if block_given?
28
26
  end
29
27
  alias :block :section
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: proof
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-22 00:00:00.000000000 Z
12
+ date: 2013-11-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: output