sdr-client 0.82.0 → 0.85.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +14 -0
- data/.rubocop_todo.yml +10 -9
- data/lib/sdr_client/version.rb +1 -1
- data/sdr-client.gemspec +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9b1aca73ddd368195abfb6b4f1dbc9c9a87c1e45539b7366bce23462894cff8d
|
4
|
+
data.tar.gz: f4bb2fe65b22037b52aa9fa3c3e9f3a8cab45f82c6b6ecd35a72f2508423f542
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6815101ef973e07df9cff34a943d3f2b046d3c024707ed6bb899b8a87fb1d876cf3722a67373e2672fe14fe5202f70e23c089445e653bdcb5edc35dc7d7a7c94
|
7
|
+
data.tar.gz: b6d065ebc12bcdafede2a2f49742aad58ae604813f6f65e8f0acbedc9568b29f88706b56acda1837cd2d982e3a29cb90942a5417db081b66ff814845163c93ec
|
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-
|
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
|
-
#
|
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:
|
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
|
-
#
|
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
|
-
#
|
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
|
-
#
|
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:
|
140
|
-
#
|
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:
|
data/lib/sdr_client/version.rb
CHANGED
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.
|
31
|
+
spec.add_dependency 'cocina-models', '~> 0.80.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.
|
4
|
+
version: 0.85.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-13 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.
|
33
|
+
version: 0.80.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.
|
40
|
+
version: 0.80.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dry-monads
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -256,7 +256,7 @@ metadata:
|
|
256
256
|
source_code_uri: https://github.com/sul-dlss/sdr-client
|
257
257
|
changelog_uri: https://github.com/sul-dlss/sdr-client/releases
|
258
258
|
rubygems_mfa_required: 'true'
|
259
|
-
post_install_message:
|
259
|
+
post_install_message:
|
260
260
|
rdoc_options: []
|
261
261
|
require_paths:
|
262
262
|
- lib
|
@@ -271,8 +271,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
271
271
|
- !ruby/object:Gem::Version
|
272
272
|
version: '0'
|
273
273
|
requirements: []
|
274
|
-
rubygems_version: 3.
|
275
|
-
signing_key:
|
274
|
+
rubygems_version: 3.3.9
|
275
|
+
signing_key:
|
276
276
|
specification_version: 4
|
277
277
|
summary: The CLI for https://github.com/sul-dlss/sdr-api
|
278
278
|
test_files: []
|