client_side_validations-simple_form 3.2.0 → 3.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0b5bf29598f623b99bd2ca81477582aea1c2bd4c
4
- data.tar.gz: 33cf57f1d2a24db37c637620029434b7675b2d21
3
+ metadata.gz: 4a02b9a6238eb9859eb8a36f0ecadac5b19892db
4
+ data.tar.gz: 4ba8df37145771a6322cd0aadd4fc0417cf0165b
5
5
  SHA512:
6
- metadata.gz: f9b8d74173d5ecdd00500f3c7187de42829a5d0b9490d6fb98b98cf882104f97e43683f979e94085636150d3ac104902b1b3fe875392bff362cea74a771916f0
7
- data.tar.gz: cf18a2edfb0b6909cc8fcb040209fd5506980a2021ac895247a43819c156b9354189c43ed6a0681986e96d456f8d6e9bc54fa0049dd6452201fb1e5b82a7fb9e
6
+ metadata.gz: 86649469ddd45848c6c69331e2dd7a45e3570f80d45029ef6c794d968e36160dc15cdcc2df6cd836f6851f91911a222f1e11ab1616a05ce1785bd16f3b3eeb20
7
+ data.tar.gz: 12c47e4eddfa9834ac8499a421bf7d43b170c5883202ccf784167cb768d40c3e4d7508773d1b295fe22a8b196f085cb332bff33555324b7b9c1740f21012a112
@@ -22,7 +22,7 @@ module ClientSideValidations
22
22
  def input_with_client_side_validations(attribute_name, options = {}, &block)
23
23
  if options.key?(:validate)
24
24
  options[:input_html] ||= {}
25
- options[:input_html].merge!(validate: options[:validate])
25
+ options[:input_html][:validate] = options[:validate]
26
26
  options.delete(:validate)
27
27
  end
28
28
 
@@ -1,5 +1,6 @@
1
+ # frozen_string_literal: true
1
2
  module ClientSideValidations
2
3
  module SimpleForm
3
- VERSION = '3.2.0'.freeze
4
+ VERSION = '3.2.1'.freeze
4
5
  end
5
6
  end
@@ -1,11 +1,8 @@
1
1
 
2
- /*
3
- Client Side Validations - SimpleForm - v3.2.0
4
- https://github.com/DavyJonesLocker/client_side_validations-simple_form
5
-
6
- Copyright (c) 2016 DockYard, LLC
7
- Licensed under the MIT license
8
- http://www.opensource.org/licenses/mit-license.php
2
+ /*!
3
+ * Client Side Validations - SimpleForm - v3.2.1 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
4
+ * Copyright (c) 2016 Brian Cardarella
5
+ * Licensed under MIT (http://opensource.org/licenses/mit-license.php)
9
6
  */
10
7
 
11
8
  (function() {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client_side_validations-simple_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Cardarella
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-07 00:00:00.000000000 Z
11
+ date: 2016-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: client_side_validations
@@ -120,14 +120,14 @@ dependencies:
120
120
  requirements:
121
121
  - - "~>"
122
122
  - !ruby/object:Gem::Version
123
- version: '0.35'
123
+ version: 0.36.0
124
124
  type: :development
125
125
  prerelease: false
126
126
  version_requirements: !ruby/object:Gem::Requirement
127
127
  requirements:
128
128
  - - "~>"
129
129
  - !ruby/object:Gem::Version
130
- version: '0.35'
130
+ version: 0.36.0
131
131
  - !ruby/object:Gem::Dependency
132
132
  name: simplecov
133
133
  requirement: !ruby/object:Gem::Requirement