client_side_validations-mongoid 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 +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/client_side_validations/mongoid/uniqueness.rb +2 -0
- data/lib/client_side_validations/mongoid/version.rb +1 -1
- metadata +25 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 647ea513d766cbbfbf5b14b11826abfe8b133bb968b192fc6c0d0a70fbc9e1e4
|
4
|
+
data.tar.gz: 20a5c932ba2a43ff6d1e2b26c917b7e2a6fd921e77f893f0a3b48fd1c52b9129
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd2576b8ba86c0cb0479c92823a21a9e8847a3ab42b2b8a4c9a806366208346c7ee856d0a7d5ca607686d78d186793b5f1d1713ece8bd8598fecb2a17c02f628
|
7
|
+
data.tar.gz: 61e3f4546aef8a04e1c22dccbc6655e02e803ace5295001575dda30aa1d6328885835901e2dee3bcbcce3f1ccfa0ba78659ef46a49785fc65e69afd0de5815f8
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,11 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 10.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 development dependencies
|
8
|
+
|
3
9
|
## 10.0.0 / 2020-05-18
|
4
10
|
|
5
11
|
* [FEATURE] Add ClientSideValidations 17.0 compatibility
|
@@ -3,6 +3,7 @@
|
|
3
3
|
module ClientSideValidations
|
4
4
|
module Mongoid
|
5
5
|
module Uniqueness
|
6
|
+
# rubocop:disable Metrics/CyclomaticComplexity
|
6
7
|
def client_side_hash(model, attribute, _force = nil)
|
7
8
|
hash = {}
|
8
9
|
hash[:message] = model.errors.generate_message(attribute, message_type, options.except(:scope))
|
@@ -21,6 +22,7 @@ module ClientSideValidations
|
|
21
22
|
|
22
23
|
hash
|
23
24
|
end
|
25
|
+
# rubocop:enable Metrics/CyclomaticComplexity
|
24
26
|
|
25
27
|
private
|
26
28
|
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: client_side_validations-mongoid
|
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
|
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
|
@@ -57,14 +57,14 @@ dependencies:
|
|
57
57
|
requirements:
|
58
58
|
- - "~>"
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '2.
|
60
|
+
version: '2.3'
|
61
61
|
type: :development
|
62
62
|
prerelease: false
|
63
63
|
version_requirements: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
65
|
- - "~>"
|
66
66
|
- !ruby/object:Gem::Version
|
67
|
-
version: '2.
|
67
|
+
version: '2.3'
|
68
68
|
- !ruby/object:Gem::Dependency
|
69
69
|
name: byebug
|
70
70
|
requirement: !ruby/object:Gem::Requirement
|
@@ -85,14 +85,14 @@ dependencies:
|
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 0.
|
88
|
+
version: 0.18.0
|
89
89
|
type: :development
|
90
90
|
prerelease: false
|
91
91
|
version_requirements: !ruby/object:Gem::Requirement
|
92
92
|
requirements:
|
93
93
|
- - "~>"
|
94
94
|
- !ruby/object:Gem::Version
|
95
|
-
version: 0.
|
95
|
+
version: 0.18.0
|
96
96
|
- !ruby/object:Gem::Dependency
|
97
97
|
name: database_cleaner
|
98
98
|
requirement: !ruby/object:Gem::Requirement
|
@@ -169,56 +169,62 @@ dependencies:
|
|
169
169
|
requirements:
|
170
170
|
- - "~>"
|
171
171
|
- !ruby/object:Gem::Version
|
172
|
-
version: 0.
|
172
|
+
version: 0.93.0
|
173
173
|
type: :development
|
174
174
|
prerelease: false
|
175
175
|
version_requirements: !ruby/object:Gem::Requirement
|
176
176
|
requirements:
|
177
177
|
- - "~>"
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: 0.
|
179
|
+
version: 0.93.0
|
180
180
|
- !ruby/object:Gem::Dependency
|
181
181
|
name: rubocop-performance
|
182
182
|
requirement: !ruby/object:Gem::Requirement
|
183
183
|
requirements:
|
184
184
|
- - "~>"
|
185
185
|
- !ruby/object:Gem::Version
|
186
|
-
version: '1.
|
186
|
+
version: '1.8'
|
187
187
|
type: :development
|
188
188
|
prerelease: false
|
189
189
|
version_requirements: !ruby/object:Gem::Requirement
|
190
190
|
requirements:
|
191
191
|
- - "~>"
|
192
192
|
- !ruby/object:Gem::Version
|
193
|
-
version: '1.
|
193
|
+
version: '1.8'
|
194
194
|
- !ruby/object:Gem::Dependency
|
195
195
|
name: rubocop-rails
|
196
196
|
requirement: !ruby/object:Gem::Requirement
|
197
197
|
requirements:
|
198
198
|
- - "~>"
|
199
199
|
- !ruby/object:Gem::Version
|
200
|
-
version: '2.
|
200
|
+
version: '2.8'
|
201
201
|
type: :development
|
202
202
|
prerelease: false
|
203
203
|
version_requirements: !ruby/object:Gem::Requirement
|
204
204
|
requirements:
|
205
205
|
- - "~>"
|
206
206
|
- !ruby/object:Gem::Version
|
207
|
-
version: '2.
|
207
|
+
version: '2.8'
|
208
208
|
- !ruby/object:Gem::Dependency
|
209
209
|
name: simplecov
|
210
210
|
requirement: !ruby/object:Gem::Requirement
|
211
211
|
requirements:
|
212
|
-
- - "
|
212
|
+
- - ">="
|
213
213
|
- !ruby/object:Gem::Version
|
214
214
|
version: 0.18.5
|
215
|
+
- - "<"
|
216
|
+
- !ruby/object:Gem::Version
|
217
|
+
version: 0.20.0
|
215
218
|
type: :development
|
216
219
|
prerelease: false
|
217
220
|
version_requirements: !ruby/object:Gem::Requirement
|
218
221
|
requirements:
|
219
|
-
- - "
|
222
|
+
- - ">="
|
220
223
|
- !ruby/object:Gem::Version
|
221
224
|
version: 0.18.5
|
225
|
+
- - "<"
|
226
|
+
- !ruby/object:Gem::Version
|
227
|
+
version: 0.20.0
|
222
228
|
description: Mongoid Plugin for ClientSideValidations
|
223
229
|
email:
|
224
230
|
- tagliala.dev@gmail.com
|
@@ -241,13 +247,13 @@ metadata:
|
|
241
247
|
bug_tracker_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form/issues
|
242
248
|
changelog_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form/blob/master/CHANGELOG.md
|
243
249
|
source_code_uri: https://github.com/DavyJonesLocker/client_side_validations-simple_form
|
244
|
-
post_install_message:
|
250
|
+
post_install_message:
|
245
251
|
rdoc_options: []
|
246
252
|
require_paths:
|
247
253
|
- lib
|
248
254
|
required_ruby_version: !ruby/object:Gem::Requirement
|
249
255
|
requirements:
|
250
|
-
- - "
|
256
|
+
- - ">="
|
251
257
|
- !ruby/object:Gem::Version
|
252
258
|
version: '2.4'
|
253
259
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
@@ -256,8 +262,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
256
262
|
- !ruby/object:Gem::Version
|
257
263
|
version: '0'
|
258
264
|
requirements: []
|
259
|
-
rubygems_version: 3.1.
|
260
|
-
signing_key:
|
265
|
+
rubygems_version: 3.1.4
|
266
|
+
signing_key:
|
261
267
|
specification_version: 4
|
262
268
|
summary: ClientSideValidations Mongoid
|
263
269
|
test_files: []
|