client_side_validations 9.3.0 → 9.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6b77331b3536bcd7e1214fd8e05f8d4dfe91a89
4
- data.tar.gz: 75fb4f99e2e07497749b04f3a317d627c139d632
3
+ metadata.gz: a1a6835fffc483158f74d77bd15c069c14c8b872
4
+ data.tar.gz: 2bd4020cf0ec33b0fd90bc7033125ddb5f2de045
5
5
  SHA512:
6
- metadata.gz: 156e5c0aca368ed98b822936b0a7f5dee806e486e52665c7f3e3cb6ad810564cd7f3977abb5cad9aea5519b2f928679d5e29592fe1f97a5772b948c71e9a7d68
7
- data.tar.gz: 21ac1feb8a8fc5ecae7d04f504e07f1129faa04e487236f9f7a75c77f6a2bb2b278558f9dbabf1bb21d0af9958eb012c3f68008edce9044432133f6312d8104d
6
+ metadata.gz: d7d944c7f76866adffe579792dbbba988b5ded93701c70d69a9074e947f4b9ef926452fb4112f881ce59859e2afa029131666025ef08a71f1d46da2e4391f2b9
7
+ data.tar.gz: 8881ef53a3b3cffb62524a75bce92d2df8e73d03174099118a358d46f70193add75c2066639dcd7b91b3877266c88d622b8395a49f2cd9541b65a55092d27aa0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 9.3.1 / 2017-05-04
4
+
5
+ * [FIX] Fix a regression in validates_with validators ([#702](https://github.com/DavyJonesLocker/client_side_validations/pull/702))
6
+
3
7
  ## 9.3.0 / 2017-04-24
4
8
 
5
9
  * [ENHANCEMENT] Code cleanup
@@ -31,7 +31,7 @@ module ClientSideValidations
31
31
 
32
32
  def client_side_validation_hash(force = nil)
33
33
  _validators.inject({}) do |attr_hash, attr|
34
- return attr_hash if [nil, :block].include?(attr[0])
34
+ next attr_hash if [nil, :block].include?(attr[0])
35
35
 
36
36
  validator_hash = validator_hash_for(attr, force)
37
37
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClientSideValidations
4
- VERSION = '9.3.0'.freeze
4
+ VERSION = '9.3.1'.freeze
5
5
  end
@@ -1,6 +1,6 @@
1
1
 
2
2
  /*!
3
- * Client Side Validations - v9.3.0 (https://github.com/DavyJonesLocker/client_side_validations)
3
+ * Client Side Validations - v9.3.1 (https://github.com/DavyJonesLocker/client_side_validations)
4
4
  * Copyright (c) 2017 Geremia Taglialatela, Brian Cardarella
5
5
  * Licensed under MIT (http://opensource.org/licenses/mit-license.php)
6
6
  */
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client_side_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.3.0
4
+ version: 9.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geremia Taglialatela
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-24 00:00:00.000000000 Z
12
+ date: 2017-05-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -93,14 +93,14 @@ dependencies:
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.8.20
96
+ version: 0.8.21
97
97
  type: :development
98
98
  prerelease: false
99
99
  version_requirements: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - "~>"
102
102
  - !ruby/object:Gem::Version
103
- version: 0.8.20
103
+ version: 0.8.21
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: m
106
106
  requirement: !ruby/object:Gem::Requirement