sdr-client 0.83.0 → 0.84.0

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: 84b032793b75a09648f5fe454d5e6fc7914c34d26f9c92c4bcbe3742b044ec35
4
- data.tar.gz: a3ffc909f1a5f06970e8f5e914411ec374cc00c43a7ce60321447bbf29538110
3
+ metadata.gz: 76e8c79771db07f1ccee8d3977cb0c49c9f3af0f7480633360aca61890b3de06
4
+ data.tar.gz: 9c2fe261b94267f28da9acf6055e2708a234a6615de0e64d4b8b694721761b4b
5
5
  SHA512:
6
- metadata.gz: 5cf0259bc1f7c31a465c90caa381458a1f4005b4b5d9ea7444c75b7662ebd395e3aed92a00120bf159320702fd49aad67ab47e3edf5c419955e8fafcc3a1702f
7
- data.tar.gz: 2f9e4451117de1b894a36b5aaae97c2b6d1934f6cd40c883de7ffb10b785fbd43e6e9b7ea66d06485e8f6cef69bfded7b531b3be33a2bb4652531a838cbe584a
6
+ metadata.gz: '0580b7944d856ce73955e9c2374022ef9ccf8a29d573f9a2c046e19a02155aa10d52a2064204696a5bf49fdbce10abfad93e81de1ac254c78ac8f8da7a7baf01'
7
+ data.tar.gz: 924bbdf7cbd609a32b3472dcc7e8c81d648a3a57f051dcfafa25fdfa21faafe68ba38d2f1a49623706229fc100e7d9d179a6fd4413eba48863af50834d0cac75
data/.rubocop.yml CHANGED
@@ -65,6 +65,8 @@ Lint/OrAssignmentToConstant: # new in 1.9
65
65
  Enabled: true
66
66
  Lint/RedundantDirGlobSort: # new in 1.8
67
67
  Enabled: true
68
+ Lint/RefinementImportMethods: # new in 1.27
69
+ Enabled: true
68
70
  Lint/RequireRelativeSelfPath: # new in 1.22
69
71
  Enabled: true
70
72
  Lint/SymbolConversion: # new in 1.9
@@ -81,6 +83,8 @@ Lint/UselessRuby2Keywords: # new in 1.23
81
83
  Enabled: true
82
84
  Naming/BlockForwarding: # new in 1.24
83
85
  Enabled: true
86
+ Security/CompoundHash: # new in 1.28
87
+ Enabled: true
84
88
  Security/IoMethods: # new in 1.22
85
89
  Enabled: true
86
90
  Style/ArgumentsForwarding: # new in 1.1
@@ -91,6 +95,8 @@ Style/DocumentDynamicEvalDefinition: # new in 1.1
91
95
  Enabled: true
92
96
  Style/EndlessMethod: # new in 1.8
93
97
  Enabled: true
98
+ Style/FetchEnvVar: # new in 1.28
99
+ Enabled: true
94
100
  Style/FileRead: # new in 1.24
95
101
  Enabled: true
96
102
  Style/FileWrite: # new in 1.24
@@ -109,18 +115,24 @@ Style/MultilineInPatternThen: # new in 1.16
109
115
  Enabled: true
110
116
  Style/NegatedIfElseCondition: # new in 1.2
111
117
  Enabled: true
118
+ Style/NestedFileDirname: # new in 1.26
119
+ Enabled: true
112
120
  Style/NilLambda: # new in 1.3
113
121
  Enabled: true
114
122
  Style/NumberedParameters: # new in 1.22
115
123
  Enabled: true
116
124
  Style/NumberedParametersLimit: # new in 1.22
117
125
  Enabled: true
126
+ Style/ObjectThen: # new in 1.28
127
+ Enabled: true
118
128
  Style/OpenStructUse: # new in 1.23
119
129
  Enabled: true
120
130
  Style/QuotedSymbols: # new in 1.16
121
131
  Enabled: true
122
132
  Style/RedundantArgument: # new in 1.4
123
133
  Enabled: true
134
+ Style/RedundantInitialize: # new in 1.27
135
+ Enabled: true
124
136
  Style/RedundantSelfAssignmentBranch: # new in 1.19
125
137
  Enabled: true
126
138
  Style/SelectByRegexp: # new in 1.22
@@ -143,3 +155,5 @@ RSpec/BeEq: # new in 2.9.0
143
155
  Enabled: true
144
156
  RSpec/BeNil: # new in 2.9.0
145
157
  Enabled: true
158
+ RSpec/VerifiedDoubleReference: # new in 2.10.0
159
+ Enabled: true
data/.rubocop_todo.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config --auto-gen-only-exclude`
3
- # on 2022-03-23 20:29:32 UTC using RuboCop version 1.25.1.
3
+ # on 2022-05-05 05:53:08 UTC using RuboCop version 1.28.2.
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
@@ -19,7 +19,7 @@ Lint/NoReturnInBeginEndBlocks:
19
19
  - 'lib/sdr_client/deposit/model_process.rb'
20
20
 
21
21
  # Offense count: 2
22
- # Cop supports --auto-correct.
22
+ # This cop supports safe auto-correction (--auto-correct).
23
23
  # Configuration parameters: AllowUnusedKeywordArguments, IgnoreEmptyMethods, IgnoreNotImplementedMethods.
24
24
  Lint/UnusedMethodArgument:
25
25
  Exclude:
@@ -85,7 +85,7 @@ RSpec/MultipleExpectations:
85
85
  - 'spec/sdr_client/login_spec.rb'
86
86
  - 'spec/sdr_client/model_deposit_spec.rb'
87
87
 
88
- # Offense count: 22
88
+ # Offense count: 32
89
89
  # Configuration parameters: AllowSubject, Max.
90
90
  RSpec/MultipleMemoizedHelpers:
91
91
  Exclude:
@@ -93,6 +93,7 @@ RSpec/MultipleMemoizedHelpers:
93
93
  - 'spec/sdr_client/deposit/model_process_spec.rb'
94
94
  - 'spec/sdr_client/deposit/process_spec.rb'
95
95
  - 'spec/sdr_client/deposit/request_spec.rb'
96
+ - 'spec/sdr_client/update_spec.rb'
96
97
 
97
98
  # Offense count: 24
98
99
  # Configuration parameters: IgnoreSharedExamples.
@@ -116,29 +117,29 @@ RSpec/NestedGroups:
116
117
  - 'spec/sdr_client/update_spec.rb'
117
118
 
118
119
  # Offense count: 19
119
- # Cop supports --auto-correct.
120
+ # This cop supports safe auto-correction (--auto-correct).
120
121
  Style/KeywordParametersOrder:
121
122
  Exclude:
122
123
  - 'lib/sdr_client/deposit.rb'
123
124
  - 'lib/sdr_client/deposit/request.rb'
124
125
 
125
126
  # Offense count: 1
126
- # Cop supports --auto-correct.
127
+ # This cop supports safe auto-correction (--auto-correct).
127
128
  Style/MultilineTernaryOperator:
128
129
  Exclude:
129
130
  - 'lib/sdr_client/update.rb'
130
131
 
131
132
  # Offense count: 2
132
- # Cop supports --auto-correct-all.
133
+ # This cop supports unsafe auto-correction (--auto-correct-all).
133
134
  # Configuration parameters: Mode.
134
135
  Style/StringConcatenation:
135
136
  Exclude:
136
137
  - 'lib/sdr_client/deposit/create_resource.rb'
137
138
  - 'spec/sdr_client/deposit_spec.rb'
138
139
 
139
- # Offense count: 26
140
- # Cop supports --auto-correct.
141
- # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, IgnoredPatterns.
140
+ # Offense count: 29
141
+ # This cop supports safe auto-correction (--auto-correct).
142
+ # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns, IgnoredPatterns.
142
143
  # URISchemes: http, https
143
144
  Layout/LineLength:
144
145
  Exclude:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SdrClient
4
- VERSION = '0.83.0'
4
+ VERSION = '0.84.0'
5
5
  end
data/sdr-client.gemspec CHANGED
@@ -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.78.0'
31
+ spec.add_dependency 'cocina-models', '~> 0.79.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.83.0
4
+ version: 0.84.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: 2022-05-04 00:00:00.000000000 Z
11
+ date: 2022-05-09 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.78.0
33
+ version: 0.79.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.78.0
40
+ version: 0.79.0
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: dry-monads
43
43
  requirement: !ruby/object:Gem::Requirement