client_side_validations-simple_form 10.0.0 → 10.1.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: db0707826650c43ed05c4f2ec685f6a482b60c5f84b3a2fe57cca74906e44700
|
4
|
+
data.tar.gz: 20a6d4287144708a19c956cae1a03a17dbc2a287d21841d3618aa8d27c2ebfc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8915c25bb200828d96fad6d87d40af9b4affb0fa3067590462b61006a800856e63c363e1491d7d30070f93cf05609ce92b160f7b8d709ac4cd3b58a5d765a2f
|
7
|
+
data.tar.gz: f73b561515a940053afe15799af7fb7f9c68f69751abbe870685883e5f3357771d5fe6cc86e66d99d0333fb51a6d219b1a65838886e2a392d5177ae4e61b391f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 10.1.0 / 2020-04-10
|
4
|
+
|
5
|
+
* [FEATURE] Add jQuery 3.5.0 compatibility ([#77](https://github.com/DavyJonesLocker/client_side_validations-simple_form/pull/77))
|
6
|
+
* [ENHANCEMENT] Test against latest Ruby versions
|
7
|
+
* [ENHANCEMENT] Update development dependencies
|
8
|
+
|
3
9
|
## 10.0.0 / 2020-03-18
|
4
10
|
|
5
11
|
* [FEATURE] Fallback on `full_error` if `error` component is not found ([#75](https://github.com/DavyJonesLocker/client_side_validations-simple_form/issues/75))
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Client Side Validations Simple Form JS (Bootstrap 4) - v0.1.
|
2
|
+
* Client Side Validations Simple Form JS (Bootstrap 4) - v0.1.2 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
|
3
3
|
* Copyright (c) 2020 Geremia Taglialatela, Brian Cardarella
|
4
4
|
* Licensed under MIT (https://opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -10,8 +10,8 @@
|
|
10
10
|
(global = global || self, factory(global.$, global.ClientSideValidations));
|
11
11
|
}(this, (function ($, ClientSideValidations) { 'use strict';
|
12
12
|
|
13
|
-
$ = $ &&
|
14
|
-
ClientSideValidations = ClientSideValidations &&
|
13
|
+
$ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
|
14
|
+
ClientSideValidations = ClientSideValidations && Object.prototype.hasOwnProperty.call(ClientSideValidations, 'default') ? ClientSideValidations['default'] : ClientSideValidations;
|
15
15
|
|
16
16
|
ClientSideValidations.formBuilders['SimpleForm::FormBuilder'] = {
|
17
17
|
add: function add(element, settings, message) {
|
@@ -30,7 +30,7 @@
|
|
30
30
|
var errorElement = wrapperElement.find(settings.error_tag + '.invalid-feedback');
|
31
31
|
|
32
32
|
if (!errorElement.length) {
|
33
|
-
errorElement = $('<' + settings.error_tag + '
|
33
|
+
errorElement = $('<' + settings.error_tag + '>', {
|
34
34
|
"class": 'invalid-feedback',
|
35
35
|
text: message
|
36
36
|
});
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*!
|
2
|
-
* Client Side Validations Simple Form JS (Default) - v0.1.
|
2
|
+
* Client Side Validations Simple Form JS (Default) - v0.1.2 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
|
3
3
|
* Copyright (c) 2020 Geremia Taglialatela, Brian Cardarella
|
4
4
|
* Licensed under MIT (https://opensource.org/licenses/mit-license.php)
|
5
5
|
*/
|
@@ -10,8 +10,8 @@
|
|
10
10
|
(global = global || self, factory(global.$, global.ClientSideValidations));
|
11
11
|
}(this, (function ($, ClientSideValidations) { 'use strict';
|
12
12
|
|
13
|
-
$ = $ &&
|
14
|
-
ClientSideValidations = ClientSideValidations &&
|
13
|
+
$ = $ && Object.prototype.hasOwnProperty.call($, 'default') ? $['default'] : $;
|
14
|
+
ClientSideValidations = ClientSideValidations && Object.prototype.hasOwnProperty.call(ClientSideValidations, 'default') ? ClientSideValidations['default'] : ClientSideValidations;
|
15
15
|
|
16
16
|
ClientSideValidations.formBuilders['SimpleForm::FormBuilder'] = {
|
17
17
|
add: function add(element, settings, message) {
|
@@ -30,7 +30,7 @@
|
|
30
30
|
var errorElement = wrapper.find(settings.error_tag + '.' + settings.error_class.replace(/ /g, '.'));
|
31
31
|
|
32
32
|
if (!errorElement.length) {
|
33
|
-
errorElement = $('<' + settings.error_tag + '
|
33
|
+
errorElement = $('<' + settings.error_tag + '>', {
|
34
34
|
"class": settings.error_class,
|
35
35
|
text: message
|
36
36
|
});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: client_side_validations-simple_form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 10.
|
4
|
+
version: 10.1.0
|
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: 2020-
|
12
|
+
date: 2020-04-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: client_side_validations
|
@@ -161,14 +161,14 @@ dependencies:
|
|
161
161
|
requirements:
|
162
162
|
- - "~>"
|
163
163
|
- !ruby/object:Gem::Version
|
164
|
-
version: 0.
|
164
|
+
version: 0.81.0
|
165
165
|
type: :development
|
166
166
|
prerelease: false
|
167
167
|
version_requirements: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
169
|
- - "~>"
|
170
170
|
- !ruby/object:Gem::Version
|
171
|
-
version: 0.
|
171
|
+
version: 0.81.0
|
172
172
|
- !ruby/object:Gem::Dependency
|
173
173
|
name: rubocop-performance
|
174
174
|
requirement: !ruby/object:Gem::Requirement
|
@@ -189,14 +189,14 @@ dependencies:
|
|
189
189
|
requirements:
|
190
190
|
- - "~>"
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: '2.
|
192
|
+
version: '2.5'
|
193
193
|
type: :development
|
194
194
|
prerelease: false
|
195
195
|
version_requirements: !ruby/object:Gem::Requirement
|
196
196
|
requirements:
|
197
197
|
- - "~>"
|
198
198
|
- !ruby/object:Gem::Version
|
199
|
-
version: '2.
|
199
|
+
version: '2.5'
|
200
200
|
- !ruby/object:Gem::Dependency
|
201
201
|
name: simplecov
|
202
202
|
requirement: !ruby/object:Gem::Requirement
|
@@ -280,7 +280,10 @@ files:
|
|
280
280
|
homepage: https://github.com/DavyJonesLocker/client_side_validations-simple_form
|
281
281
|
licenses:
|
282
282
|
- MIT
|
283
|
-
metadata:
|
283
|
+
metadata:
|
284
|
+
bug_tracker_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form/issues
|
285
|
+
changelog_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form/blob/master/CHANGELOG.md
|
286
|
+
source_code_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form
|
284
287
|
post_install_message:
|
285
288
|
rdoc_options: []
|
286
289
|
require_paths:
|