dynamic_query 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -91,11 +91,14 @@
91
91
  };
92
92
 
93
93
  $( '#table2csv' ).on( 'click', function() {
94
+ var hide_ary = jQuery.parseJSON( sessionStorage.getItem( 'toggle_columns' ) );
94
95
  var table = [];
95
96
  $( '#dynamic_result_table tr' ).each( function( index ) {
96
97
  var row = [];
97
- $( this ).children().each( function() {
98
- row.push( $( this ).text() );
98
+ $( this ).children().each( function( index ) {
99
+ if ( $.inArray( index, hide_ary ) == -1 ) {
100
+ row.push( $( this ).text() );
101
+ }
99
102
  });
100
103
  table.push( row );
101
104
  });
@@ -1,7 +1,7 @@
1
1
  module DynamicQuery
2
2
  MAJOR = 0
3
3
  MINOR = 7
4
- PATCH = 0
4
+ PATCH = 1
5
5
 
6
6
  VERSION = [MAJOR, MINOR, PATCH].compact.join('.')
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dynamic_query
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-03-07 00:00:00.000000000 Z
12
+ date: 2013-03-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -191,7 +191,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
191
191
  version: '0'
192
192
  segments:
193
193
  - 0
194
- hash: 310380793727581897
194
+ hash: -1676575374639160798
195
195
  required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  none: false
197
197
  requirements:
@@ -200,11 +200,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  version: '0'
201
201
  segments:
202
202
  - 0
203
- hash: 310380793727581897
203
+ hash: -1676575374639160798
204
204
  requirements: []
205
205
  rubyforge_project:
206
206
  rubygems_version: 1.8.25
207
207
  signing_key:
208
208
  specification_version: 3
209
- summary: dynamic_query-0.7.0
209
+ summary: dynamic_query-0.7.1
210
210
  test_files: []