cocina-models 0.84.2 → 0.84.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fd3dfe2bf933fa419ff08f9ae9736a3aebe7f48cd2fbba847169f474a37921f0
4
- data.tar.gz: a2d326da71f2a46752a4c87a689325b498063d1e03034253a45bb1f2309b11be
3
+ metadata.gz: aab0f71139e7186ac04a7f2132ae54dc4c90986fa8a5d96d1b827469502df1a1
4
+ data.tar.gz: dc0014735d2b42cf8031540677aa64a8a8fb975a20b5e7e3c895a699a2ec6c49
5
5
  SHA512:
6
- metadata.gz: 5c4bd8ac0393f97ade246b27f492c79e6c213ede74aecdd8ab69e006e1860b28e1edf8ffad56d593162c19a0bd7a175207cd800cff4ed532830801ee02f90aa8
7
- data.tar.gz: a154b830a1c4d2ff783541e5c1b9141f89e3d21a36c2c6c8f65f0c9ec973da28967f5b945d64f52fd030e71a54a58deb2fca2aa5c173d69add0c567742baf446
6
+ metadata.gz: b6aec7701fad871d5d10403ef0af0fa6b786f4ec97f01f3bd5021943e34071c4c253a5569f129cdc804556180cbbf19f862bc8edad5842abf1bad4b9f9c9b2c3
7
+ data.tar.gz: d8584408d94f5698c1c55e2477583c95079c20447e59f5a6361a481a71c8ae9d2cee475002a5ca3ee2eb4532e75afcb01a94a87500b85618a34072e273151b57
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocina-models (0.84.2)
4
+ cocina-models (0.84.3)
5
5
  activesupport
6
6
  deprecation
7
7
  dry-struct (~> 1.0)
@@ -96,11 +96,9 @@ module Cocina
96
96
  # * YYYY
97
97
  # * YYYY-MM
98
98
  #
99
- # So we catch the false positives from the upstream gem and allow
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cocina
4
4
  module Models
5
- VERSION = '0.84.2'
5
+ VERSION = '0.84.3'
6
6
  end
7
7
  end
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.2
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-08-25 00:00:00.000000000 Z
11
+ date: 2022-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport