iquest-simple_table 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: 807b12f4e3564830b09be940beafa14032b17373
4
- data.tar.gz: cb32eb6f8e080e76f5c26850a4f86202bd29bf51
3
+ metadata.gz: 79488eaf09465f82a4f385b4eeb7cf7315c78933
4
+ data.tar.gz: a798758530d87f018f48e3f106bfea81cad8e7ee
5
5
  SHA512:
6
- metadata.gz: 1fbc874d9f6c690e7ab40dd0305b0dfa77408bc86f5e429ae7019dd73387053f9c8dd20720e70e91f8223d079e10f212409ead162791b32f44f33302e0cc3acb
7
- data.tar.gz: 89475c10a3563eaa6216ab844140fc83e9f3b380f19b668506390bc7a8e7c9ba532021660b39c65fc0ff8b944d458772d1a974d12c7ccd184fb13cdaeeaf733f
6
+ metadata.gz: 2f81c302f1b80f5b709876bb15df389df1f2b711a50881c045045df9a51d6ba7f6e45ada53ee625b25096b8e6e0c69785f113fcdc0c16d5175543eabc3209b9f
7
+ data.tar.gz: a505619d57d0502aa5a3116d183b5758c9db05fb56248ca369a3acf384c13f7f2c71daed9733d9226fc61c450040bc9da034d61b0eb7eddfccb5b9fd45ace41b
@@ -60,7 +60,7 @@ module Iquest
60
60
  @columns[attr][:search] = search
61
61
  end
62
62
  @columns[attr][:formatter] ||= block if block_given?
63
- @columns[attr][:sort] ||= attr.to_s.tr('.','_') #sort link attr
63
+ @columns[attr][:sort] ||= attr.to_s.tr('.','_') unless @columns[attr][:sort] == false #sort link attr
64
64
  end
65
65
 
66
66
  def action(*args, &block)
@@ -1,5 +1,5 @@
1
1
  module Iquest
2
2
  module SimpleTable
3
- VERSION = "0.3.2"
3
+ VERSION = "0.3.3"
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.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pavel Dusanek
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-28 00:00:00.000000000 Z
11
+ date: 2015-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ransack_simple_form