toolsmith 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +4 -0
- data/lib/toolsmith/version.rb +1 -1
- data/lib/toolsmith/views/definition_list.rb +2 -1
- metadata +2 -2
data/CHANGELOG.md
CHANGED
data/lib/toolsmith/version.rb
CHANGED
@@ -12,7 +12,8 @@ module Toolsmith
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def define(term, description)
|
15
|
-
|
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.
|
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-
|
13
|
+
date: 2013-02-16 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rails
|