data_tables 0.1.17 → 0.1.18

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- data_tables (0.1.11)
4
+ data_tables (0.1.18)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/data_tables.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'data_tables'
5
- s.version = '0.1.17'
5
+ s.version = '0.1.18'
6
6
  s.date = Time.now.strftime("%Y-%m-%d")
7
7
  s.summary = "Rails friendly interface into DataTables"
8
8
  s.description = "DataTables for Rails"
data/lib/data_tables.rb CHANGED
@@ -93,7 +93,7 @@ module DataTablesController
93
93
  end
94
94
 
95
95
  except.each do |expt|
96
- must_not { term expt[0].to_sym, expt[1].to_s }
96
+ must_not { match expt[0].to_sym, expt[1].to_s }
97
97
  end
98
98
  end
99
99
  end
@@ -119,7 +119,7 @@ module DataTablesController
119
119
  boolean do
120
120
  must { all }
121
121
  except.each do |expt|
122
- must_not { term expt[0].to_sym, expt[1].to_s }
122
+ must_not { match expt[0].to_sym, expt[1].to_s }
123
123
  end
124
124
  end
125
125
  end
@@ -218,7 +218,7 @@ module DataTablesController
218
218
  must { all }
219
219
  end
220
220
  except.each do |expt|
221
- must_not { term expt[0].to_sym, expt[1].to_s }
221
+ must_not { match expt[0].to_sym, expt[1].to_s }
222
222
  end
223
223
  end
224
224
  end
@@ -322,7 +322,6 @@ module DataTablesController
322
322
  :conditions => conditions.join(" AND "),
323
323
  :per_page => params[:iDisplayLength])
324
324
  end
325
- #logger.info("------conditions is #{conditions}")
326
325
  data = objects.collect do |instance|
327
326
  columns.collect { |column| datatables_instance_get_value(instance, column) }
328
327
  end
@@ -19,7 +19,7 @@ describe 'data_tables' do
19
19
  create mappings: {
20
20
  document: {
21
21
  properties: {
22
- name: { type: 'string', index: 'not_analyzed'}
22
+ name: { type: 'string' }
23
23
  }
24
24
  }
25
25
  }
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: data_tables
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.1.17
5
+ version: 0.1.18
6
6
  platform: ruby
7
7
  authors:
8
8
  - Duane Compton
@@ -13,19 +13,19 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2013-10-03 00:00:00.000000000 Z
16
+ date: 2013-11-06 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  type: :development
20
- name: rspec
21
- prerelease: false
22
- requirement: !ruby/object:Gem::Requirement
20
+ version_requirements: !ruby/object:Gem::Requirement
23
21
  requirements:
24
22
  - - ~>
25
23
  - !ruby/object:Gem::Version
26
24
  version: '2.10'
27
25
  none: false
28
- version_requirements: !ruby/object:Gem::Requirement
26
+ prerelease: false
27
+ name: rspec
28
+ requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - ~>
31
31
  - !ruby/object:Gem::Version
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements: []
76
76
  rubyforge_project:
77
- rubygems_version: 1.8.24
77
+ rubygems_version: 1.8.26
78
78
  signing_key:
79
79
  specification_version: 3
80
80
  summary: Rails friendly interface into DataTables