sdr-client 0.31.0 → 0.32.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: 999f1fcad7c001083d1ddb061042209a6242dad60947d324386f800c426ef1d6
4
- data.tar.gz: 7f1b29ca7327f2eda0625c94e117844296932290446b9b3a90576e0307e93343
3
+ metadata.gz: ab735da1159debb159fee1765bf30b81ca739175dd77322c82a6c742b4264a80
4
+ data.tar.gz: 8abdd10178c83921df47ef09ef19c75fb982585644c2d039e656b93b3a8ba2b9
5
5
  SHA512:
6
- metadata.gz: a04232a0f3dea514c51d12d2ead86abf0bdbd536bd60a183e69b1bf989c63128385b6d805291f7be18e430bf30515a836fd21cfcf16a8ba6c7bd033a3c1ad20d
7
- data.tar.gz: f5f7ee090e48fd96a2a34fee00b18bd5b59c3c29ac8b600d7bdf2de7be0c30914b5df1a2daccea00115d1e003d26bf8d4f998397ddb4c5fc487d81b5dfe51d85
6
+ metadata.gz: 30117e4a96a0e0119932e999b5255b529afdd7770cab2b26654359913b31385168bebe4540e40d630eaf78844ed3fa35a465e922894c8f8cc2b776288c281113
7
+ data.tar.gz: 7c7ba5b910f5bca9cc455f6d1e0e3af22aac2713bd9bc56c5b06af328eccaf9edc113d1759a9af6e43048352e45fa137e6b4799912476eb125d181922a97b136
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2020-06-24 17:02:25 -0700 using RuboCop version 0.79.0.
3
+ # on 2020-09-08 13:16:08 -0500 using RuboCop version 0.79.0.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
@@ -21,9 +21,9 @@ Style/IfUnlessModifier:
21
21
  Exclude:
22
22
  - 'exe/sdr'
23
23
 
24
- # Offense count: 187
24
+ # Offense count: 188
25
25
  # Cop supports --auto-correct.
26
26
  # Configuration parameters: AutoCorrect, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
27
27
  # URISchemes: http, https
28
28
  Layout/LineLength:
29
- Max: 1228
29
+ Max: 1230
@@ -104,7 +104,7 @@ module SdrClient
104
104
 
105
105
  def structural
106
106
  {}.tap do |json|
107
- json[:isMemberOf] = collection if collection
107
+ json[:isMemberOf] = [collection] if collection
108
108
  json[:contains] = file_sets.map(&:as_json) unless file_sets.empty?
109
109
  json[:hasMemberOrders] = [{ viewingDirection: viewing_direction }] if viewing_direction
110
110
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrClient
4
- VERSION = '0.31.0'
4
+ VERSION = '0.32.0'
5
5
  end
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ['lib']
29
29
 
30
30
  spec.add_dependency 'activesupport'
31
- spec.add_dependency 'cocina-models', '~> 0.37.0'
31
+ spec.add_dependency 'cocina-models', '~> 0.39.0'
32
32
  spec.add_dependency 'dry-monads'
33
33
  spec.add_dependency 'faraday', '>= 0.16'
34
34
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sdr-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.0
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-08-26 00:00:00.000000000 Z
11
+ date: 2020-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 0.37.0
33
+ version: 0.39.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 0.37.0
40
+ version: 0.39.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dry-monads
43
43
  requirement: !ruby/object:Gem::Requirement