sdr-client 0.83.0 → 0.86.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 +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 860f2f6a8c4d48b484b5cc4f9a2b8d7c0ac0f4c682af36bff84edce9053a66fe
|
4
|
+
data.tar.gz: a8b452c7f6c305178013510d482fe74a055f254be706acaab61496403520915b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4daba12917fa1e63e75af8ca662d68773355df1950b93e901e6cd5dd8e085f2757e302abfeb0f7105733a3997aa6ead2cb6134f01e977976739911430f3a9903
|
7
|
+
data.tar.gz: c1216fa3fef31a1d7534ba97c255fa404f9ffb3d028c4d278300a7bc69d0b80ec3ff9ce21beeea7abab2cab2f487a7a11247306e4b230d80b22be6064813da13
|
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.81.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.86.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-
|
11
|
+
date: 2022-06-01 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.81.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.81.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: dry-monads
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|