data_tables 0.1.17 → 0.1.18
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.
- data/Gemfile.lock +1 -1
- data/data_tables.gemspec +1 -1
- data/lib/data_tables.rb +3 -4
- data/spec/data_tables_spec.rb +1 -1
- metadata +7 -7
data/Gemfile.lock
CHANGED
data/data_tables.gemspec
CHANGED
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 {
|
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 {
|
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 {
|
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
|
data/spec/data_tables_spec.rb
CHANGED
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.
|
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-
|
16
|
+
date: 2013-11-06 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
type: :development
|
20
|
-
|
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
|
-
|
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.
|
77
|
+
rubygems_version: 1.8.26
|
78
78
|
signing_key:
|
79
79
|
specification_version: 3
|
80
80
|
summary: Rails friendly interface into DataTables
|