dor-event-client 1.1.0 → 1.2.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 +4 -4
- data/.circleci/config.yml +1 -2
- data/.rubocop.yml +77 -35
- data/Gemfile.lock +52 -54
- data/dor-event-client.gemspec +2 -2
- data/lib/dor/event/client/version.rb +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: b5f3a942068a247da1bf1035562ff80429ea7ce0a03ac726331c13adce3c46e8
|
|
4
|
+
data.tar.gz: 5a1f07d446f5c6dad1644ea755f06549514a191309cc57c90028f0f8a8c47b92
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1a11fa4ea2716259facd0c893190b2f8e849f036531f3cdedb6d69d25726bc9dcac76c27ed1a9aa771303e7ae8c53efcb247d9d434cb711e4f28fc8ccc6c507e
|
|
7
|
+
data.tar.gz: c74f35e462e32813a3752ea2770fb2d09ca338949f7167cf3c5bd53f6476c0af7a7f8457a0130d14f2c3781a952db6769fc4af6c727fbd6079113d38b98f120c
|
data/.circleci/config.yml
CHANGED
data/.rubocop.yml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
inherit_from: .rubocop_todo.yml
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
plugins:
|
|
4
4
|
- rubocop-rspec
|
|
5
5
|
|
|
6
6
|
AllCops:
|
|
@@ -121,18 +121,12 @@ Style/RedundantSelfAssignmentBranch: # new in 1.19
|
|
|
121
121
|
Enabled: true
|
|
122
122
|
Style/SelectByRegexp: # new in 1.22
|
|
123
123
|
Enabled: true
|
|
124
|
-
|
|
125
124
|
RSpec/ExcessiveDocstringSpacing: # new in 2.5
|
|
126
125
|
Enabled: true
|
|
127
126
|
RSpec/IdenticalEqualityAssertion: # new in 2.4
|
|
128
127
|
Enabled: true
|
|
129
128
|
RSpec/SubjectDeclaration: # new in 2.5
|
|
130
129
|
Enabled: true
|
|
131
|
-
FactoryBot/SyntaxMethods: # new in 2.7
|
|
132
|
-
Enabled: true
|
|
133
|
-
RSpec/Rails/AvoidSetupHook: # new in 2.4
|
|
134
|
-
Enabled: true
|
|
135
|
-
|
|
136
130
|
Lint/RefinementImportMethods: # new in 1.27
|
|
137
131
|
Enabled: true
|
|
138
132
|
Security/CompoundHash: # new in 1.28
|
|
@@ -151,7 +145,6 @@ RSpec/BeNil: # new in 2.9.0
|
|
|
151
145
|
Enabled: true
|
|
152
146
|
RSpec/VerifiedDoubleReference: # new in 2.10.0
|
|
153
147
|
Enabled: true
|
|
154
|
-
|
|
155
148
|
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
|
156
149
|
Enabled: true
|
|
157
150
|
Style/EnvHome: # new in 1.29
|
|
@@ -168,11 +161,6 @@ Lint/ConstantOverwrittenInRescue: # new in 1.31
|
|
|
168
161
|
Enabled: true
|
|
169
162
|
Lint/NonAtomicFileOperation: # new in 1.31
|
|
170
163
|
Enabled: true
|
|
171
|
-
Capybara/SpecificMatcher: # new in 2.12
|
|
172
|
-
Enabled: true
|
|
173
|
-
RSpec/Rails/HaveHttpStatus: # new in 2.12
|
|
174
|
-
Enabled: true
|
|
175
|
-
|
|
176
164
|
Gemspec/DevelopmentDependencies: # new in 1.44
|
|
177
165
|
Enabled: false
|
|
178
166
|
Lint/DuplicateMagicComment: # new in 1.37
|
|
@@ -227,24 +215,6 @@ Style/RedundantRegexpConstructor: # new in 1.52
|
|
|
227
215
|
Enabled: true
|
|
228
216
|
Style/RedundantStringEscape: # new in 1.37
|
|
229
217
|
Enabled: true
|
|
230
|
-
Capybara/MatchStyle: # new in 2.17
|
|
231
|
-
Enabled: true
|
|
232
|
-
Capybara/NegationMatcher: # new in 2.14
|
|
233
|
-
Enabled: true
|
|
234
|
-
Capybara/SpecificActions: # new in 2.14
|
|
235
|
-
Enabled: true
|
|
236
|
-
Capybara/SpecificFinders: # new in 2.13
|
|
237
|
-
Enabled: true
|
|
238
|
-
FactoryBot/AssociationStyle: # new in 2.23
|
|
239
|
-
Enabled: true
|
|
240
|
-
FactoryBot/ConsistentParenthesesStyle: # new in 2.14
|
|
241
|
-
Enabled: true
|
|
242
|
-
FactoryBot/FactoryAssociationWithStrategy: # new in 2.23
|
|
243
|
-
Enabled: true
|
|
244
|
-
FactoryBot/FactoryNameStyle: # new in 2.16
|
|
245
|
-
Enabled: true
|
|
246
|
-
FactoryBot/RedundantFactoryOption: # new in 2.23
|
|
247
|
-
Enabled: true
|
|
248
218
|
RSpec/BeEmpty: # new in 2.20
|
|
249
219
|
Enabled: true
|
|
250
220
|
RSpec/ContainExactly: # new in 2.19
|
|
@@ -265,9 +235,81 @@ RSpec/SkipBlockInsideExample: # new in 2.19
|
|
|
265
235
|
Enabled: true
|
|
266
236
|
RSpec/SortMetadata: # new in 2.14
|
|
267
237
|
Enabled: true
|
|
268
|
-
|
|
238
|
+
Gemspec/AddRuntimeDependency: # new in 1.65
|
|
239
|
+
Enabled: true
|
|
240
|
+
Lint/ArrayLiteralInRegexp: # new in 1.71
|
|
241
|
+
Enabled: true
|
|
242
|
+
Lint/ConstantReassignment: # new in 1.70
|
|
243
|
+
Enabled: true
|
|
244
|
+
Lint/CopDirectiveSyntax: # new in 1.72
|
|
245
|
+
Enabled: true
|
|
246
|
+
Lint/DuplicateSetElement: # new in 1.67
|
|
247
|
+
Enabled: true
|
|
248
|
+
Lint/HashNewWithKeywordArgumentsAsDefault: # new in 1.69
|
|
249
|
+
Enabled: true
|
|
250
|
+
Lint/ItWithoutArgumentsInBlock: # new in 1.59
|
|
251
|
+
Enabled: true
|
|
252
|
+
Lint/LiteralAssignmentInCondition: # new in 1.58
|
|
253
|
+
Enabled: true
|
|
254
|
+
Lint/MixedCaseRange: # new in 1.53
|
|
255
|
+
Enabled: true
|
|
256
|
+
Lint/NumericOperationWithConstantResult: # new in 1.69
|
|
257
|
+
Enabled: true
|
|
258
|
+
Lint/RedundantRegexpQuantifiers: # new in 1.53
|
|
259
|
+
Enabled: true
|
|
260
|
+
Lint/RedundantTypeConversion: # new in 1.72
|
|
261
|
+
Enabled: true
|
|
262
|
+
Lint/SharedMutableDefault: # new in 1.70
|
|
263
|
+
Enabled: true
|
|
264
|
+
Lint/SuppressedExceptionInNumberConversion: # new in 1.72
|
|
265
|
+
Enabled: true
|
|
266
|
+
Lint/UnescapedBracketInRegexp: # new in 1.68
|
|
267
|
+
Enabled: true
|
|
268
|
+
Lint/UselessConstantScoping: # new in 1.72
|
|
269
|
+
Enabled: true
|
|
270
|
+
Lint/UselessDefined: # new in 1.69
|
|
271
|
+
Enabled: true
|
|
272
|
+
Lint/UselessNumericOperation: # new in 1.66
|
|
273
|
+
Enabled: true
|
|
274
|
+
Style/AmbiguousEndlessMethodDefinition: # new in 1.68
|
|
275
|
+
Enabled: true
|
|
276
|
+
Style/BitwisePredicate: # new in 1.68
|
|
277
|
+
Enabled: true
|
|
278
|
+
Style/CombinableDefined: # new in 1.68
|
|
279
|
+
Enabled: true
|
|
280
|
+
Style/DigChain: # new in 1.69
|
|
281
|
+
Enabled: true
|
|
282
|
+
Style/FileNull: # new in 1.69
|
|
283
|
+
Enabled: true
|
|
284
|
+
Style/FileTouch: # new in 1.69
|
|
285
|
+
Enabled: true
|
|
286
|
+
Style/HashSlice: # new in 1.71
|
|
287
|
+
Enabled: true
|
|
288
|
+
Style/ItAssignment: # new in 1.70
|
|
289
|
+
Enabled: true
|
|
290
|
+
Style/KeywordArgumentsMerging: # new in 1.68
|
|
291
|
+
Enabled: true
|
|
292
|
+
Style/MapIntoArray: # new in 1.63
|
|
293
|
+
Enabled: true
|
|
294
|
+
Style/RedundantCurrentDirectoryInPath: # new in 1.53
|
|
295
|
+
Enabled: true
|
|
296
|
+
Style/RedundantFormat: # new in 1.72
|
|
297
|
+
Enabled: true
|
|
298
|
+
Style/RedundantInterpolationUnfreeze: # new in 1.66
|
|
299
|
+
Enabled: true
|
|
300
|
+
Style/RedundantRegexpArgument: # new in 1.53
|
|
301
|
+
Enabled: true
|
|
302
|
+
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
|
|
303
|
+
Enabled: true
|
|
304
|
+
Style/SafeNavigationChainLength: # new in 1.68
|
|
305
|
+
Enabled: true
|
|
306
|
+
Style/SendWithLiteralMethodName: # new in 1.64
|
|
307
|
+
Enabled: true
|
|
308
|
+
Style/SingleLineDoEndBlock: # new in 1.57
|
|
309
|
+
Enabled: true
|
|
310
|
+
Style/SuperArguments: # new in 1.64
|
|
311
|
+
Enabled: true
|
|
312
|
+
Style/SuperWithArgsParentheses: # new in 1.58
|
|
269
313
|
Enabled: true
|
|
270
|
-
|
|
314
|
+
Style/YAMLFileRead: # new in 1.53
|
|
271
315
|
Enabled: true
|
|
272
|
-
RSpec/Rails/TravelAround: # new in 2.19
|
|
273
|
-
Enabled: true
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
dor-event-client (1.
|
|
4
|
+
dor-event-client (1.2.0)
|
|
5
5
|
activesupport (>= 4.2)
|
|
6
6
|
bunny (~> 2.17)
|
|
7
7
|
zeitwerk (~> 2.1)
|
|
@@ -9,105 +9,103 @@ PATH
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
activesupport (8.
|
|
12
|
+
activesupport (8.1.1)
|
|
13
13
|
base64
|
|
14
|
-
benchmark (>= 0.3)
|
|
15
14
|
bigdecimal
|
|
16
15
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
17
16
|
connection_pool (>= 2.2.5)
|
|
18
17
|
drb
|
|
19
18
|
i18n (>= 1.6, < 2)
|
|
19
|
+
json
|
|
20
20
|
logger (>= 1.4.2)
|
|
21
21
|
minitest (>= 5.1)
|
|
22
22
|
securerandom (>= 0.3)
|
|
23
23
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
24
24
|
uri (>= 0.13.1)
|
|
25
|
-
amq-protocol (2.3.
|
|
26
|
-
ast (2.4.
|
|
27
|
-
base64 (0.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
amq-protocol (~> 2.3, >= 2.3.1)
|
|
25
|
+
amq-protocol (2.3.4)
|
|
26
|
+
ast (2.4.3)
|
|
27
|
+
base64 (0.3.0)
|
|
28
|
+
bigdecimal (4.0.1)
|
|
29
|
+
bunny (2.24.0)
|
|
30
|
+
amq-protocol (~> 2.3)
|
|
32
31
|
sorted_set (~> 1, >= 1.0.2)
|
|
33
|
-
byebug (
|
|
34
|
-
concurrent-ruby (1.3.
|
|
35
|
-
connection_pool (
|
|
36
|
-
diff-lcs (1.
|
|
32
|
+
byebug (12.0.0)
|
|
33
|
+
concurrent-ruby (1.3.6)
|
|
34
|
+
connection_pool (3.0.2)
|
|
35
|
+
diff-lcs (1.6.2)
|
|
37
36
|
docile (1.4.1)
|
|
38
|
-
drb (2.2.
|
|
39
|
-
i18n (1.14.
|
|
37
|
+
drb (2.2.3)
|
|
38
|
+
i18n (1.14.8)
|
|
40
39
|
concurrent-ruby (~> 1.0)
|
|
41
|
-
json (2.
|
|
42
|
-
language_server-protocol (3.17.0.
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
json (2.18.0)
|
|
41
|
+
language_server-protocol (3.17.0.5)
|
|
42
|
+
lint_roller (1.1.0)
|
|
43
|
+
logger (1.7.0)
|
|
44
|
+
minitest (6.0.1)
|
|
45
|
+
prism (~> 1.5)
|
|
46
|
+
parallel (1.27.0)
|
|
47
|
+
parser (3.3.10.0)
|
|
47
48
|
ast (~> 2.4.1)
|
|
48
49
|
racc
|
|
50
|
+
prism (1.7.0)
|
|
49
51
|
racc (1.8.1)
|
|
50
52
|
rainbow (3.1.1)
|
|
51
|
-
rake (13.
|
|
53
|
+
rake (13.3.1)
|
|
52
54
|
rbtree (0.4.6)
|
|
53
|
-
regexp_parser (2.
|
|
54
|
-
rspec (3.13.
|
|
55
|
+
regexp_parser (2.11.3)
|
|
56
|
+
rspec (3.13.2)
|
|
55
57
|
rspec-core (~> 3.13.0)
|
|
56
58
|
rspec-expectations (~> 3.13.0)
|
|
57
59
|
rspec-mocks (~> 3.13.0)
|
|
58
|
-
rspec-core (3.13.
|
|
60
|
+
rspec-core (3.13.6)
|
|
59
61
|
rspec-support (~> 3.13.0)
|
|
60
|
-
rspec-expectations (3.13.
|
|
62
|
+
rspec-expectations (3.13.5)
|
|
61
63
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
62
64
|
rspec-support (~> 3.13.0)
|
|
63
|
-
rspec-mocks (3.13.
|
|
65
|
+
rspec-mocks (3.13.7)
|
|
64
66
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
65
67
|
rspec-support (~> 3.13.0)
|
|
66
|
-
rspec-support (3.13.
|
|
67
|
-
rubocop (1.
|
|
68
|
+
rspec-support (3.13.6)
|
|
69
|
+
rubocop (1.82.1)
|
|
68
70
|
json (~> 2.3)
|
|
69
|
-
language_server-protocol (
|
|
71
|
+
language_server-protocol (~> 3.17.0.2)
|
|
72
|
+
lint_roller (~> 1.1.0)
|
|
70
73
|
parallel (~> 1.10)
|
|
71
74
|
parser (>= 3.3.0.2)
|
|
72
75
|
rainbow (>= 2.2.2, < 4.0)
|
|
73
76
|
regexp_parser (>= 2.9.3, < 3.0)
|
|
74
|
-
rubocop-ast (>= 1.
|
|
77
|
+
rubocop-ast (>= 1.48.0, < 2.0)
|
|
75
78
|
ruby-progressbar (~> 1.7)
|
|
76
79
|
unicode-display_width (>= 2.4.0, < 4.0)
|
|
77
|
-
rubocop-ast (1.
|
|
78
|
-
parser (>= 3.3.
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
rubocop (~> 1.
|
|
83
|
-
rubocop-rspec (2.31.0)
|
|
84
|
-
rubocop (~> 1.40)
|
|
85
|
-
rubocop-capybara (~> 2.17)
|
|
86
|
-
rubocop-factory_bot (~> 2.22)
|
|
87
|
-
rubocop-rspec_rails (~> 2.28)
|
|
88
|
-
rubocop-rspec_rails (2.29.1)
|
|
89
|
-
rubocop (~> 1.61)
|
|
80
|
+
rubocop-ast (1.49.0)
|
|
81
|
+
parser (>= 3.3.7.2)
|
|
82
|
+
prism (~> 1.7)
|
|
83
|
+
rubocop-rspec (3.8.0)
|
|
84
|
+
lint_roller (~> 1.1)
|
|
85
|
+
rubocop (~> 1.81)
|
|
90
86
|
ruby-progressbar (1.13.0)
|
|
91
87
|
securerandom (0.4.1)
|
|
92
|
-
set (1.1.
|
|
88
|
+
set (1.1.2)
|
|
93
89
|
simplecov (0.22.0)
|
|
94
90
|
docile (~> 1.1)
|
|
95
91
|
simplecov-html (~> 0.11)
|
|
96
92
|
simplecov_json_formatter (~> 0.1)
|
|
97
|
-
simplecov-html (0.13.
|
|
93
|
+
simplecov-html (0.13.2)
|
|
98
94
|
simplecov_json_formatter (0.1.4)
|
|
99
95
|
sorted_set (1.0.3)
|
|
100
96
|
rbtree
|
|
101
97
|
set (~> 1.0)
|
|
102
98
|
tzinfo (2.0.6)
|
|
103
99
|
concurrent-ruby (~> 1.0)
|
|
104
|
-
unicode-display_width (3.
|
|
105
|
-
unicode-emoji (~> 4.
|
|
106
|
-
unicode-emoji (4.0
|
|
107
|
-
uri (1.
|
|
108
|
-
zeitwerk (2.7.
|
|
100
|
+
unicode-display_width (3.2.0)
|
|
101
|
+
unicode-emoji (~> 4.1)
|
|
102
|
+
unicode-emoji (4.2.0)
|
|
103
|
+
uri (1.1.1)
|
|
104
|
+
zeitwerk (2.7.4)
|
|
109
105
|
|
|
110
106
|
PLATFORMS
|
|
107
|
+
arm64-darwin-23
|
|
108
|
+
arm64-darwin-24
|
|
111
109
|
x86_64-darwin-20
|
|
112
110
|
x86_64-darwin-22
|
|
113
111
|
x86_64-linux
|
|
@@ -119,8 +117,8 @@ DEPENDENCIES
|
|
|
119
117
|
rake (>= 12.3.3)
|
|
120
118
|
rspec (~> 3.0)
|
|
121
119
|
rubocop (~> 1.0)
|
|
122
|
-
rubocop-rspec
|
|
120
|
+
rubocop-rspec
|
|
123
121
|
simplecov
|
|
124
122
|
|
|
125
123
|
BUNDLED WITH
|
|
126
|
-
|
|
124
|
+
4.0.3
|
data/dor-event-client.gemspec
CHANGED
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.bindir = 'exe'
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
23
23
|
spec.require_paths = ['lib']
|
|
24
|
-
spec.required_ruby_version = '>= 3.0', '<
|
|
24
|
+
spec.required_ruby_version = '>= 3.0', '< 5'
|
|
25
25
|
|
|
26
26
|
spec.add_dependency 'activesupport', '>= 4.2'
|
|
27
27
|
spec.add_dependency 'bunny', '~> 2.17' # Send messages to RabbitMQ
|
|
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
|
|
|
32
32
|
spec.add_development_dependency 'rake', '>= 12.3.3'
|
|
33
33
|
spec.add_development_dependency 'rspec', '~> 3.0'
|
|
34
34
|
spec.add_development_dependency 'rubocop', '~> 1.0'
|
|
35
|
-
spec.add_development_dependency 'rubocop-rspec'
|
|
35
|
+
spec.add_development_dependency 'rubocop-rspec'
|
|
36
36
|
spec.add_development_dependency 'simplecov'
|
|
37
37
|
spec.metadata['rubygems_mfa_required'] = 'true'
|
|
38
38
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dor-event-client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Justin Coyne
|
|
8
8
|
- Michael Giarlo
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -126,16 +126,16 @@ dependencies:
|
|
|
126
126
|
name: rubocop-rspec
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
|
-
- - "
|
|
129
|
+
- - ">="
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: '
|
|
131
|
+
version: '0'
|
|
132
132
|
type: :development
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
|
-
- - "
|
|
136
|
+
- - ">="
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: '
|
|
138
|
+
version: '0'
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
140
|
name: simplecov
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -187,14 +187,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
187
187
|
version: '3.0'
|
|
188
188
|
- - "<"
|
|
189
189
|
- !ruby/object:Gem::Version
|
|
190
|
-
version: '
|
|
190
|
+
version: '5'
|
|
191
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
192
192
|
requirements:
|
|
193
193
|
- - ">="
|
|
194
194
|
- !ruby/object:Gem::Version
|
|
195
195
|
version: '0'
|
|
196
196
|
requirements: []
|
|
197
|
-
rubygems_version: 3.6.
|
|
197
|
+
rubygems_version: 3.6.9
|
|
198
198
|
specification_version: 4
|
|
199
199
|
summary: A client for event services provided by DOR Services App
|
|
200
200
|
test_files: []
|