toolsmith 0.0.10 → 0.0.11

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.
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.0.11
4
+
5
+ * Definition list will make empty values into a single space.
6
+
3
7
  ## v0.0.10
4
8
 
5
9
  * Definition list now captures all marup within it.
@@ -1,3 +1,3 @@
1
1
  module Toolsmith
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -12,7 +12,8 @@ module Toolsmith
12
12
  end
13
13
 
14
14
  def define(term, description)
15
- content_tag(:dt, term) + content_tag(:dd, description || " ")
15
+ description = description.blank? ? " " : description
16
+ content_tag(:dt, term) + content_tag(:dd, description)
16
17
  end
17
18
 
18
19
  def to_s
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: toolsmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-15 00:00:00.000000000 Z
13
+ date: 2013-02-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails