client_side_validations-simple_form 11.0.0 → 11.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: ccd0e1d781759f2179c834a9ee46b9fe119c116aa8c780f1641a09312e7075f8
|
4
|
+
data.tar.gz: 746e52e205596687597a28e7688460e7ce6025ef1ecefd10438edda35b2de6be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2a07e84e3ed9dd522b55ef54d75c82333ee31bb4a4b19bc702a1433d20eca873b3c006bf55a510627a1c770d6ba63dc48345d114f1a0a75ef2642a3c78aac8b
|
7
|
+
data.tar.gz: 5ad626c8f572f811def7c636dcee86a25f7c3447d5c687fa97c8ee1449ff2d180f024709e107c5698cd1e2fad380587d6541fa4e7c98ee159a7704ae745421b8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,12 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 11.1.0 / 2020-10-10
|
4
|
+
|
5
|
+
* [FEATURE] Allow Ruby 3.0.0
|
6
|
+
* [ENHANCEMENT] Test against latest Ruby 2.7.2
|
7
|
+
* [ENHANCEMENT] Update QUnit to 2.11.3
|
8
|
+
* [ENHANCEMENT] Update development dependencies
|
9
|
+
|
3
10
|
## 11.0.0 / 2020-05-16
|
4
11
|
|
5
12
|
* [FEATURE] Drop Ruby 2.3 support
|
@@ -7,13 +7,15 @@
|
|
7
7
|
(function (global, factory) {
|
8
8
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery'), require('@client-side-validations/client-side-validations')) :
|
9
9
|
typeof define === 'function' && define.amd ? define(['jquery', '@client-side-validations/client-side-validations'], factory) :
|
10
|
-
(global = global || self, factory(global.$, global.ClientSideValidations));
|
10
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.$, global.ClientSideValidations));
|
11
11
|
}(this, (function ($, ClientSideValidations) { 'use strict';
|
12
12
|
|
13
|
-
|
14
|
-
ClientSideValidations = ClientSideValidations && Object.prototype.hasOwnProperty.call(ClientSideValidations, 'default') ? ClientSideValidations['default'] : ClientSideValidations;
|
13
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
15
14
|
|
16
|
-
|
15
|
+
var $__default = /*#__PURE__*/_interopDefaultLegacy($);
|
16
|
+
var ClientSideValidations__default = /*#__PURE__*/_interopDefaultLegacy(ClientSideValidations);
|
17
|
+
|
18
|
+
ClientSideValidations__default['default'].formBuilders['SimpleForm::FormBuilder'] = {
|
17
19
|
add: function add(element, settings, message) {
|
18
20
|
this.wrapper(settings.wrapper).add.call(this, element, settings, message);
|
19
21
|
},
|
@@ -30,7 +32,7 @@
|
|
30
32
|
var errorElement = wrapperElement.find(settings.error_tag + '.invalid-feedback');
|
31
33
|
|
32
34
|
if (!errorElement.length) {
|
33
|
-
errorElement = $('<' + settings.error_tag + '>', {
|
35
|
+
errorElement = $__default['default']('<' + settings.error_tag + '>', {
|
34
36
|
"class": 'invalid-feedback',
|
35
37
|
text: message
|
36
38
|
});
|
@@ -7,13 +7,15 @@
|
|
7
7
|
(function (global, factory) {
|
8
8
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('jquery'), require('@client-side-validations/client-side-validations')) :
|
9
9
|
typeof define === 'function' && define.amd ? define(['jquery', '@client-side-validations/client-side-validations'], factory) :
|
10
|
-
(global = global || self, factory(global.$, global.ClientSideValidations));
|
10
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.$, global.ClientSideValidations));
|
11
11
|
}(this, (function ($, ClientSideValidations) { 'use strict';
|
12
12
|
|
13
|
-
|
14
|
-
ClientSideValidations = ClientSideValidations && Object.prototype.hasOwnProperty.call(ClientSideValidations, 'default') ? ClientSideValidations['default'] : ClientSideValidations;
|
13
|
+
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
15
14
|
|
16
|
-
|
15
|
+
var $__default = /*#__PURE__*/_interopDefaultLegacy($);
|
16
|
+
var ClientSideValidations__default = /*#__PURE__*/_interopDefaultLegacy(ClientSideValidations);
|
17
|
+
|
18
|
+
ClientSideValidations__default['default'].formBuilders['SimpleForm::FormBuilder'] = {
|
17
19
|
add: function add(element, settings, message) {
|
18
20
|
this.wrapper(settings.wrapper).add.call(this, element, settings, message);
|
19
21
|
},
|
@@ -30,7 +32,7 @@
|
|
30
32
|
var errorElement = wrapper.find(settings.error_tag + '.' + settings.error_class.replace(/ /g, '.'));
|
31
33
|
|
32
34
|
if (!errorElement.length) {
|
33
|
-
errorElement = $('<' + settings.error_tag + '>', {
|
35
|
+
errorElement = $__default['default']('<' + settings.error_tag + '>', {
|
34
36
|
"class": settings.error_class,
|
35
37
|
text: message
|
36
38
|
});
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: client_side_validations-simple_form
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.
|
4
|
+
version: 11.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Geremia Taglialatela
|
8
8
|
- Brian Cardarella
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-10-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: client_side_validations
|
@@ -51,14 +51,14 @@ dependencies:
|
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '2.
|
54
|
+
version: '2.3'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
57
|
version_requirements: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.3'
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: byebug
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,14 +79,14 @@ dependencies:
|
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.18.0
|
83
83
|
type: :development
|
84
84
|
prerelease: false
|
85
85
|
version_requirements: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.18.0
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
91
|
name: m
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
@@ -149,56 +149,62 @@ dependencies:
|
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.
|
152
|
+
version: 0.93.0
|
153
153
|
type: :development
|
154
154
|
prerelease: false
|
155
155
|
version_requirements: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.
|
159
|
+
version: 0.93.0
|
160
160
|
- !ruby/object:Gem::Dependency
|
161
161
|
name: rubocop-performance
|
162
162
|
requirement: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '1.
|
166
|
+
version: '1.8'
|
167
167
|
type: :development
|
168
168
|
prerelease: false
|
169
169
|
version_requirements: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
171
|
- - "~>"
|
172
172
|
- !ruby/object:Gem::Version
|
173
|
-
version: '1.
|
173
|
+
version: '1.8'
|
174
174
|
- !ruby/object:Gem::Dependency
|
175
175
|
name: rubocop-rails
|
176
176
|
requirement: !ruby/object:Gem::Requirement
|
177
177
|
requirements:
|
178
178
|
- - "~>"
|
179
179
|
- !ruby/object:Gem::Version
|
180
|
-
version: '2.
|
180
|
+
version: '2.8'
|
181
181
|
type: :development
|
182
182
|
prerelease: false
|
183
183
|
version_requirements: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - "~>"
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version: '2.
|
187
|
+
version: '2.8'
|
188
188
|
- !ruby/object:Gem::Dependency
|
189
189
|
name: simplecov
|
190
190
|
requirement: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
|
-
- - "
|
192
|
+
- - ">="
|
193
193
|
- !ruby/object:Gem::Version
|
194
194
|
version: 0.18.5
|
195
|
+
- - "<"
|
196
|
+
- !ruby/object:Gem::Version
|
197
|
+
version: 0.20.0
|
195
198
|
type: :development
|
196
199
|
prerelease: false
|
197
200
|
version_requirements: !ruby/object:Gem::Requirement
|
198
201
|
requirements:
|
199
|
-
- - "
|
202
|
+
- - ">="
|
200
203
|
- !ruby/object:Gem::Version
|
201
204
|
version: 0.18.5
|
205
|
+
- - "<"
|
206
|
+
- !ruby/object:Gem::Version
|
207
|
+
version: 0.20.0
|
202
208
|
- !ruby/object:Gem::Dependency
|
203
209
|
name: shotgun
|
204
210
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,7 +272,7 @@ metadata:
|
|
266
272
|
bug_tracker_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form/issues
|
267
273
|
changelog_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form/blob/master/CHANGELOG.md
|
268
274
|
source_code_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form
|
269
|
-
post_install_message:
|
275
|
+
post_install_message:
|
270
276
|
rdoc_options: []
|
271
277
|
require_paths:
|
272
278
|
- lib
|
@@ -281,8 +287,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
281
287
|
- !ruby/object:Gem::Version
|
282
288
|
version: '0'
|
283
289
|
requirements: []
|
284
|
-
rubygems_version: 3.1
|
285
|
-
signing_key:
|
290
|
+
rubygems_version: 3.2.0.rc.1
|
291
|
+
signing_key:
|
286
292
|
specification_version: 4
|
287
293
|
summary: ClientSideValidations SimpleForm
|
288
294
|
test_files: []
|