rao-component 0.0.51.pre → 0.0.52.pre
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f6e0992a7b6934f2c3fec925a35b554c1988fcce85472458632fd1f87663d2c2
|
|
4
|
+
data.tar.gz: 771a942fb70b22548eb760caba0c1b604c504ae8ff7c8d83b7f5c48a5b1fa704
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 536f2be0aa2d332332c33ba6ff248bf351dbfe50682d7aef5c0cd5e36d28e3f5174f6c8913ca9c51b8436db5d5b43feebb34642fe48f3afff1a5d7c96836c351
|
|
7
|
+
data.tar.gz: 6d92d3a08f9a4a53b3acf5094a225a54d2e3021359228c73d3842dbf99fb7f1e0b453ebcbb053922a4e079e815c8b519524f5933651aff1f16aab7ac9b66d40b
|
|
@@ -42,6 +42,8 @@ module Rao
|
|
|
42
42
|
@rows[name] = options
|
|
43
43
|
end
|
|
44
44
|
|
|
45
|
+
alias_method :field, :row
|
|
46
|
+
|
|
45
47
|
def id(options = {}, &block)
|
|
46
48
|
row(:id, options, &block)
|
|
47
49
|
end
|
|
@@ -73,6 +75,7 @@ module Rao
|
|
|
73
75
|
end
|
|
74
76
|
|
|
75
77
|
def table_css_classes
|
|
78
|
+
return @options[:table_html] if @options.has_key?(:table_html)
|
|
76
79
|
classes = ['table', 'resource-table', @resource_class.name.underscore.gsub('/', '-')]
|
|
77
80
|
classes << 'table-bordered' if bordered?
|
|
78
81
|
classes << 'table-hover' if hover?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rao-component
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.52.pre
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Roberto Vasquez Angel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-01-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|