ransack 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,9 +21,9 @@ module Ransack
21
21
  ]
22
22
 
23
23
  module_function
24
- # replace % _ \ to \% \_ \\
24
+ # replace % \ to \% \\
25
25
  def escape_wildcards(unescaped)
26
- unescaped.gsub(/\\/){ "\\\\" }.gsub(/%/, "\\%").gsub(/_/, "\\_")
26
+ unescaped.gsub(/\\/){ "\\\\" }.gsub(/%/, "\\%")
27
27
  end
28
28
  end
29
- end
29
+ end
@@ -1,3 +1,3 @@
1
1
  module Ransack
2
- VERSION = "0.7.1"
2
+ VERSION = "0.7.2"
3
3
  end
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.1
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 00:00:00.000000000 Z
13
+ date: 2012-12-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord