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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ee0171a0d3ad5f55bf4a2176d00000c22c67a7669a2695b955e51d04b419cf8c
4
- data.tar.gz: dd520fb607b7cc60f7d59f561fa546918f362fc516ab688229336125f08331ce
3
+ metadata.gz: 647ea513d766cbbfbf5b14b11826abfe8b133bb968b192fc6c0d0a70fbc9e1e4
4
+ data.tar.gz: 20a5c932ba2a43ff6d1e2b26c917b7e2a6fd921e77f893f0a3b48fd1c52b9129
5
5
  SHA512:
6
- metadata.gz: 56e52d6a3395490b55931c1385cada95d2228d936f63f4bee06f98b45b52a0fc65ca2c4ef8e7043baf9e10701a253bebc64c649004dfab7191e8d03d6c4d082e
7
- data.tar.gz: 31ee4b06479df1f7a2f5166adaab1afd83f05683e6d2c86676558492fcf4c576646e1d5cdda8a217814357c2169ca871c068f759acd7e7b2b2f3a6572249c847
6
+ metadata.gz: dd2576b8ba86c0cb0479c92823a21a9e8847a3ab42b2b8a4c9a806366208346c7ee856d0a7d5ca607686d78d186793b5f1d1713ece8bd8598fecb2a17c02f628
7
+ data.tar.gz: 61e3f4546aef8a04e1c22dccbc6655e02e803ace5295001575dda30aa1d6328885835901e2dee3bcbcce3f1ccfa0ba78659ef46a49785fc65e69afd0de5815f8
@@ -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
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ClientSideValidations
4
4
  module Mongoid
5
- VERSION = '10.0.0'
5
+ VERSION = '10.1.0'
6
6
  end
7
7
  end
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.0.0
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-05-18 00:00:00.000000000 Z
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.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.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.16.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.16.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.83.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.83.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.5'
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.5'
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.5'
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.5'
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.2
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: []