client_side_validations 17.2.0 → 18.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 +4 -4
- data/CHANGELOG.md +7 -0
- data/LICENSE.md +1 -1
- data/README.md +4 -4
- data/lib/client_side_validations/action_view/form_helper.rb +1 -1
- data/lib/client_side_validations/action_view/form_with_helper.rb +1 -1
- data/lib/client_side_validations/version.rb +1 -1
- data/vendor/assets/javascripts/rails.validations.js +1 -1
- metadata +46 -18
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8dc15936a8857d5311c69d449ec11b43d4e3aa5f1d9aead78c65e9066f71cbf4
|
|
4
|
+
data.tar.gz: 36cca6a91972fdd818bda21b9ea3b9cb85f196c88e197872389df21ca090701d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b4d6d4eb7b3e3e79bd2cfa4823a7de7802a2bbd0bbba6f0a8e65862e03fff70f7cdb75fec64e22d7b689b1f9ea2c3edf952cc95c6552c6274f70da126f988eb
|
|
7
|
+
data.tar.gz: 9efe40881ffc2cbb86b1d02de44318807da27d58859033e0d6a4231c4f3c33c89d8dace2f99f0541b68380279cbff658003895e5460ebdf526b72ec721cbf044
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 18.0.0 / 2021-02-13
|
|
4
|
+
|
|
5
|
+
* [FEATURE] Add Rails 7.0.pre compatibility
|
|
6
|
+
* [ENHANCEMENT] Default branch is now `main` **POSSIBLE BREAKING CHANGE!**
|
|
7
|
+
* [ENHANCEMENT] Update QUnit to 2.14.0
|
|
8
|
+
* [ENHANCEMENT] Update development dependencies
|
|
9
|
+
|
|
3
10
|
## 17.2.0 / 2020-11-03
|
|
4
11
|
|
|
5
12
|
* [FEATURE] Add Rails 6.1.0.rc1 compatibility
|
data/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2021 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
|
data/README.md
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
[](https://badge.fury.io/rb/client_side_validations)
|
|
4
4
|
[](https://badge.fury.io/js/%40client-side-validations%2Fclient-side-validations)
|
|
5
5
|
[](https://dependabot.com/compatibility-score.html?dependency-name=client_side_validations&package-manager=bundler&version-scheme=semver)
|
|
6
|
-
[](https://travis-ci.org/DavyJonesLocker/client_side_validations)
|
|
7
7
|
[](https://codeclimate.com/github/DavyJonesLocker/client_side_validations/maintainability)
|
|
8
|
-
[](https://coveralls.io/github/DavyJonesLocker/client_side_validations?branch=main)
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
`ClientSideValidations` made easy for your Rails 5.x / Rails 6.x applications!
|
|
@@ -538,12 +538,12 @@ This gem follows [Semantic Versioning](https://semver.org)
|
|
|
538
538
|
## Want to help? ##
|
|
539
539
|
|
|
540
540
|
Please do! We are always looking to improve this gem. Please see our
|
|
541
|
-
[Contribution Guidelines](https://github.com/DavyJonesLocker/client_side_validations/blob/
|
|
541
|
+
[Contribution Guidelines](https://github.com/DavyJonesLocker/client_side_validations/blob/main/CONTRIBUTING.md)
|
|
542
542
|
on how to properly submit issues and pull requests.
|
|
543
543
|
|
|
544
544
|
## Legal ##
|
|
545
545
|
|
|
546
|
-
[DockYard](https://dockyard.com/), LLC © 2012-
|
|
546
|
+
[DockYard](https://dockyard.com/), LLC © 2012-2021
|
|
547
547
|
|
|
548
548
|
[@dockyard](https://twitter.com/dockyard)
|
|
549
549
|
|
|
@@ -13,7 +13,7 @@ module ClientSideValidations
|
|
|
13
13
|
# We are not going to use super here, because we need
|
|
14
14
|
# to inject the csv options in a data attribute in a clean way.
|
|
15
15
|
# So we basically reimplement the whole form_for method
|
|
16
|
-
raise ArgumentError, 'Missing block' unless
|
|
16
|
+
raise ArgumentError, 'Missing block' unless block
|
|
17
17
|
|
|
18
18
|
html_options = options[:html] ||= {}
|
|
19
19
|
|
|
@@ -12,7 +12,7 @@ module ClientSideValidations
|
|
|
12
12
|
|
|
13
13
|
url, model, scope = check_model(url, model, format, scope) if model
|
|
14
14
|
|
|
15
|
-
if
|
|
15
|
+
if block
|
|
16
16
|
form_tag_with_validators scope, model, options, url, &block
|
|
17
17
|
else
|
|
18
18
|
html_options = html_options_for_form_with(url, model, **options)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Client Side Validations JS - v0.1.5 (https://github.com/DavyJonesLocker/client_side_validations)
|
|
3
|
-
* Copyright (c)
|
|
3
|
+
* Copyright (c) 2021 Geremia Taglialatela, Brian Cardarella
|
|
4
4
|
* Licensed under MIT (https://opensource.org/licenses/mit-license.php)
|
|
5
5
|
*/
|
|
6
6
|
|
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:
|
|
4
|
+
version: 18.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:
|
|
12
|
+
date: 2021-02-13 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -20,7 +20,7 @@ dependencies:
|
|
|
20
20
|
version: 5.0.0.1
|
|
21
21
|
- - "<"
|
|
22
22
|
- !ruby/object:Gem::Version
|
|
23
|
-
version: '
|
|
23
|
+
version: '7.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: 5.0.0.1
|
|
31
31
|
- - "<"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
33
|
+
version: '7.0'
|
|
34
34
|
- !ruby/object:Gem::Dependency
|
|
35
35
|
name: js_regex
|
|
36
36
|
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.20.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.20.0
|
|
90
90
|
- !ruby/object:Gem::Dependency
|
|
91
91
|
name: m
|
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -121,14 +121,14 @@ dependencies:
|
|
|
121
121
|
requirements:
|
|
122
122
|
- - "~>"
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '1.
|
|
124
|
+
version: '1.12'
|
|
125
125
|
type: :development
|
|
126
126
|
prerelease: false
|
|
127
127
|
version_requirements: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
129
|
- - "~>"
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: '1.
|
|
131
|
+
version: '1.12'
|
|
132
132
|
- !ruby/object:Gem::Dependency
|
|
133
133
|
name: rake
|
|
134
134
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -149,42 +149,70 @@ dependencies:
|
|
|
149
149
|
requirements:
|
|
150
150
|
- - "~>"
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
|
-
version: 1.
|
|
152
|
+
version: '1.9'
|
|
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: 1.
|
|
159
|
+
version: '1.9'
|
|
160
|
+
- !ruby/object:Gem::Dependency
|
|
161
|
+
name: rubocop-minitest
|
|
162
|
+
requirement: !ruby/object:Gem::Requirement
|
|
163
|
+
requirements:
|
|
164
|
+
- - "~>"
|
|
165
|
+
- !ruby/object:Gem::Version
|
|
166
|
+
version: 0.10.3
|
|
167
|
+
type: :development
|
|
168
|
+
prerelease: false
|
|
169
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
170
|
+
requirements:
|
|
171
|
+
- - "~>"
|
|
172
|
+
- !ruby/object:Gem::Version
|
|
173
|
+
version: 0.10.3
|
|
160
174
|
- !ruby/object:Gem::Dependency
|
|
161
175
|
name: rubocop-performance
|
|
162
176
|
requirement: !ruby/object:Gem::Requirement
|
|
163
177
|
requirements:
|
|
164
178
|
- - "~>"
|
|
165
179
|
- !ruby/object:Gem::Version
|
|
166
|
-
version: '1.
|
|
180
|
+
version: '1.9'
|
|
167
181
|
type: :development
|
|
168
182
|
prerelease: false
|
|
169
183
|
version_requirements: !ruby/object:Gem::Requirement
|
|
170
184
|
requirements:
|
|
171
185
|
- - "~>"
|
|
172
186
|
- !ruby/object:Gem::Version
|
|
173
|
-
version: '1.
|
|
187
|
+
version: '1.9'
|
|
174
188
|
- !ruby/object:Gem::Dependency
|
|
175
189
|
name: rubocop-rails
|
|
176
190
|
requirement: !ruby/object:Gem::Requirement
|
|
177
191
|
requirements:
|
|
178
192
|
- - "~>"
|
|
179
193
|
- !ruby/object:Gem::Version
|
|
180
|
-
version: '2.
|
|
194
|
+
version: '2.9'
|
|
195
|
+
type: :development
|
|
196
|
+
prerelease: false
|
|
197
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
198
|
+
requirements:
|
|
199
|
+
- - "~>"
|
|
200
|
+
- !ruby/object:Gem::Version
|
|
201
|
+
version: '2.9'
|
|
202
|
+
- !ruby/object:Gem::Dependency
|
|
203
|
+
name: rubocop-rake
|
|
204
|
+
requirement: !ruby/object:Gem::Requirement
|
|
205
|
+
requirements:
|
|
206
|
+
- - "~>"
|
|
207
|
+
- !ruby/object:Gem::Version
|
|
208
|
+
version: 0.5.1
|
|
181
209
|
type: :development
|
|
182
210
|
prerelease: false
|
|
183
211
|
version_requirements: !ruby/object:Gem::Requirement
|
|
184
212
|
requirements:
|
|
185
213
|
- - "~>"
|
|
186
214
|
- !ruby/object:Gem::Version
|
|
187
|
-
version:
|
|
215
|
+
version: 0.5.1
|
|
188
216
|
- !ruby/object:Gem::Dependency
|
|
189
217
|
name: simplecov
|
|
190
218
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -194,7 +222,7 @@ dependencies:
|
|
|
194
222
|
version: 0.18.5
|
|
195
223
|
- - "<"
|
|
196
224
|
- !ruby/object:Gem::Version
|
|
197
|
-
version: '0.
|
|
225
|
+
version: '0.22'
|
|
198
226
|
type: :development
|
|
199
227
|
prerelease: false
|
|
200
228
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -204,7 +232,7 @@ dependencies:
|
|
|
204
232
|
version: 0.18.5
|
|
205
233
|
- - "<"
|
|
206
234
|
- !ruby/object:Gem::Version
|
|
207
|
-
version: '0.
|
|
235
|
+
version: '0.22'
|
|
208
236
|
- !ruby/object:Gem::Dependency
|
|
209
237
|
name: sqlite3
|
|
210
238
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -248,7 +276,7 @@ dependencies:
|
|
|
248
276
|
- !ruby/object:Gem::Version
|
|
249
277
|
version: '2.1'
|
|
250
278
|
- !ruby/object:Gem::Dependency
|
|
251
|
-
name:
|
|
279
|
+
name: webrick
|
|
252
280
|
requirement: !ruby/object:Gem::Requirement
|
|
253
281
|
requirements:
|
|
254
282
|
- - "~>"
|
|
@@ -308,7 +336,7 @@ licenses:
|
|
|
308
336
|
- MIT
|
|
309
337
|
metadata:
|
|
310
338
|
bug_tracker_uri: https://github.com/DavyJonesLocker/client_side_validations/issues
|
|
311
|
-
changelog_uri: https://github.com/DavyJonesLocker/client_side_validations/blob/
|
|
339
|
+
changelog_uri: https://github.com/DavyJonesLocker/client_side_validations/blob/main/CHANGELOG.md
|
|
312
340
|
source_code_uri: https://github.com/DavyJonesLocker/client_side_validations
|
|
313
341
|
post_install_message:
|
|
314
342
|
rdoc_options: []
|