client_side_validations 2.9.4 → 2.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -73,7 +73,7 @@ module ClientSideValidations
73
73
  options.delete(:maximum) if options.has_key?(:minimum)
74
74
  options.delete_if { |k, v| deleteable_keys.include?(k) }
75
75
  if options[:with].kind_of?(Regexp)
76
- options[:with] = options[:with].inspect.to_s.sub("\\A","^").sub("\\Z","$").sub(%r{^/},"").sub(%r{/i?$}, "")
76
+ options[:with] = options[:with].inspect.to_s.gsub("\\A","^").gsub("\\Z","$").sub(%r{^/},"").sub(%r{/i?$}, "")
77
77
  end
78
78
  if options[:only_integer] == false
79
79
  options.delete(:only_integer)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client_side_validations
3
3
  version: !ruby/object:Gem::Version
4
- hash: 35
4
+ hash: 33
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 9
9
- - 4
10
- version: 2.9.4
9
+ - 5
10
+ version: 2.9.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Brian Cardarella
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-30 00:00:00 -04:00
18
+ date: 2010-08-31 00:00:00 -04:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency