tidy-table-rails 3.0.0 → 3.0.1

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: 5fa57449c148416c7723ff3b061652b3163458e5
4
- data.tar.gz: 033333567c4f15ec2830e3d59f184bd70a483563
3
+ metadata.gz: a3dc8285d3c2e7bd9c954da5be7d25ee341d0e4b
4
+ data.tar.gz: 4620fe908e7fd5e84eacb538af0e90d620121b4b
5
5
  SHA512:
6
- metadata.gz: 6fdb010aff84e1898a4b7e1dae252073ed176bca9b37386c39404aa6c4aa7d0c03efbe284b3b10740fb849049820e28acebd937f8a630d77809816df3147c3cd
7
- data.tar.gz: 3d33c960d4278f4b925bb0474acbd4e6dbcdbbfc974d29c29454d0654db84ffc9d3dcb608868a136576e300de7ac75f828c6dd67d83f1b44219b35100dee916b
6
+ metadata.gz: d293c1027e49e60a1831636e2d4b9d026dd36718e816ca8c72ee7337b9f0a2619f85e2f32662d2bf47121b7c25480e41512db1e94f555eae55305519c6874809
7
+ data.tar.gz: d980819d5b9d4ec30f5650d6259e3eab6013b7aea7452083da2baaca3219f49e8f3430aa92aaba4892fae9e3cace7142520e3460642f26c241e80032ed0a9ffe
@@ -1,7 +1,7 @@
1
1
  module Tidy
2
2
  module Table
3
3
  module Rails
4
- VERSION = "3.0.0"
4
+ VERSION = "3.0.1"
5
5
  end
6
6
  end
7
7
  end
@@ -54,7 +54,7 @@
54
54
  // Config defaults
55
55
  config = Object.assign({
56
56
  sortByPattern: function(col_num, val) {
57
- if (col_num && val) {
57
+ if (typeof col_num !== 'undefined' && typeof val !== 'undefined') {
58
58
  return String(val).replace(/$|%|#/g, '');
59
59
  }
60
60
  }
File without changes
metadata CHANGED
@@ -1,41 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tidy-table-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - dbackowski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-29 00:00:00.000000000 Z
11
+ date: 2016-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '1.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ~>
31
+ - - "~>"
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ~>
38
+ - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
@@ -56,42 +56,42 @@ dependencies:
56
56
  name: rspec-rails
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: capybara
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ~>
73
+ - - "~>"
74
74
  - !ruby/object:Gem::Version
75
75
  version: '2.6'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ~>
80
+ - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: '2.6'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: sqlite3
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.3'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.3'
97
97
  description: Asset pipeline bundling of the tidy table jquery plugin.
@@ -101,9 +101,9 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
- - .gitignore
105
- - .rspec
106
- - .travis.yml
104
+ - ".gitignore"
105
+ - ".rspec"
106
+ - ".travis.yml"
107
107
  - Gemfile
108
108
  - LICENSE.txt
109
109
  - README.md
@@ -148,30 +148,30 @@ files:
148
148
  - spec/dummy/db/test.sqlite3
149
149
  - spec/dummy/lib/assets/.keep
150
150
  - spec/dummy/log/.keep
151
+ - spec/dummy/log/test.log
151
152
  - spec/dummy/public/404.html
152
153
  - spec/dummy/public/422.html
153
154
  - spec/dummy/public/500.html
154
155
  - spec/dummy/public/favicon.ico
156
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/1V/1V3WXuFtZi_zIhUNeSKzu1IpiIehUbgl87ZK0wRJZNc.cache
157
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/9H/9HdUR2HjVrOHQmfrK1G4i-AhuFbzYWOwbnxDelMCzbA.cache
158
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/AO/AOH0n9mx-xP3llfT6h3mAAwJzt3kL_RVNJtVbo1UpNw.cache
159
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/BV/BVryeHhSssB8LklCrFW_dKOW_cxmxIua2Ix6Yy9wFGY.cache
160
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ch/ChFlgcwKx6vowhza4-gpEB7JK-Pzd-nhIuW8E5pH3zk.cache
161
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/D1/D1-Bj6Vczwbx4shX4uk2Kk9Vh8s2rb-METUWj5Xn7yY.cache
162
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/IX/IXz-mu8a7yuMOPb229tpRRhM0qXK0JEAzo4l84m10kg.cache
163
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/LG/LGGLuKXkh60G76XTbvmQD-cnEKd3gvBN_TnO3kUNK80.cache
164
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/QK/QKlvjC6bYh_nCm9kd4QTqRfOXJCKNk0rhPf7Y1_LV1A.cache
165
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/RK/RKeVPq0QyOT2_RcwYLBT3tQNxZp3ud8NH4XW4qxVKc8.cache
166
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Uu/UuUiXGWfp12_GWDKKXqjdwPT3dXXl7DvDZ2gj7wT21M.cache
167
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/aF/aFPQDxjleUTQWDv_clF-zooVnIt8rNDxseEg4iBEz6Y.cache
168
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/rx/rxzebr-nSOXJZHh-_jf3iKDdHVXLP0PI7Jz_7rJEbQ4.cache
169
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/sh/sh6ufq9ZL3lTl6FKIny1qlYspGPwD_yDOGF6Q7lIk1w.cache
155
170
  - spec/features/assets_spec.rb
156
171
  - spec/spec_helper.rb
157
172
  - tidy-table-rails.gemspec
158
173
  - vendor/assets/javascripts/tidy-table.js
159
174
  - vendor/assets/stylesheets/tidy-table.css
160
- - spec/dummy/log/test.log
161
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/9dUiGLnCoYGlMMoyJxiA6sYZaTzO5E0z3LXIndUkZxA.cache
162
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/I7iA12QXi0v_d_m9KnwGlJs0i-jxq8jOTjoSGgThLS8.cache
163
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/IdEQpyq95L1ZCKsvyYXpmwrJ5m4re1-PU4QWSvGO2cA.cache
164
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/J0T-ieNYyNasfJXbNOX-i8gPFlnz7umulnY5jHQ8cMg.cache
165
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/RArjhRyejO70EgWK-qg6b3QMyrhdPgj5Zi3dagQrXqE.cache
166
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/UE6Uhwge2PToyGuiqGSQteTsHGYAmixLx_rU0U6e1s0.cache
167
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/UvnNaNyNiZ6RVDZb8QtaAxMilES3-i161zcJdqBni8k.cache
168
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/YwCR5bONajMEo7HvhY050SUpBt5yJPUJICk_rWmhGAk.cache
169
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/e46AYnIIxZHGEJgpFAx3S37NZDTxLp11WZxCi7cf8l8.cache
170
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/hCbJZ7N6h55f6Ebq0l5bneTKIpaMVaSh0PpNRkN5lEM.cache
171
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/uufkynyrXOoO6kmUBbcwIGiKVVoM5NavmXUQH2vidWA.cache
172
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/vP_muxnzZtn8RNqAm02_r_zYcckWlo8C7xmvFctN44c.cache
173
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/wr7plbJR8oEsGvgnc_0dRRL3L0dPh9yZ-MVE6mSpRbI.cache
174
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/zpU64aTKUJH4CAknZnsxZxRdJDE3H7fAuZX0ObycI5Q.cache
175
175
  homepage: https://github.com/dbackowski/tidy-table-rails
176
176
  licenses:
177
177
  - MIT
@@ -182,71 +182,71 @@ require_paths:
182
182
  - lib
183
183
  required_ruby_version: !ruby/object:Gem::Requirement
184
184
  requirements:
185
- - - '>='
185
+ - - ">="
186
186
  - !ruby/object:Gem::Version
187
187
  version: '0'
188
188
  required_rubygems_version: !ruby/object:Gem::Requirement
189
189
  requirements:
190
- - - '>='
190
+ - - ">="
191
191
  - !ruby/object:Gem::Version
192
192
  version: '0'
193
193
  requirements: []
194
194
  rubyforge_project:
195
- rubygems_version: 2.0.14.1
195
+ rubygems_version: 2.5.1
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: Create a HTML table from JSON that can be sorted, selected, and post-processed
199
199
  using a simple callback.
200
200
  test_files:
201
- - spec/dummy/README.rdoc
202
- - spec/dummy/Rakefile
203
- - spec/dummy/app/assets/javascripts/application.js
204
- - spec/dummy/app/assets/stylesheets/application.css
205
- - spec/dummy/app/controllers/application_controller.rb
206
- - spec/dummy/app/helpers/application_helper.rb
207
- - spec/dummy/app/views/layouts/application.html.erb
201
+ - spec/features/assets_spec.rb
208
202
  - spec/dummy/bin/bundle
209
203
  - spec/dummy/bin/rails
210
204
  - spec/dummy/bin/rake
211
205
  - spec/dummy/bin/setup
212
- - spec/dummy/config/application.rb
213
- - spec/dummy/config/boot.rb
214
- - spec/dummy/config/database.yml
215
- - spec/dummy/config/environment.rb
216
206
  - spec/dummy/config/environments/development.rb
217
- - spec/dummy/config/environments/production.rb
218
207
  - spec/dummy/config/environments/test.rb
219
- - spec/dummy/config/initializers/assets.rb
220
- - spec/dummy/config/initializers/backtrace_silencers.rb
221
- - spec/dummy/config/initializers/cookies_serializer.rb
222
- - spec/dummy/config/initializers/filter_parameter_logging.rb
208
+ - spec/dummy/config/environments/production.rb
209
+ - spec/dummy/config/environment.rb
210
+ - spec/dummy/config/application.rb
223
211
  - spec/dummy/config/initializers/inflections.rb
212
+ - spec/dummy/config/initializers/wrap_parameters.rb
213
+ - spec/dummy/config/initializers/cookies_serializer.rb
224
214
  - spec/dummy/config/initializers/mime_types.rb
215
+ - spec/dummy/config/initializers/assets.rb
216
+ - spec/dummy/config/initializers/backtrace_silencers.rb
225
217
  - spec/dummy/config/initializers/session_store.rb
226
- - spec/dummy/config/initializers/wrap_parameters.rb
227
- - spec/dummy/config/locales/en.yml
218
+ - spec/dummy/config/initializers/filter_parameter_logging.rb
228
219
  - spec/dummy/config/routes.rb
220
+ - spec/dummy/config/boot.rb
229
221
  - spec/dummy/config/secrets.yml
230
- - spec/dummy/config.ru
231
- - spec/dummy/db/test.sqlite3
222
+ - spec/dummy/config/locales/en.yml
223
+ - spec/dummy/config/database.yml
232
224
  - spec/dummy/log/test.log
225
+ - spec/dummy/README.rdoc
226
+ - spec/dummy/app/views/layouts/application.html.erb
227
+ - spec/dummy/app/assets/javascripts/application.js
228
+ - spec/dummy/app/assets/stylesheets/application.css
229
+ - spec/dummy/app/helpers/application_helper.rb
230
+ - spec/dummy/app/controllers/application_controller.rb
231
+ - spec/dummy/public/favicon.ico
233
232
  - spec/dummy/public/404.html
234
- - spec/dummy/public/422.html
235
233
  - spec/dummy/public/500.html
236
- - spec/dummy/public/favicon.ico
237
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/9dUiGLnCoYGlMMoyJxiA6sYZaTzO5E0z3LXIndUkZxA.cache
238
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/I7iA12QXi0v_d_m9KnwGlJs0i-jxq8jOTjoSGgThLS8.cache
239
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/IdEQpyq95L1ZCKsvyYXpmwrJ5m4re1-PU4QWSvGO2cA.cache
240
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/J0T-ieNYyNasfJXbNOX-i8gPFlnz7umulnY5jHQ8cMg.cache
241
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/RArjhRyejO70EgWK-qg6b3QMyrhdPgj5Zi3dagQrXqE.cache
242
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/UE6Uhwge2PToyGuiqGSQteTsHGYAmixLx_rU0U6e1s0.cache
243
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/UvnNaNyNiZ6RVDZb8QtaAxMilES3-i161zcJdqBni8k.cache
244
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/YwCR5bONajMEo7HvhY050SUpBt5yJPUJICk_rWmhGAk.cache
245
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/e46AYnIIxZHGEJgpFAx3S37NZDTxLp11WZxCi7cf8l8.cache
246
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/hCbJZ7N6h55f6Ebq0l5bneTKIpaMVaSh0PpNRkN5lEM.cache
247
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/uufkynyrXOoO6kmUBbcwIGiKVVoM5NavmXUQH2vidWA.cache
248
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/vP_muxnzZtn8RNqAm02_r_zYcckWlo8C7xmvFctN44c.cache
249
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/wr7plbJR8oEsGvgnc_0dRRL3L0dPh9yZ-MVE6mSpRbI.cache
250
- - spec/dummy/tmp/cache/assets/sprockets/v3.0/zpU64aTKUJH4CAknZnsxZxRdJDE3H7fAuZX0ObycI5Q.cache
251
- - spec/features/assets_spec.rb
234
+ - spec/dummy/public/422.html
235
+ - spec/dummy/Rakefile
236
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/9H/9HdUR2HjVrOHQmfrK1G4i-AhuFbzYWOwbnxDelMCzbA.cache
237
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/sh/sh6ufq9ZL3lTl6FKIny1qlYspGPwD_yDOGF6Q7lIk1w.cache
238
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/LG/LGGLuKXkh60G76XTbvmQD-cnEKd3gvBN_TnO3kUNK80.cache
239
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Ch/ChFlgcwKx6vowhza4-gpEB7JK-Pzd-nhIuW8E5pH3zk.cache
240
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/IX/IXz-mu8a7yuMOPb229tpRRhM0qXK0JEAzo4l84m10kg.cache
241
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/Uu/UuUiXGWfp12_GWDKKXqjdwPT3dXXl7DvDZ2gj7wT21M.cache
242
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/BV/BVryeHhSssB8LklCrFW_dKOW_cxmxIua2Ix6Yy9wFGY.cache
243
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/1V/1V3WXuFtZi_zIhUNeSKzu1IpiIehUbgl87ZK0wRJZNc.cache
244
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/aF/aFPQDxjleUTQWDv_clF-zooVnIt8rNDxseEg4iBEz6Y.cache
245
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/QK/QKlvjC6bYh_nCm9kd4QTqRfOXJCKNk0rhPf7Y1_LV1A.cache
246
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/AO/AOH0n9mx-xP3llfT6h3mAAwJzt3kL_RVNJtVbo1UpNw.cache
247
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/rx/rxzebr-nSOXJZHh-_jf3iKDdHVXLP0PI7Jz_7rJEbQ4.cache
248
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/D1/D1-Bj6Vczwbx4shX4uk2Kk9Vh8s2rb-METUWj5Xn7yY.cache
249
+ - spec/dummy/tmp/cache/assets/sprockets/v3.0/RK/RKeVPq0QyOT2_RcwYLBT3tQNxZp3ud8NH4XW4qxVKc8.cache
250
+ - spec/dummy/config.ru
251
+ - spec/dummy/db/test.sqlite3
252
252
  - spec/spec_helper.rb