ransack 0.7.1 → 0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/ransack/constants.rb +3 -3
- data/lib/ransack/version.rb +1 -1
- metadata +2 -2
data/lib/ransack/constants.rb
CHANGED
@@ -21,9 +21,9 @@ module Ransack
|
|
21
21
|
]
|
22
22
|
|
23
23
|
module_function
|
24
|
-
# replace %
|
24
|
+
# replace % \ to \% \\
|
25
25
|
def escape_wildcards(unescaped)
|
26
|
-
unescaped.gsub(/\\/){ "\\\\" }.gsub(/%/, "\\%")
|
26
|
+
unescaped.gsub(/\\/){ "\\\\" }.gsub(/%/, "\\%")
|
27
27
|
end
|
28
28
|
end
|
29
|
-
end
|
29
|
+
end
|
data/lib/ransack/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ransack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-12-
|
13
|
+
date: 2012-12-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|