wanew_client_validate 0.0.14 → 0.0.15

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.
@@ -88,7 +88,7 @@ module WaNew::ClientValidate::ActionView::Helpers
88
88
  rs = "/#{rs[7,ile]}/"
89
89
  validators[:format][:with] = rs
90
90
  end
91
- options.merge!("validate" => validators.to_json)
91
+ options.merge!("validate" => {:validate => validators}.to_json)
92
92
 
93
93
  @options[:validators].merge!("#{@object_name}[#{method}]" => validators)
94
94
  end
@@ -1,5 +1,5 @@
1
1
  module WaNew
2
2
  module ClientValidate
3
- VERSION = "0.0.14"
3
+ VERSION = "0.0.15"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wanew_client_validate
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 14
10
- version: 0.0.14
9
+ - 15
10
+ version: 0.0.15
11
11
  platform: ruby
12
12
  authors:
13
13
  - wanliu corporation