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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 79488eaf09465f82a4f385b4eeb7cf7315c78933
4
- data.tar.gz: a798758530d87f018f48e3f106bfea81cad8e7ee
3
+ metadata.gz: c98e9638b525b3fcd9d23bedaba939041c8bed44
4
+ data.tar.gz: e75d59320c151b9fc743f75a37993449093404cd
5
5
  SHA512:
6
- metadata.gz: 2f81c302f1b80f5b709876bb15df389df1f2b711a50881c045045df9a51d6ba7f6e45ada53ee625b25096b8e6e0c69785f113fcdc0c16d5175543eabc3209b9f
7
- data.tar.gz: a505619d57d0502aa5a3116d183b5758c9db05fb56248ca369a3acf384c13f7f2c71daed9733d9226fc61c450040bc9da034d61b0eb7eddfccb5b9fd45ace41b
6
+ metadata.gz: 2870e8e75996fda74575e0e97b920cdf6b275c3d531ffa04bb8a13737b8caf26c0fa47da18cabc9b8c9fb573fdc0a5a91cba4ab348c9e74fcc3d7665e12308c8
7
+ data.tar.gz: a8771e6c304757634be19bf1d83a263732174876f271958d3464bcee2b3f83aa977f3aa3aed8f1aa9da20b9129a22cd2a6365bf66dd1e655b33f7a3ff7513a1c
data/.gitignore CHANGED
@@ -15,3 +15,4 @@ spec/reports
15
15
  test/tmp
16
16
  test/version_tmp
17
17
  tmp
18
+ .idea
@@ -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: '' do
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[:column]
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
@@ -1,5 +1,5 @@
1
1
  module Iquest
2
2
  module SimpleTable
3
- VERSION = "0.3.3"
3
+ VERSION = '0.3.4'
4
4
  end
5
5
  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.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-02-25 00:00:00.000000000 Z
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