cocina-models 0.84.0 → 0.84.1
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/.rubocop.yml +25 -0
- data/Gemfile.lock +1 -1
- data/lib/cocina/models/validators/date_time_validator.rb +3 -1
- data/lib/cocina/models/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9e1b47286ce6d52c99a76f6370a1f1a902d204759a7e0d11966b42d94d01ee19
|
|
4
|
+
data.tar.gz: e6f5f432fab07a70965b78b94f3f5a1ff6e103ce274011ee55b7a130ae7bc974
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0908f1699111ae772ebea61c0f5824c78cd694640aa3acaaded5311f2039a366469765206cf88f49410734054d660cbb6414afa0695c5a3b831b42be857e30ac'
|
|
7
|
+
data.tar.gz: 075d804c7525993965ffe30ae6d7e266c62d8a1b842cebc7096db3cd0c824af1b733180740faf3ba7db246cdd4c822ca9e67699cfa160810e62f12e0e919ea5d
|
data/.rubocop.yml
CHANGED
|
@@ -311,3 +311,28 @@ Style/RedundantInitialize: # new in 1.27
|
|
|
311
311
|
Enabled: true
|
|
312
312
|
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
|
313
313
|
Enabled: true
|
|
314
|
+
|
|
315
|
+
Layout/LineContinuationLeadingSpace: # new in 1.31
|
|
316
|
+
Enabled: true
|
|
317
|
+
Layout/LineContinuationSpacing: # new in 1.31
|
|
318
|
+
Enabled: true
|
|
319
|
+
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
|
320
|
+
Enabled: true
|
|
321
|
+
Lint/NonAtomicFileOperation: # new in 1.31
|
|
322
|
+
Enabled: true
|
|
323
|
+
Lint/RequireRangeParentheses: # new in 1.32
|
|
324
|
+
Enabled: true
|
|
325
|
+
Style/EmptyHeredoc: # new in 1.32
|
|
326
|
+
Enabled: true
|
|
327
|
+
Style/EnvHome: # new in 1.29
|
|
328
|
+
Enabled: true
|
|
329
|
+
Style/MagicCommentFormat: # new in 1.35
|
|
330
|
+
Enabled: true
|
|
331
|
+
Style/MapCompactWithConditionalBlock: # new in 1.30
|
|
332
|
+
Enabled: true
|
|
333
|
+
RSpec/ChangeByZero: # new in 2.11.0
|
|
334
|
+
Enabled: true
|
|
335
|
+
RSpec/Capybara/SpecificMatcher: # new in 2.12
|
|
336
|
+
Enabled: false
|
|
337
|
+
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
|
338
|
+
Enabled: false
|
data/Gemfile.lock
CHANGED
|
@@ -98,7 +98,9 @@ module Cocina
|
|
|
98
98
|
#
|
|
99
99
|
# So we catch the false positives from the upstream gem and allow
|
|
100
100
|
# these two patterns to validate
|
|
101
|
-
|
|
101
|
+
#
|
|
102
|
+
# Also have a temporary exemption for MM/DD/YY
|
|
103
|
+
%r{\A((\d{4}(-0[1-9]|-1[0-2])?)|(\d{2}/\d{2}/\d{2}))\Z}.match?(value)
|
|
102
104
|
end
|
|
103
105
|
|
|
104
106
|
def druid
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cocina-models
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.84.
|
|
4
|
+
version: 0.84.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-08-
|
|
11
|
+
date: 2022-08-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -538,7 +538,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
538
538
|
- !ruby/object:Gem::Version
|
|
539
539
|
version: '0'
|
|
540
540
|
requirements: []
|
|
541
|
-
rubygems_version: 3.
|
|
541
|
+
rubygems_version: 3.3.7
|
|
542
542
|
signing_key:
|
|
543
543
|
specification_version: 4
|
|
544
544
|
summary: Data models for the SDR
|