dor-event-client 1.0.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 +2 -1
- data/.rubocop.yml +162 -11
- data/Gemfile +1 -1
- data/Gemfile.lock +81 -51
- data/README.md +4 -5
- data/dor-event-client.gemspec +3 -3
- data/lib/dor/event/client/version.rb +1 -1
- data/lib/dor/event/client.rb +2 -1
- metadata +8 -18
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
|
-
RSpec/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,9 +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
|
-
Gemspec/DateAssignment: # new in 1.10
|
|
156
|
-
Enabled: true
|
|
157
148
|
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
|
|
158
149
|
Enabled: true
|
|
159
150
|
Style/EnvHome: # new in 1.29
|
|
@@ -161,4 +152,164 @@ Style/EnvHome: # new in 1.29
|
|
|
161
152
|
Style/MapCompactWithConditionalBlock: # new in 1.30
|
|
162
153
|
Enabled: true
|
|
163
154
|
RSpec/ChangeByZero: # new in 2.11.0
|
|
164
|
-
Enabled: true
|
|
155
|
+
Enabled: true
|
|
156
|
+
Layout/LineContinuationLeadingSpace: # new in 1.31
|
|
157
|
+
Enabled: true
|
|
158
|
+
Layout/LineContinuationSpacing: # new in 1.31
|
|
159
|
+
Enabled: true
|
|
160
|
+
Lint/ConstantOverwrittenInRescue: # new in 1.31
|
|
161
|
+
Enabled: true
|
|
162
|
+
Lint/NonAtomicFileOperation: # new in 1.31
|
|
163
|
+
Enabled: true
|
|
164
|
+
Gemspec/DevelopmentDependencies: # new in 1.44
|
|
165
|
+
Enabled: false
|
|
166
|
+
Lint/DuplicateMagicComment: # new in 1.37
|
|
167
|
+
Enabled: true
|
|
168
|
+
Lint/DuplicateMatchPattern: # new in 1.50
|
|
169
|
+
Enabled: true
|
|
170
|
+
Lint/RequireRangeParentheses: # new in 1.32
|
|
171
|
+
Enabled: true
|
|
172
|
+
Lint/UselessRescue: # new in 1.43
|
|
173
|
+
Enabled: true
|
|
174
|
+
Metrics/CollectionLiteralLength: # new in 1.47
|
|
175
|
+
Enabled: true
|
|
176
|
+
Style/ArrayIntersect: # new in 1.40
|
|
177
|
+
Enabled: true
|
|
178
|
+
Style/ComparableClamp: # new in 1.44
|
|
179
|
+
Enabled: true
|
|
180
|
+
Style/ConcatArrayLiterals: # new in 1.41
|
|
181
|
+
Enabled: true
|
|
182
|
+
Style/DataInheritance: # new in 1.49
|
|
183
|
+
Enabled: true
|
|
184
|
+
Style/DirEmpty: # new in 1.48
|
|
185
|
+
Enabled: true
|
|
186
|
+
Style/EmptyHeredoc: # new in 1.32
|
|
187
|
+
Enabled: true
|
|
188
|
+
Style/ExactRegexpMatch: # new in 1.51
|
|
189
|
+
Enabled: true
|
|
190
|
+
Style/FileEmpty: # new in 1.48
|
|
191
|
+
Enabled: true
|
|
192
|
+
Style/MagicCommentFormat: # new in 1.35
|
|
193
|
+
Enabled: true
|
|
194
|
+
Style/MapToSet: # new in 1.42
|
|
195
|
+
Enabled: true
|
|
196
|
+
Style/MinMaxComparison: # new in 1.42
|
|
197
|
+
Enabled: true
|
|
198
|
+
Style/OperatorMethodCall: # new in 1.37
|
|
199
|
+
Enabled: true
|
|
200
|
+
Style/RedundantArrayConstructor: # new in 1.52
|
|
201
|
+
Enabled: true
|
|
202
|
+
Style/RedundantConstantBase: # new in 1.40
|
|
203
|
+
Enabled: true
|
|
204
|
+
Style/RedundantDoubleSplatHashBraces: # new in 1.41
|
|
205
|
+
Enabled: true
|
|
206
|
+
Style/RedundantEach: # new in 1.38
|
|
207
|
+
Enabled: true
|
|
208
|
+
Style/RedundantFilterChain: # new in 1.52
|
|
209
|
+
Enabled: true
|
|
210
|
+
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
|
|
211
|
+
Enabled: true
|
|
212
|
+
Style/RedundantLineContinuation: # new in 1.49
|
|
213
|
+
Enabled: true
|
|
214
|
+
Style/RedundantRegexpConstructor: # new in 1.52
|
|
215
|
+
Enabled: true
|
|
216
|
+
Style/RedundantStringEscape: # new in 1.37
|
|
217
|
+
Enabled: true
|
|
218
|
+
RSpec/BeEmpty: # new in 2.20
|
|
219
|
+
Enabled: true
|
|
220
|
+
RSpec/ContainExactly: # new in 2.19
|
|
221
|
+
Enabled: true
|
|
222
|
+
RSpec/DuplicatedMetadata: # new in 2.16
|
|
223
|
+
Enabled: true
|
|
224
|
+
RSpec/IndexedLet: # new in 2.20
|
|
225
|
+
Enabled: true
|
|
226
|
+
RSpec/MatchArray: # new in 2.19
|
|
227
|
+
Enabled: true
|
|
228
|
+
RSpec/NoExpectationExample: # new in 2.13
|
|
229
|
+
Enabled: true
|
|
230
|
+
RSpec/PendingWithoutReason: # new in 2.16
|
|
231
|
+
Enabled: true
|
|
232
|
+
RSpec/RedundantAround: # new in 2.19
|
|
233
|
+
Enabled: true
|
|
234
|
+
RSpec/SkipBlockInsideExample: # new in 2.19
|
|
235
|
+
Enabled: true
|
|
236
|
+
RSpec/SortMetadata: # new in 2.14
|
|
237
|
+
Enabled: true
|
|
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
|
|
313
|
+
Enabled: true
|
|
314
|
+
Style/YAMLFileRead: # new in 1.53
|
|
315
|
+
Enabled: true
|
data/Gemfile
CHANGED
|
@@ -6,5 +6,5 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
|
6
6
|
|
|
7
7
|
gem 'activesupport', ENV.fetch('RAILS_VERSION', nil) if ENV['RAILS_VERSION']
|
|
8
8
|
|
|
9
|
-
# Specify your gem's dependencies in dor-
|
|
9
|
+
# Specify your gem's dependencies in dor-event-client.gemspec
|
|
10
10
|
gemspec
|
data/Gemfile.lock
CHANGED
|
@@ -1,83 +1,113 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
dor-event-client (1.
|
|
5
|
-
activesupport (>= 4.2
|
|
4
|
+
dor-event-client (1.2.0)
|
|
5
|
+
activesupport (>= 4.2)
|
|
6
6
|
bunny (~> 2.17)
|
|
7
7
|
zeitwerk (~> 2.1)
|
|
8
8
|
|
|
9
9
|
GEM
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
|
-
activesupport (
|
|
13
|
-
|
|
12
|
+
activesupport (8.1.1)
|
|
13
|
+
base64
|
|
14
|
+
bigdecimal
|
|
15
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
16
|
+
connection_pool (>= 2.2.5)
|
|
17
|
+
drb
|
|
14
18
|
i18n (>= 1.6, < 2)
|
|
19
|
+
json
|
|
20
|
+
logger (>= 1.4.2)
|
|
15
21
|
minitest (>= 5.1)
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
securerandom (>= 0.3)
|
|
23
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
24
|
+
uri (>= 0.13.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)
|
|
21
31
|
sorted_set (~> 1, >= 1.0.2)
|
|
22
|
-
byebug (
|
|
23
|
-
concurrent-ruby (1.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
32
|
+
byebug (12.0.0)
|
|
33
|
+
concurrent-ruby (1.3.6)
|
|
34
|
+
connection_pool (3.0.2)
|
|
35
|
+
diff-lcs (1.6.2)
|
|
36
|
+
docile (1.4.1)
|
|
37
|
+
drb (2.2.3)
|
|
38
|
+
i18n (1.14.8)
|
|
27
39
|
concurrent-ruby (~> 1.0)
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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)
|
|
31
48
|
ast (~> 2.4.1)
|
|
49
|
+
racc
|
|
50
|
+
prism (1.7.0)
|
|
51
|
+
racc (1.8.1)
|
|
32
52
|
rainbow (3.1.1)
|
|
33
|
-
rake (13.
|
|
34
|
-
rbtree (0.4.
|
|
35
|
-
regexp_parser (2.
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
rspec-
|
|
39
|
-
rspec-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
rspec-expectations (3.11.0)
|
|
53
|
+
rake (13.3.1)
|
|
54
|
+
rbtree (0.4.6)
|
|
55
|
+
regexp_parser (2.11.3)
|
|
56
|
+
rspec (3.13.2)
|
|
57
|
+
rspec-core (~> 3.13.0)
|
|
58
|
+
rspec-expectations (~> 3.13.0)
|
|
59
|
+
rspec-mocks (~> 3.13.0)
|
|
60
|
+
rspec-core (3.13.6)
|
|
61
|
+
rspec-support (~> 3.13.0)
|
|
62
|
+
rspec-expectations (3.13.5)
|
|
44
63
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
45
|
-
rspec-support (~> 3.
|
|
46
|
-
rspec-mocks (3.
|
|
64
|
+
rspec-support (~> 3.13.0)
|
|
65
|
+
rspec-mocks (3.13.7)
|
|
47
66
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
48
|
-
rspec-support (~> 3.
|
|
49
|
-
rspec-support (3.
|
|
50
|
-
rubocop (1.
|
|
67
|
+
rspec-support (~> 3.13.0)
|
|
68
|
+
rspec-support (3.13.6)
|
|
69
|
+
rubocop (1.82.1)
|
|
70
|
+
json (~> 2.3)
|
|
71
|
+
language_server-protocol (~> 3.17.0.2)
|
|
72
|
+
lint_roller (~> 1.1.0)
|
|
51
73
|
parallel (~> 1.10)
|
|
52
|
-
parser (>= 3.
|
|
74
|
+
parser (>= 3.3.0.2)
|
|
53
75
|
rainbow (>= 2.2.2, < 4.0)
|
|
54
|
-
regexp_parser (>=
|
|
55
|
-
|
|
56
|
-
rubocop-ast (>= 1.18.0, < 2.0)
|
|
76
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
77
|
+
rubocop-ast (>= 1.48.0, < 2.0)
|
|
57
78
|
ruby-progressbar (~> 1.7)
|
|
58
|
-
unicode-display_width (>=
|
|
59
|
-
rubocop-ast (1.
|
|
60
|
-
parser (>= 3.
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
79
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
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)
|
|
86
|
+
ruby-progressbar (1.13.0)
|
|
87
|
+
securerandom (0.4.1)
|
|
88
|
+
set (1.1.2)
|
|
89
|
+
simplecov (0.22.0)
|
|
66
90
|
docile (~> 1.1)
|
|
67
91
|
simplecov-html (~> 0.11)
|
|
68
92
|
simplecov_json_formatter (~> 0.1)
|
|
69
|
-
simplecov-html (0.
|
|
93
|
+
simplecov-html (0.13.2)
|
|
70
94
|
simplecov_json_formatter (0.1.4)
|
|
71
95
|
sorted_set (1.0.3)
|
|
72
96
|
rbtree
|
|
73
97
|
set (~> 1.0)
|
|
74
|
-
tzinfo (2.0.
|
|
98
|
+
tzinfo (2.0.6)
|
|
75
99
|
concurrent-ruby (~> 1.0)
|
|
76
|
-
unicode-display_width (2.
|
|
77
|
-
|
|
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)
|
|
78
105
|
|
|
79
106
|
PLATFORMS
|
|
107
|
+
arm64-darwin-23
|
|
108
|
+
arm64-darwin-24
|
|
80
109
|
x86_64-darwin-20
|
|
110
|
+
x86_64-darwin-22
|
|
81
111
|
x86_64-linux
|
|
82
112
|
|
|
83
113
|
DEPENDENCIES
|
|
@@ -87,8 +117,8 @@ DEPENDENCIES
|
|
|
87
117
|
rake (>= 12.3.3)
|
|
88
118
|
rspec (~> 3.0)
|
|
89
119
|
rubocop (~> 1.0)
|
|
90
|
-
rubocop-rspec
|
|
120
|
+
rubocop-rspec
|
|
91
121
|
simplecov
|
|
92
122
|
|
|
93
123
|
BUNDLED WITH
|
|
94
|
-
|
|
124
|
+
4.0.3
|
data/README.md
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
[](https://badge.fury.io/rb/dor-event-client)
|
|
2
2
|
[](https://circleci.com/gh/sul-dlss/dor-event-client)
|
|
3
|
-
[](https://codeclimate.com/github/sul-dlss/dorevent-client/coverage)
|
|
3
|
+
[](https://codecov.io/github/sul-dlss/dor-event-client)
|
|
5
4
|
|
|
6
5
|
# Dor::Event::Client
|
|
7
6
|
|
|
8
7
|
Dor::Event::Client is a Ruby gem that acts as a client for the event services provided by [dor-services-app](https://github.com/sul-dlss/dor-services-app).
|
|
9
8
|
|
|
10
|
-
Currently, the client only supports the asynchronous creation of events (via RabbitMQ). In the future, other operations
|
|
9
|
+
Currently, the client only supports the asynchronous creation of events (via RabbitMQ). In the future, other operations
|
|
11
10
|
(including synchronous operations via HTTP) may be supported. At present, additional event operations are supported by
|
|
12
11
|
[dor-services-client](https://github.com/sul-dlss/dor-services-client).
|
|
13
12
|
|
|
@@ -49,8 +48,8 @@ Dor::Event::Client.create(druid:, type:, data:)
|
|
|
49
48
|
|
|
50
49
|
# For example:
|
|
51
50
|
Dor::Event::Client.create(
|
|
52
|
-
druid: 'druid:bb408qn5061',
|
|
53
|
-
type: 'druid_version_replicated',
|
|
51
|
+
druid: 'druid:bb408qn5061',
|
|
52
|
+
type: 'druid_version_replicated',
|
|
54
53
|
data {
|
|
55
54
|
host: 'preservation-catalog-qa-02.stanford.edu',
|
|
56
55
|
version: 19,
|
data/dor-event-client.gemspec
CHANGED
|
@@ -21,9 +21,9 @@ 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
|
-
spec.add_dependency 'activesupport', '>= 4.2'
|
|
26
|
+
spec.add_dependency 'activesupport', '>= 4.2'
|
|
27
27
|
spec.add_dependency 'bunny', '~> 2.17' # Send messages to RabbitMQ
|
|
28
28
|
spec.add_dependency 'zeitwerk', '~> 2.1'
|
|
29
29
|
|
|
@@ -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
|
data/lib/dor/event/client.rb
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
+
require 'active_support'
|
|
3
4
|
require 'active_support/core_ext/module/delegation'
|
|
4
|
-
require 'active_support/json'
|
|
5
5
|
require 'active_support/core_ext/object/json'
|
|
6
|
+
require 'active_support/json'
|
|
6
7
|
require 'bunny'
|
|
7
8
|
require 'singleton'
|
|
8
9
|
require 'zeitwerk'
|
metadata
CHANGED
|
@@ -1,15 +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
|
-
autorequire:
|
|
10
9
|
bindir: exe
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: activesupport
|
|
@@ -18,9 +17,6 @@ dependencies:
|
|
|
18
17
|
- - ">="
|
|
19
18
|
- !ruby/object:Gem::Version
|
|
20
19
|
version: '4.2'
|
|
21
|
-
- - "<"
|
|
22
|
-
- !ruby/object:Gem::Version
|
|
23
|
-
version: '8'
|
|
24
20
|
type: :runtime
|
|
25
21
|
prerelease: false
|
|
26
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,9 +24,6 @@ dependencies:
|
|
|
28
24
|
- - ">="
|
|
29
25
|
- !ruby/object:Gem::Version
|
|
30
26
|
version: '4.2'
|
|
31
|
-
- - "<"
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '8'
|
|
34
27
|
- !ruby/object:Gem::Dependency
|
|
35
28
|
name: bunny
|
|
36
29
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -133,16 +126,16 @@ dependencies:
|
|
|
133
126
|
name: rubocop-rspec
|
|
134
127
|
requirement: !ruby/object:Gem::Requirement
|
|
135
128
|
requirements:
|
|
136
|
-
- - "
|
|
129
|
+
- - ">="
|
|
137
130
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: '
|
|
131
|
+
version: '0'
|
|
139
132
|
type: :development
|
|
140
133
|
prerelease: false
|
|
141
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
142
135
|
requirements:
|
|
143
|
-
- - "
|
|
136
|
+
- - ">="
|
|
144
137
|
- !ruby/object:Gem::Version
|
|
145
|
-
version: '
|
|
138
|
+
version: '0'
|
|
146
139
|
- !ruby/object:Gem::Dependency
|
|
147
140
|
name: simplecov
|
|
148
141
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -157,7 +150,6 @@ dependencies:
|
|
|
157
150
|
- - ">="
|
|
158
151
|
- !ruby/object:Gem::Version
|
|
159
152
|
version: '0'
|
|
160
|
-
description:
|
|
161
153
|
email:
|
|
162
154
|
- jcoyne@justincoyne.com
|
|
163
155
|
- leftwing@alumni.rutgers.edu
|
|
@@ -185,7 +177,6 @@ homepage: https://github.com/sul-dlss/event-client
|
|
|
185
177
|
licenses: []
|
|
186
178
|
metadata:
|
|
187
179
|
rubygems_mfa_required: 'true'
|
|
188
|
-
post_install_message:
|
|
189
180
|
rdoc_options: []
|
|
190
181
|
require_paths:
|
|
191
182
|
- lib
|
|
@@ -196,15 +187,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
196
187
|
version: '3.0'
|
|
197
188
|
- - "<"
|
|
198
189
|
- !ruby/object:Gem::Version
|
|
199
|
-
version: '
|
|
190
|
+
version: '5'
|
|
200
191
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
192
|
requirements:
|
|
202
193
|
- - ">="
|
|
203
194
|
- !ruby/object:Gem::Version
|
|
204
195
|
version: '0'
|
|
205
196
|
requirements: []
|
|
206
|
-
rubygems_version: 3.
|
|
207
|
-
signing_key:
|
|
197
|
+
rubygems_version: 3.6.9
|
|
208
198
|
specification_version: 4
|
|
209
199
|
summary: A client for event services provided by DOR Services App
|
|
210
200
|
test_files: []
|