client_side_validations-simple_form 10.1.0 → 11.0.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: db0707826650c43ed05c4f2ec685f6a482b60c5f84b3a2fe57cca74906e44700
4
- data.tar.gz: 20a6d4287144708a19c956cae1a03a17dbc2a287d21841d3618aa8d27c2ebfc8
3
+ metadata.gz: d25ab6ebdb873b200ac6fba902939e13fb24dc2c8e879a18536d71a457c66683
4
+ data.tar.gz: ed745d60b6c1f98df01e7fb6ec7a02135a42174a72bbe5c3ac950c789a493341
5
5
  SHA512:
6
- metadata.gz: c8915c25bb200828d96fad6d87d40af9b4affb0fa3067590462b61006a800856e63c363e1491d7d30070f93cf05609ce92b160f7b8d709ac4cd3b58a5d765a2f
7
- data.tar.gz: f73b561515a940053afe15799af7fb7f9c68f69751abbe870685883e5f3357771d5fe6cc86e66d99d0333fb51a6d219b1a65838886e2a392d5177ae4e61b391f
6
+ metadata.gz: df07c951e8cdd1a59317a1fe4321d566a54c4a0e58178799f7832d2ec05a1e4b0d7bc8763b3244c2dbd1b9ef7e526db5e815b06bd983169157e5dac3db859167
7
+ data.tar.gz: 5e5d930f6f03e08833aa348b42f79436dd9f258b24ef60eddcba0c51b1ce3407770c526f0627c61a9c9f1c0bbc5527721915fcda85dbebf769af346c04c0d005
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 11.0.0 / 2020-05-16
4
+
5
+ * [FEATURE] Drop Ruby 2.3 support
6
+ * [FEATURE] Add Client Side Validations 17.0 compatibility
7
+ * [ENHANCEMENT] Test against jQuery 3.5.1 by default
8
+
3
9
  ## 10.1.0 / 2020-04-10
4
10
 
5
11
  * [FEATURE] Add jQuery 3.5.0 compatibility ([#77](https://github.com/DavyJonesLocker/client_side_validations-simple_form/pull/77))
data/README.md CHANGED
@@ -2,8 +2,9 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/client_side_validations-simple_form.svg)](https://badge.fury.io/rb/client_side_validations-simple_form)
4
4
  [![npm version](https://badge.fury.io/js/%40client-side-validations%2Fsimple-form.svg)](https://badge.fury.io/js/%40client-side-validations%2Fsimple-form)
5
+ [![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=client_side_validations-simple_form&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score.html?dependency-name=client_side_validations-simple_form&package-manager=bundler&version-scheme=semver)
5
6
  [![Build Status](https://secure.travis-ci.org/DavyJonesLocker/client_side_validations-simple_form.svg?branch=master)](https://travis-ci.org/DavyJonesLocker/client_side_validations-simple_form)
6
- [![Code Climate](https://codeclimate.com/github/DavyJonesLocker/client_side_validations-simple_form/badges/gpa.svg)](https://codeclimate.com/github/DavyJonesLocker/client_side_validations-simple_form)
7
+ [![Maintainability](https://api.codeclimate.com/v1/badges/b9e9cbbd0d9f454adba7/maintainability)](https://codeclimate.com/github/DavyJonesLocker/client_side_validations-simple_form/maintainability)
7
8
  [![Coverage Status](https://coveralls.io/repos/github/DavyJonesLocker/client_side_validations-simple_form/badge.svg?branch=master)](https://coveralls.io/github/DavyJonesLocker/client_side_validations-simple_form?branch=master)
8
9
 
9
10
  [Simple Form](https://github.com/plataformatec/simple_form) plugin for [ClientSideValidations](https://github.com/DavyJonesLocker/client_side_validations)
@@ -37,16 +38,22 @@ Add the following package:
37
38
  yarn add @client-side-validations/simple-form
38
39
  ```
39
40
 
40
- Then, according to the CSS framework you are using, add **one** of the following
41
- lines to your `app/javascript/packs/application.js` pack, **after**
42
- `import '@client-side-validations/client-side-validations'`:
41
+ Then, according to the CSS framework and module system you are using, add
42
+ **one** of the following lines to your `app/javascript/packs/application.js`
43
+ pack, **after** `'@client-side-validations/client-side-validations'`:
43
44
 
44
45
  ```js
45
- // No framework / Generic frameworks / Bootstrap 3
46
+ // No framework / Generic frameworks / Bootstrap 3 with `import` syntax
46
47
  import '@client-side-validations/simple-form'
47
48
 
48
- // Bootstrap 4
49
+ // Bootstrap 4 with `import` syntax
49
50
  import '@client-side-validations/simple-form/dist/simple-form.bootstrap4'
51
+
52
+ // No framework / Generic frameworks / Bootstrap 3 with `require` syntax
53
+ require('@client-side-validations/simple-form')
54
+
55
+ // Bootstrap 4 with `require` syntax
56
+ require('@client-side-validations/simple-form/dist/simple-form.bootstrap4')
50
57
  ```
51
58
 
52
59
  #### When using Sprockets ####
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ClientSideValidations
4
4
  module SimpleForm
5
- VERSION = '10.1.0'
5
+ VERSION = '11.0.0'
6
6
  end
7
7
  end
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Client Side Validations Simple Form JS (Bootstrap 4) - v0.1.2 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
2
+ * Client Side Validations Simple Form JS (Bootstrap 4) - v0.1.3 (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
  */
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Client Side Validations Simple Form JS (Default) - v0.1.2 (https://github.com/DavyJonesLocker/client_side_validations-simple_form)
2
+ * Client Side Validations Simple Form JS (Default) - v0.1.3 (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
  */
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.1.0
4
+ version: 11.0.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-04-11 00:00:00.000000000 Z
12
+ date: 2020-05-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: client_side_validations
@@ -20,7 +20,7 @@ dependencies:
20
20
  version: '15.0'
21
21
  - - "<"
22
22
  - !ruby/object:Gem::Version
23
- version: '17.0'
23
+ version: '18.0'
24
24
  type: :runtime
25
25
  prerelease: false
26
26
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +30,7 @@ dependencies:
30
30
  version: '15.0'
31
31
  - - "<"
32
32
  - !ruby/object:Gem::Version
33
- version: '17.0'
33
+ version: '18.0'
34
34
  - !ruby/object:Gem::Dependency
35
35
  name: simple_form
36
36
  requirement: !ruby/object:Gem::Requirement
@@ -63,42 +63,30 @@ dependencies:
63
63
  name: byebug
64
64
  requirement: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '10.0'
69
- - - "<"
66
+ - - "~>"
70
67
  - !ruby/object:Gem::Version
71
- version: '12'
68
+ version: '11.1'
72
69
  type: :development
73
70
  prerelease: false
74
71
  version_requirements: !ruby/object:Gem::Requirement
75
72
  requirements:
76
- - - ">="
77
- - !ruby/object:Gem::Version
78
- version: '10.0'
79
- - - "<"
73
+ - - "~>"
80
74
  - !ruby/object:Gem::Version
81
- version: '12'
75
+ version: '11.1'
82
76
  - !ruby/object:Gem::Dependency
83
77
  name: coveralls_reborn
84
78
  requirement: !ruby/object:Gem::Requirement
85
79
  requirements:
86
- - - ">="
87
- - !ruby/object:Gem::Version
88
- version: 0.14.0
89
- - - "<"
80
+ - - "~>"
90
81
  - !ruby/object:Gem::Version
91
- version: '0.16'
82
+ version: 0.16.0
92
83
  type: :development
93
84
  prerelease: false
94
85
  version_requirements: !ruby/object:Gem::Requirement
95
86
  requirements:
96
- - - ">="
97
- - !ruby/object:Gem::Version
98
- version: 0.14.0
99
- - - "<"
87
+ - - "~>"
100
88
  - !ruby/object:Gem::Version
101
- version: '0.16'
89
+ version: 0.16.0
102
90
  - !ruby/object:Gem::Dependency
103
91
  name: m
104
92
  requirement: !ruby/object:Gem::Requirement
@@ -161,14 +149,14 @@ dependencies:
161
149
  requirements:
162
150
  - - "~>"
163
151
  - !ruby/object:Gem::Version
164
- version: 0.81.0
152
+ version: 0.83.0
165
153
  type: :development
166
154
  prerelease: false
167
155
  version_requirements: !ruby/object:Gem::Requirement
168
156
  requirements:
169
157
  - - "~>"
170
158
  - !ruby/object:Gem::Version
171
- version: 0.81.0
159
+ version: 0.83.0
172
160
  - !ruby/object:Gem::Dependency
173
161
  name: rubocop-performance
174
162
  requirement: !ruby/object:Gem::Requirement
@@ -201,22 +189,16 @@ dependencies:
201
189
  name: simplecov
202
190
  requirement: !ruby/object:Gem::Requirement
203
191
  requirements:
204
- - - ">="
205
- - !ruby/object:Gem::Version
206
- version: 0.17.1
207
- - - "<"
192
+ - - "~>"
208
193
  - !ruby/object:Gem::Version
209
- version: '0.19'
194
+ version: 0.18.5
210
195
  type: :development
211
196
  prerelease: false
212
197
  version_requirements: !ruby/object:Gem::Requirement
213
198
  requirements:
214
- - - ">="
215
- - !ruby/object:Gem::Version
216
- version: 0.17.1
217
- - - "<"
199
+ - - "~>"
218
200
  - !ruby/object:Gem::Version
219
- version: '0.19'
201
+ version: 0.18.5
220
202
  - !ruby/object:Gem::Dependency
221
203
  name: shotgun
222
204
  requirement: !ruby/object:Gem::Requirement
@@ -292,7 +274,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
292
274
  requirements:
293
275
  - - "~>"
294
276
  - !ruby/object:Gem::Version
295
- version: '2.3'
277
+ version: '2.4'
296
278
  required_rubygems_version: !ruby/object:Gem::Requirement
297
279
  requirements:
298
280
  - - ">="