display_for 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/display_for.gemspec +2 -2
- data/lib/display_for/builder/table.rb +1 -1
- data/lib/display_for/builder/view.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.4
|
data/display_for.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "display_for"
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Mateo Murphy"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-10-09"
|
13
13
|
s.description = "A Rails library for display data, in tabular and other formats"
|
14
14
|
s.email = "mateo.murphy@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -40,7 +40,7 @@ module DisplayFor
|
|
40
40
|
|
41
41
|
result = build_header + content_tag(:tbody, result)
|
42
42
|
|
43
|
-
html_options[:class] = "table table-bordered table-striped #{@resource_class.to_s.underscore}"
|
43
|
+
html_options[:class] = "table table-bordered table-striped #{@resource_class.to_s.underscore}-table"
|
44
44
|
content_tag(:table, result, html_options).html_safe
|
45
45
|
end
|
46
46
|
end
|
@@ -41,7 +41,7 @@ module DisplayFor
|
|
41
41
|
|
42
42
|
result << build_actions
|
43
43
|
|
44
|
-
html_options[:class] = "table table-bordered table-striped #{@resource_class.to_s.underscore}"
|
44
|
+
html_options[:class] = "table table-bordered table-striped #{@resource_class.to_s.underscore}-view"
|
45
45
|
content_tag(:table, result, html_options).html_safe
|
46
46
|
end
|
47
47
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: display_for
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
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: 2012-
|
12
|
+
date: 2012-10-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -154,7 +154,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
154
154
|
version: '0'
|
155
155
|
segments:
|
156
156
|
- 0
|
157
|
-
hash: -
|
157
|
+
hash: -301800421780716329
|
158
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
159
159
|
none: false
|
160
160
|
requirements:
|