cocina-models 0.84.2 → 0.84.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cocina/models/validators/date_time_validator.rb +2 -4
- data/lib/cocina/models/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aab0f71139e7186ac04a7f2132ae54dc4c90986fa8a5d96d1b827469502df1a1
|
4
|
+
data.tar.gz: dc0014735d2b42cf8031540677aa64a8a8fb975a20b5e7e3c895a699a2ec6c49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6aec7701fad871d5d10403ef0af0fa6b786f4ec97f01f3bd5021943e34071c4c253a5569f129cdc804556180cbbf19f862bc8edad5842abf1bad4b9f9c9b2c3
|
7
|
+
data.tar.gz: d8584408d94f5698c1c55e2477583c95079c20447e59f5a6361a481a71c8ae9d2cee475002a5ca3ee2eb4532e75afcb01a94a87500b85618a34072e273151b57
|
data/Gemfile.lock
CHANGED
@@ -96,11 +96,9 @@ module Cocina
|
|
96
96
|
# * YYYY
|
97
97
|
# * YYYY-MM
|
98
98
|
#
|
99
|
-
#
|
99
|
+
# This catches the false positives from the upstream gem and allow
|
100
100
|
# these two patterns to validate
|
101
|
-
|
102
|
-
# Also have a temporary exemption for MM/DD/YY
|
103
|
-
%r{\A((\d{4}(-0[1-9]|-1[0-2])?)|(\d{1,2}/\d{1,2}/\d{2}))\Z}.match?(value)
|
101
|
+
/\A\d{4}(-0[1-9]|-1[0-2])?\Z/.match?(value)
|
104
102
|
end
|
105
103
|
|
106
104
|
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.3
|
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-
|
11
|
+
date: 2022-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|