data_tables 0.1.21 → 0.1.22
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 +8 -8
- data/data_tables.gemspec +1 -1
- data/lib/data_tables.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
NWNjYjE4ZWNiMmRkMWFmMjExNmRiZTg3MTgwYmJkMzgyZjU1MGRhYw==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
MjIyMzBhMTAxMTA1N2YwMDcxOGM2ODExY2QxZTMyNTI4ZmRmZjIwNw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
NDIzMDdkMjc1NmIwZjE0OTMwZTg3ZjhhOTQ4MTA2ZmRmZGJjMDJlZGZkYTFj
|
|
10
|
+
M2E1OGEwYjhmYTA3MjcyMTdjZjZkM2JhZjJiODRlYjhhMmI4ZjEwOWFlMGUx
|
|
11
|
+
MDIxNTFkMzEwYmJiMjY3NTE1ZGUxYTdiNjE4NzAyNTI4NDEwZTY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
NTA5MTIyNDIxMjdhNDk4YTE5ZjYxMjZhYjcyMGJlMzg1MDdjM2RkNTQ2ODg0
|
|
14
|
+
MjkzYWQ2ZWQ0MzYzNThlODIxZjgzY2NhOWI0MDUzMDRiM2FiNzAwZjhlMjgw
|
|
15
|
+
ZDI3ZDcyMDhhNWUyZjdiNTRiYWI1NTc2MDdlYjU0NmYwYmQwNmQ=
|
data/data_tables.gemspec
CHANGED
data/lib/data_tables.rb
CHANGED
|
@@ -264,7 +264,7 @@ module DataTablesController
|
|
|
264
264
|
unless params[:sSearch].blank?
|
|
265
265
|
sort_column_id = params[:iSortCol_0].to_i
|
|
266
266
|
sort_column = columns[sort_column_id]
|
|
267
|
-
condstr = params[:sSearch].strip.gsub(
|
|
267
|
+
condstr = params[:sSearch].strip.gsub(/%/, '%%').gsub(/'/,"''")
|
|
268
268
|
|
|
269
269
|
search_columns = options[:columns].map{|e| e.class == Symbol ? e : e[:attribute] }.compact
|
|
270
270
|
condition_local = search_columns.map do |column_name|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: data_tables
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.22
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Duane Compton
|
|
@@ -12,7 +12,7 @@ authors:
|
|
|
12
12
|
autorequire:
|
|
13
13
|
bindir: bin
|
|
14
14
|
cert_chain: []
|
|
15
|
-
date: 2014-
|
|
15
|
+
date: 2014-06-18 00:00:00.000000000 Z
|
|
16
16
|
dependencies:
|
|
17
17
|
- !ruby/object:Gem::Dependency
|
|
18
18
|
name: rspec
|