client_side_validations 16.1.0 → 16.1.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
  SHA256:
3
- metadata.gz: 2272b945883cfdb72fbf231429196584c4075834e113770af87bba25bbf41995
4
- data.tar.gz: c5587482714b6a896b4539ed5520a97293c18837ba12062133f385ee117faf2b
3
+ metadata.gz: c8ed069f9ea6197661ffc1781bbe699e1e273d0bda3837e5bd385169da94ff44
4
+ data.tar.gz: b12be301930ecb74dd060609602ac2e38ba0a2fcfcd127f67ebcbd81ae71b5f1
5
5
  SHA512:
6
- metadata.gz: 69b603f083c013f0f2bd167aa55c8da3718ac81809a771206eff70de8c336cc83919e32af0181ac9e2eb7012b37c4ca726c9ae16f97e400e82886009f1f39f0a
7
- data.tar.gz: ab6de699af7702b0ccf173395cceb395a359fb7723a595f75d406e72565dae6c255977c8317ef7f08cc699cae2694d001f1c3fccdd3b70043861f57e2be50e9e
6
+ metadata.gz: 574f3cbc7eadcc0008ce6068d7d9dd8d73f60611c6a6133082bd66a47989d2334822d2efb87d62d8164dcc5abf02e8d0a6d8a76b15b3a6c50675848fa1d503db
7
+ data.tar.gz: 47c9b68cc13375d6275589f41f2c78c28a742f56ab96b10ac0908af1973db3d78f9477c00aead5641e46fa8038afe241fab92a3da08b6d0214c899cfbdd38e0e
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 16.1.1 / 2020-03-20
4
+
5
+ * [BUGFIX] Fix custom validators for nested attributes ([#778](https://github.com/DavyJonesLocker/client_side_validations/pull/778))
6
+ * [ENHANCEMENT] Update development dependencies
7
+
3
8
  ## 16.1.0 / 2019-12-25
4
9
 
5
10
  * [FEATURE] Ruby 2.7 support
data/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2019 Geremia Taglialatela, Brian Cardarella
3
+ Copyright (c) 2020 Geremia Taglialatela, Brian Cardarella
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClientSideValidations
4
- VERSION = '16.1.0'
4
+ VERSION = '16.1.1'
5
5
  end
@@ -1,6 +1,6 @@
1
1
  /*!
2
- * Client Side Validations JS - v0.1.1 (https://github.com/DavyJonesLocker/client_side_validations)
3
- * Copyright (c) 2019 Geremia Taglialatela, Brian Cardarella
2
+ * Client Side Validations JS - v0.1.2 (https://github.com/DavyJonesLocker/client_side_validations)
3
+ * Copyright (c) 2020 Geremia Taglialatela, Brian Cardarella
4
4
  * Licensed under MIT (https://opensource.org/licenses/mit-license.php)
5
5
  */
6
6
 
@@ -10,9 +10,11 @@
10
10
  (global = global || self, global.ClientSideValidations = factory(global.$));
11
11
  }(this, (function ($) { 'use strict';
12
12
 
13
- $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
13
+ $ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
14
14
 
15
15
  function _typeof(obj) {
16
+ "@babel/helpers - typeof";
17
+
16
18
  if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") {
17
19
  _typeof = function (obj) {
18
20
  return typeof obj;
@@ -640,7 +642,7 @@
640
642
  };
641
643
 
642
644
  var validatorsFor = function validatorsFor(elementName, validators) {
643
- if (Object.prototype.isPrototypeOf.call(validators, elementName)) {
645
+ if (Object.prototype.hasOwnProperty.call(validators, elementName)) {
644
646
  return validators[elementName];
645
647
  }
646
648
 
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: 16.1.0
4
+ version: 16.1.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: 2019-12-25 00:00:00.000000000 Z
12
+ date: 2020-03-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -97,16 +97,22 @@ dependencies:
97
97
  name: coveralls_reborn
98
98
  requirement: !ruby/object:Gem::Requirement
99
99
  requirements:
100
- - - "~>"
100
+ - - ">="
101
101
  - !ruby/object:Gem::Version
102
102
  version: 0.14.0
103
+ - - "<"
104
+ - !ruby/object:Gem::Version
105
+ version: '0.16'
103
106
  type: :development
104
107
  prerelease: false
105
108
  version_requirements: !ruby/object:Gem::Requirement
106
109
  requirements:
107
- - - "~>"
110
+ - - ">="
108
111
  - !ruby/object:Gem::Version
109
112
  version: 0.14.0
113
+ - - "<"
114
+ - !ruby/object:Gem::Version
115
+ version: '0.16'
110
116
  - !ruby/object:Gem::Dependency
111
117
  name: m
112
118
  requirement: !ruby/object:Gem::Requirement
@@ -127,14 +133,14 @@ dependencies:
127
133
  requirements:
128
134
  - - "~>"
129
135
  - !ruby/object:Gem::Version
130
- version: '5.13'
136
+ version: '5.14'
131
137
  type: :development
132
138
  prerelease: false
133
139
  version_requirements: !ruby/object:Gem::Requirement
134
140
  requirements:
135
141
  - - "~>"
136
142
  - !ruby/object:Gem::Version
137
- version: '5.13'
143
+ version: '5.14'
138
144
  - !ruby/object:Gem::Dependency
139
145
  name: mocha
140
146
  requirement: !ruby/object:Gem::Requirement
@@ -169,14 +175,14 @@ dependencies:
169
175
  requirements:
170
176
  - - "~>"
171
177
  - !ruby/object:Gem::Version
172
- version: 0.78.0
178
+ version: 0.80.1
173
179
  type: :development
174
180
  prerelease: false
175
181
  version_requirements: !ruby/object:Gem::Requirement
176
182
  requirements:
177
183
  - - "~>"
178
184
  - !ruby/object:Gem::Version
179
- version: 0.78.0
185
+ version: 0.80.1
180
186
  - !ruby/object:Gem::Dependency
181
187
  name: rubocop-performance
182
188
  requirement: !ruby/object:Gem::Requirement
@@ -209,16 +215,22 @@ dependencies:
209
215
  name: simplecov
210
216
  requirement: !ruby/object:Gem::Requirement
211
217
  requirements:
212
- - - "~>"
218
+ - - ">="
213
219
  - !ruby/object:Gem::Version
214
220
  version: 0.17.1
221
+ - - "<"
222
+ - !ruby/object:Gem::Version
223
+ version: '0.19'
215
224
  type: :development
216
225
  prerelease: false
217
226
  version_requirements: !ruby/object:Gem::Requirement
218
227
  requirements:
219
- - - "~>"
228
+ - - ">="
220
229
  - !ruby/object:Gem::Version
221
230
  version: 0.17.1
231
+ - - "<"
232
+ - !ruby/object:Gem::Version
233
+ version: '0.19'
222
234
  - !ruby/object:Gem::Dependency
223
235
  name: sqlite3
224
236
  requirement: !ruby/object:Gem::Requirement
@@ -336,7 +348,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
336
348
  - !ruby/object:Gem::Version
337
349
  version: '0'
338
350
  requirements: []
339
- rubygems_version: 3.0.6
351
+ rubygems_version: 3.1.2
340
352
  signing_key:
341
353
  specification_version: 4
342
354
  summary: Client Side Validations