iquest-simple_table 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/lib/iquest/simple_table/table_builder.rb +3 -3
- data/lib/iquest/simple_table/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c98e9638b525b3fcd9d23bedaba939041c8bed44
|
4
|
+
data.tar.gz: e75d59320c151b9fc743f75a37993449093404cd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2870e8e75996fda74575e0e97b920cdf6b275c3d531ffa04bb8a13737b8caf26c0fa47da18cabc9b8c9fb573fdc0a5a91cba4ab348c9e74fcc3d7665e12308c8
|
7
|
+
data.tar.gz: a8771e6c304757634be19bf1d83a263732174876f271958d3464bcee2b3f83aa977f3aa3aed8f1aa9da20b9129a22cd2a6365bf66dd1e655b33f7a3ff7513a1c
|
data/.gitignore
CHANGED
@@ -161,7 +161,7 @@ module Iquest
|
|
161
161
|
end
|
162
162
|
|
163
163
|
def render_column_search_inputs(column, options)
|
164
|
-
content_tag :th, class:
|
164
|
+
content_tag :th, class: options[:class], data: options[:data] do
|
165
165
|
if options[:search]
|
166
166
|
options[:search].map do |search, options|
|
167
167
|
render_search_input(search, options)
|
@@ -205,9 +205,9 @@ module Iquest
|
|
205
205
|
|
206
206
|
|
207
207
|
def render_column_label(column)
|
208
|
-
options = @columns[
|
208
|
+
options = @columns[column]
|
209
209
|
|
210
|
-
content_tag :th do
|
210
|
+
content_tag :th, class: options[:class], data: options[:data] do
|
211
211
|
render_label(column)
|
212
212
|
end
|
213
213
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iquest-simple_table
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Dusanek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ransack_simple_form
|