hashbrowns 0.1.6 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/hashbrowns.gemspec +2 -2
- data/lib/hashbrowns/helpers/display_helpers.rb +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/hashbrowns.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{hashbrowns}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = [%q{crimsonknave}]
|
12
|
-
s.date = %q{2012-12-
|
12
|
+
s.date = %q{2012-12-12}
|
13
13
|
s.description = %q{Provides a DSL and helpers to convert hashes into html tables. Allows you to create overviews with selected fields, define keys whose values link to a url and so on.}
|
14
14
|
s.email = %q{crimsonknave@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -19,8 +19,8 @@ module HashBrowns
|
|
19
19
|
def display_name(name, table)
|
20
20
|
names = HashBrowns.conf.pretty_names[name]
|
21
21
|
return name unless names
|
22
|
-
return names[table] ? names[table] : name
|
23
22
|
return names["all"] if names.has_key?("all")
|
23
|
+
return names[table] ? names[table] : name
|
24
24
|
end
|
25
25
|
|
26
26
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: hashbrowns
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.2.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- crimsonknave
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-12-
|
13
|
+
date: 2012-12-12 00:00:00 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: haml-rails
|