cocina-models 0.84.0 → 0.84.1

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: 326a7390c3ec14bfbc4ec9e4e79f26528b9dfa214f38aefd0646baddfbad96d5
4
- data.tar.gz: cce43d9334fd16e47e790a082bbc999cf969b18ab78dc3d5e7015f757f6f4ea0
3
+ metadata.gz: 9e1b47286ce6d52c99a76f6370a1f1a902d204759a7e0d11966b42d94d01ee19
4
+ data.tar.gz: e6f5f432fab07a70965b78b94f3f5a1ff6e103ce274011ee55b7a130ae7bc974
5
5
  SHA512:
6
- metadata.gz: d1a83488b4c5a07ae64073693c0a77424ce10fbfdada5e769fca6794d75cddc5c789d04ab92e35fa80a30eae82a0f8c284753df16ddab044bcd1ad11030b22f5
7
- data.tar.gz: 6604a503733106b82f2e0155a2632a1eb8d00881dc762b52779179a96d962fd5e5143be6ebbe2738cb5d35eac88ee95d039c7f358d2664f10f6a82f71626b058
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cocina-models (0.84.0)
4
+ cocina-models (0.84.1)
5
5
  activesupport
6
6
  deprecation
7
7
  dry-struct (~> 1.0)
@@ -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
- /\A\d{4}(-0[1-9]|-1[0-2])?\Z/.match?(value)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Cocina
4
4
  module Models
5
- VERSION = '0.84.0'
5
+ VERSION = '0.84.1'
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.0
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-23 00:00:00.000000000 Z
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.2.32
541
+ rubygems_version: 3.3.7
542
542
  signing_key:
543
543
  specification_version: 4
544
544
  summary: Data models for the SDR