client_side_validations-simple_form 10.0.0 → 10.1.0

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
  SHA256:
3
- metadata.gz: c3e9f462a74df20b7e1a312f57ca7393016316415ce7b3c3eaf6f3c4293f9c2d
4
- data.tar.gz: f48d05508c5c5a28bc5139c127c139430c41a3770a6ade30d0d3b5698062085f
3
+ metadata.gz: db0707826650c43ed05c4f2ec685f6a482b60c5f84b3a2fe57cca74906e44700
4
+ data.tar.gz: 20a6d4287144708a19c956cae1a03a17dbc2a287d21841d3618aa8d27c2ebfc8
5
5
  SHA512:
6
- metadata.gz: 63d64d7a04ca569c14270001772ec385d0a56015753041d1e6046345b16bb914368ea552a630a3bf145f2d5b8c53200fd9c8720b6f4d424c823a131a31a0487c
7
- data.tar.gz: 03bb9af6c6a80e909c817484dc1e5d576be4607456cf0ec0c44a9c97bcc105b092160ab1eff7541781bd797e4ee67503e11d6b53d9c48a6dce6c2ef3ea1def90
6
+ metadata.gz: c8915c25bb200828d96fad6d87d40af9b4affb0fa3067590462b61006a800856e63c363e1491d7d30070f93cf05609ce92b160f7b8d709ac4cd3b58a5d765a2f
7
+ data.tar.gz: f73b561515a940053afe15799af7fb7f9c68f69751abbe870685883e5f3357771d5fe6cc86e66d99d0333fb51a6d219b1a65838886e2a392d5177ae4e61b391f
@@ -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))
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ClientSideValidations
4
4
  module SimpleForm
5
- VERSION = '10.0.0'
5
+ VERSION = '10.1.0'
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Client Side Validations Simple Form JS (Bootstrap 4) - v0.1.1 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
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
- $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
14
- ClientSideValidations = ClientSideValidations && ClientSideValidations.hasOwnProperty('default') ? ClientSideValidations['default'] : 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.1 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
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
- $ = $ && $.hasOwnProperty('default') ? $['default'] : $;
14
- ClientSideValidations = ClientSideValidations && ClientSideValidations.hasOwnProperty('default') ? ClientSideValidations['default'] : 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.0.0
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-03-18 00:00:00.000000000 Z
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.80.1
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.80.1
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.4'
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.4'
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: