rubydora 1.8.1 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/.rubocop.yml +1 -0
- data/.rubocop_todo.yml +573 -0
- data/.travis.yml +6 -6
- data/Gemfile +2 -3
- data/README.md +86 -0
- data/Rakefile +22 -25
- data/VERSION +1 -1
- data/lib/rubydora.rb +3 -6
- data/lib/rubydora/array_with_callback.rb +4 -4
- data/lib/rubydora/audit_trail.rb +7 -7
- data/lib/rubydora/callbacks.rb +9 -9
- data/lib/rubydora/datastream.rb +43 -39
- data/lib/rubydora/digital_object.rb +31 -33
- data/lib/rubydora/fc3_service.rb +10 -14
- data/lib/rubydora/fedora_url_helpers.rb +21 -22
- data/lib/rubydora/models_mixin.rb +4 -4
- data/lib/rubydora/profile_parser.rb +8 -8
- data/lib/rubydora/relationships_mixin.rb +15 -16
- data/lib/rubydora/repository.rb +11 -11
- data/lib/rubydora/resource_index.rb +10 -14
- data/lib/rubydora/rest_api_client.rb +52 -53
- data/lib/rubydora/transactions.rb +42 -51
- data/rubydora.gemspec +25 -25
- data/spec/audit_trail_spec.rb +1 -1
- data/spec/lib/datastream_spec.rb +34 -32
- data/spec/lib/digital_object_spec.rb +13 -10
- data/spec/lib/integration_test_spec.rb +116 -119
- data/spec/lib/profile_parser_spec.rb +1 -1
- data/spec/lib/repository_spec.rb +5 -5
- data/spec/lib/rest_api_client_spec.rb +60 -66
- data/spec/lib/transactions_spec.rb +4 -6
- data/spec/spec_helper.rb +2 -9
- metadata +30 -31
- data/.gitmodules +0 -0
- data/README.rdoc +0 -79
- data/gemfiles/gemfile.rails3 +0 -11
- data/gemfiles/gemfile.rails4 +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f24c21b3c760c87532d624bd0c6eb5b206aad9cc
|
4
|
+
data.tar.gz: c1cb5e06c06ae1216a6769973bd2192dc7177402
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 501cdd7d6659172cf53ce30bd8206897d97ff0bd394c186c093d35279e973f06bc19c530152182f48ed1e4a8c0c3bd5421efd9cae08b992f4e442a857fc622fb
|
7
|
+
data.tar.gz: af1cbc4d7f91c7c1cd2a799c02bd52e559e628869af1c0d6f7c8e15c91da8f9c0549cfb3bec84616873228de37c21dfedc69b35f245fad48e453a811a7911aa0
|
data/.rspec
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--color
|
data/.rubocop.yml
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
inherit_from: .rubocop_todo.yml
|
data/.rubocop_todo.yml
ADDED
@@ -0,0 +1,573 @@
|
|
1
|
+
# This configuration was generated by
|
2
|
+
# `rubocop --auto-gen-config`
|
3
|
+
# on 2015-10-29 15:55:39 -0700 using RuboCop version 0.34.2.
|
4
|
+
# The point is for the user to remove these configuration records
|
5
|
+
# one by one as the offenses are removed from the code base.
|
6
|
+
# Note that changes in the inspected code, or installation of new
|
7
|
+
# versions of RuboCop, may require this file to be generated again.
|
8
|
+
|
9
|
+
# Offense count: 2
|
10
|
+
Lint/AmbiguousOperator:
|
11
|
+
Exclude:
|
12
|
+
- 'lib/rubydora.rb'
|
13
|
+
- 'lib/rubydora/digital_object.rb'
|
14
|
+
|
15
|
+
# Offense count: 1
|
16
|
+
# Configuration parameters: AllowSafeAssignment.
|
17
|
+
Lint/AssignmentInCondition:
|
18
|
+
Exclude:
|
19
|
+
- 'lib/rubydora/datastream.rb'
|
20
|
+
|
21
|
+
# Offense count: 4
|
22
|
+
# Cop supports --auto-correct.
|
23
|
+
Lint/BlockAlignment:
|
24
|
+
Exclude:
|
25
|
+
- 'lib/rubydora/profile_parser.rb'
|
26
|
+
- 'spec/lib/datastream_spec.rb'
|
27
|
+
|
28
|
+
# Offense count: 3
|
29
|
+
Lint/HandleExceptions:
|
30
|
+
Exclude:
|
31
|
+
- 'lib/rubydora/datastream.rb'
|
32
|
+
- 'lib/rubydora/digital_object.rb'
|
33
|
+
- 'lib/rubydora/transactions.rb'
|
34
|
+
|
35
|
+
# Offense count: 1
|
36
|
+
Lint/Loop:
|
37
|
+
Exclude:
|
38
|
+
- 'lib/rubydora/repository.rb'
|
39
|
+
|
40
|
+
# Offense count: 23
|
41
|
+
Lint/RescueException:
|
42
|
+
Exclude:
|
43
|
+
- 'lib/rubydora/rest_api_client.rb'
|
44
|
+
|
45
|
+
# Offense count: 2
|
46
|
+
Lint/ShadowingOuterLocalVariable:
|
47
|
+
Exclude:
|
48
|
+
- 'lib/rubydora/digital_object.rb'
|
49
|
+
- 'lib/rubydora/relationships_mixin.rb'
|
50
|
+
|
51
|
+
# Offense count: 19
|
52
|
+
# Cop supports --auto-correct.
|
53
|
+
Lint/StringConversionInInterpolation:
|
54
|
+
Exclude:
|
55
|
+
- 'lib/rubydora/array_with_callback.rb'
|
56
|
+
- 'lib/rubydora/datastream.rb'
|
57
|
+
- 'lib/rubydora/digital_object.rb'
|
58
|
+
- 'lib/rubydora/relationships_mixin.rb'
|
59
|
+
|
60
|
+
# Offense count: 2
|
61
|
+
Lint/UnderscorePrefixedVariableName:
|
62
|
+
Exclude:
|
63
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
64
|
+
|
65
|
+
# Offense count: 13
|
66
|
+
# Cop supports --auto-correct.
|
67
|
+
Lint/UnusedBlockArgument:
|
68
|
+
Exclude:
|
69
|
+
- 'lib/rubydora/digital_object.rb'
|
70
|
+
- 'lib/rubydora/fc3_service.rb'
|
71
|
+
- 'lib/rubydora/profile_parser.rb'
|
72
|
+
- 'lib/rubydora/rest_api_client.rb'
|
73
|
+
- 'spec/lib/digital_object_spec.rb'
|
74
|
+
- 'spec/lib/integration_test_spec.rb'
|
75
|
+
- 'spec/spec_helper.rb'
|
76
|
+
|
77
|
+
# Offense count: 5
|
78
|
+
# Cop supports --auto-correct.
|
79
|
+
Lint/UnusedMethodArgument:
|
80
|
+
Exclude:
|
81
|
+
- 'lib/rubydora/relationships_mixin.rb'
|
82
|
+
- 'lib/rubydora/repository.rb'
|
83
|
+
- 'lib/rubydora/transactions.rb'
|
84
|
+
|
85
|
+
# Offense count: 6
|
86
|
+
Lint/UselessAssignment:
|
87
|
+
Exclude:
|
88
|
+
- 'lib/rubydora/repository.rb'
|
89
|
+
- 'lib/rubydora/rest_api_client.rb'
|
90
|
+
- 'spec/lib/digital_object_spec.rb'
|
91
|
+
- 'spec/lib/integration_test_spec.rb'
|
92
|
+
- 'spec/lib/repository_spec.rb'
|
93
|
+
|
94
|
+
# Offense count: 40
|
95
|
+
Lint/Void:
|
96
|
+
Exclude:
|
97
|
+
- 'spec/audit_trail_spec.rb'
|
98
|
+
- 'spec/lib/datastream_spec.rb'
|
99
|
+
- 'spec/lib/digital_object_spec.rb'
|
100
|
+
- 'spec/lib/integration_test_spec.rb'
|
101
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
102
|
+
|
103
|
+
# Offense count: 21
|
104
|
+
Metrics/AbcSize:
|
105
|
+
Max: 47
|
106
|
+
|
107
|
+
# Offense count: 2
|
108
|
+
# Configuration parameters: CountComments.
|
109
|
+
Metrics/ClassLength:
|
110
|
+
Max: 287
|
111
|
+
|
112
|
+
# Offense count: 9
|
113
|
+
Metrics/CyclomaticComplexity:
|
114
|
+
Max: 13
|
115
|
+
|
116
|
+
# Offense count: 413
|
117
|
+
# Configuration parameters: AllowURI, URISchemes.
|
118
|
+
Metrics/LineLength:
|
119
|
+
Max: 1188
|
120
|
+
|
121
|
+
# Offense count: 23
|
122
|
+
# Configuration parameters: CountComments.
|
123
|
+
Metrics/MethodLength:
|
124
|
+
Max: 31
|
125
|
+
|
126
|
+
# Offense count: 1
|
127
|
+
# Configuration parameters: CountComments.
|
128
|
+
Metrics/ModuleLength:
|
129
|
+
Max: 318
|
130
|
+
|
131
|
+
# Offense count: 4
|
132
|
+
Metrics/PerceivedComplexity:
|
133
|
+
Max: 10
|
134
|
+
|
135
|
+
# Offense count: 1
|
136
|
+
Style/AccessorMethodName:
|
137
|
+
Exclude:
|
138
|
+
- 'lib/rubydora/rest_api_client.rb'
|
139
|
+
|
140
|
+
# Offense count: 1
|
141
|
+
# Cop supports --auto-correct.
|
142
|
+
Style/Alias:
|
143
|
+
Exclude:
|
144
|
+
- 'lib/rubydora/digital_object.rb'
|
145
|
+
|
146
|
+
# Offense count: 5
|
147
|
+
# Cop supports --auto-correct.
|
148
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
149
|
+
Style/AlignParameters:
|
150
|
+
Exclude:
|
151
|
+
- 'lib/rubydora/repository.rb'
|
152
|
+
|
153
|
+
# Offense count: 5
|
154
|
+
# Cop supports --auto-correct.
|
155
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
156
|
+
Style/BarePercentLiterals:
|
157
|
+
Exclude:
|
158
|
+
- 'lib/rubydora/callbacks.rb'
|
159
|
+
- 'lib/rubydora/datastream.rb'
|
160
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
161
|
+
|
162
|
+
# Offense count: 9
|
163
|
+
# Cop supports --auto-correct.
|
164
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
|
165
|
+
Style/BlockDelimiters:
|
166
|
+
Enabled: false
|
167
|
+
|
168
|
+
# Offense count: 15
|
169
|
+
# Cop supports --auto-correct.
|
170
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
171
|
+
Style/BracesAroundHashParameters:
|
172
|
+
Exclude:
|
173
|
+
- 'lib/rubydora/datastream.rb'
|
174
|
+
- 'lib/rubydora/digital_object.rb'
|
175
|
+
- 'lib/rubydora/fc3_service.rb'
|
176
|
+
- 'lib/rubydora/profile_parser.rb'
|
177
|
+
- 'spec/lib/datastream_spec.rb'
|
178
|
+
- 'spec/lib/digital_object_spec.rb'
|
179
|
+
|
180
|
+
# Offense count: 10
|
181
|
+
# Cop supports --auto-correct.
|
182
|
+
# Configuration parameters: IndentWhenRelativeTo, SupportedStyles, IndentOneStep.
|
183
|
+
Style/CaseIndentation:
|
184
|
+
Enabled: false
|
185
|
+
|
186
|
+
# Offense count: 1
|
187
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
188
|
+
Style/ClassAndModuleChildren:
|
189
|
+
Exclude:
|
190
|
+
- 'lib/rubydora/audit_trail.rb'
|
191
|
+
|
192
|
+
# Offense count: 1
|
193
|
+
# Cop supports --auto-correct.
|
194
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
195
|
+
Style/ClassCheck:
|
196
|
+
Exclude:
|
197
|
+
- 'lib/rubydora/datastream.rb'
|
198
|
+
|
199
|
+
# Offense count: 1
|
200
|
+
# Cop supports --auto-correct.
|
201
|
+
Style/ClosingParenthesisIndentation:
|
202
|
+
Exclude:
|
203
|
+
- 'spec/lib/datastream_spec.rb'
|
204
|
+
|
205
|
+
# Offense count: 6
|
206
|
+
# Cop supports --auto-correct.
|
207
|
+
Style/ColonMethodCall:
|
208
|
+
Exclude:
|
209
|
+
- 'lib/rubydora/fedora_url_helpers.rb'
|
210
|
+
|
211
|
+
# Offense count: 2
|
212
|
+
# Cop supports --auto-correct.
|
213
|
+
Style/DeprecatedHashMethods:
|
214
|
+
Exclude:
|
215
|
+
- 'lib/rubydora/datastream.rb'
|
216
|
+
|
217
|
+
# Offense count: 8
|
218
|
+
# Configuration parameters: Exclude.
|
219
|
+
Style/Documentation:
|
220
|
+
Exclude:
|
221
|
+
- 'lib/rubydora.rb'
|
222
|
+
- 'lib/rubydora/audit_trail.rb'
|
223
|
+
- 'lib/rubydora/fedora_url_helpers.rb'
|
224
|
+
- 'lib/rubydora/profile_parser.rb'
|
225
|
+
- 'lib/rubydora/transactions.rb'
|
226
|
+
- 'lib/rubydora/version.rb'
|
227
|
+
|
228
|
+
# Offense count: 3
|
229
|
+
Style/EachWithObject:
|
230
|
+
Exclude:
|
231
|
+
- 'lib/rubydora/profile_parser.rb'
|
232
|
+
|
233
|
+
# Offense count: 10
|
234
|
+
# Cop supports --auto-correct.
|
235
|
+
# Configuration parameters: AllowAdjacentOneLineDefs.
|
236
|
+
Style/EmptyLineBetweenDefs:
|
237
|
+
Exclude:
|
238
|
+
- 'lib/rubydora/audit_trail.rb'
|
239
|
+
- 'lib/rubydora/profile_parser.rb'
|
240
|
+
|
241
|
+
# Offense count: 3
|
242
|
+
# Cop supports --auto-correct.
|
243
|
+
Style/EmptyLinesAroundAccessModifier:
|
244
|
+
Exclude:
|
245
|
+
- 'lib/rubydora/datastream.rb'
|
246
|
+
- 'lib/rubydora/digital_object.rb'
|
247
|
+
|
248
|
+
# Offense count: 35
|
249
|
+
# Cop supports --auto-correct.
|
250
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
251
|
+
Style/EmptyLinesAroundBlockBody:
|
252
|
+
Exclude:
|
253
|
+
- 'lib/rubydora/transactions.rb'
|
254
|
+
- 'spec/audit_trail_spec.rb'
|
255
|
+
- 'spec/lib/datastream_spec.rb'
|
256
|
+
- 'spec/lib/digital_object_spec.rb'
|
257
|
+
- 'spec/lib/integration_test_spec.rb'
|
258
|
+
- 'spec/lib/repository_spec.rb'
|
259
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
260
|
+
- 'spec/lib/transactions_spec.rb'
|
261
|
+
- 'spec/spec_helper.rb'
|
262
|
+
|
263
|
+
# Offense count: 4
|
264
|
+
# Cop supports --auto-correct.
|
265
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
266
|
+
Style/EmptyLinesAroundClassBody:
|
267
|
+
Exclude:
|
268
|
+
- 'lib/rubydora/datastream.rb'
|
269
|
+
- 'lib/rubydora/fc3_service.rb'
|
270
|
+
- 'lib/rubydora/repository.rb'
|
271
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
272
|
+
|
273
|
+
# Offense count: 4
|
274
|
+
# Cop supports --auto-correct.
|
275
|
+
Style/EmptyLinesAroundMethodBody:
|
276
|
+
Exclude:
|
277
|
+
- 'lib/rubydora/relationships_mixin.rb'
|
278
|
+
- 'lib/rubydora/repository.rb'
|
279
|
+
- 'lib/rubydora/rest_api_client.rb'
|
280
|
+
|
281
|
+
# Offense count: 10
|
282
|
+
# Cop supports --auto-correct.
|
283
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
284
|
+
Style/EmptyLinesAroundModuleBody:
|
285
|
+
Exclude:
|
286
|
+
- 'lib/rubydora.rb'
|
287
|
+
- 'lib/rubydora/audit_trail.rb'
|
288
|
+
- 'lib/rubydora/callbacks.rb'
|
289
|
+
- 'lib/rubydora/digital_object.rb'
|
290
|
+
- 'lib/rubydora/relationships_mixin.rb'
|
291
|
+
- 'lib/rubydora/resource_index.rb'
|
292
|
+
- 'lib/rubydora/rest_api_client.rb'
|
293
|
+
- 'lib/rubydora/transactions.rb'
|
294
|
+
|
295
|
+
# Offense count: 1
|
296
|
+
# Cop supports --auto-correct.
|
297
|
+
Style/EmptyLiteral:
|
298
|
+
Exclude:
|
299
|
+
- 'lib/rubydora/rest_api_client.rb'
|
300
|
+
|
301
|
+
# Offense count: 11
|
302
|
+
# Cop supports --auto-correct.
|
303
|
+
# Configuration parameters: AllowForAlignment.
|
304
|
+
Style/ExtraSpacing:
|
305
|
+
Exclude:
|
306
|
+
- 'lib/rubydora/fedora_url_helpers.rb'
|
307
|
+
- 'lib/rubydora/profile_parser.rb'
|
308
|
+
- 'spec/lib/datastream_spec.rb'
|
309
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
310
|
+
|
311
|
+
# Offense count: 584
|
312
|
+
# Cop supports --auto-correct.
|
313
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues.
|
314
|
+
Style/HashSyntax:
|
315
|
+
Enabled: false
|
316
|
+
|
317
|
+
# Offense count: 6
|
318
|
+
# Cop supports --auto-correct.
|
319
|
+
# Configuration parameters: MaxLineLength.
|
320
|
+
Style/IfUnlessModifier:
|
321
|
+
Exclude:
|
322
|
+
- 'Rakefile'
|
323
|
+
- 'lib/rubydora.rb'
|
324
|
+
- 'lib/rubydora/datastream.rb'
|
325
|
+
- 'lib/rubydora/digital_object.rb'
|
326
|
+
- 'lib/rubydora/rest_api_client.rb'
|
327
|
+
|
328
|
+
# Offense count: 17
|
329
|
+
# Cop supports --auto-correct.
|
330
|
+
Style/Lambda:
|
331
|
+
Exclude:
|
332
|
+
- 'lib/rubydora/relationships_mixin.rb'
|
333
|
+
- 'spec/lib/datastream_spec.rb'
|
334
|
+
- 'spec/lib/integration_test_spec.rb'
|
335
|
+
- 'spec/lib/repository_spec.rb'
|
336
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
337
|
+
|
338
|
+
# Offense count: 11
|
339
|
+
# Cop supports --auto-correct.
|
340
|
+
Style/LeadingCommentSpace:
|
341
|
+
Exclude:
|
342
|
+
- 'lib/rubydora/digital_object.rb'
|
343
|
+
- 'lib/rubydora/rest_api_client.rb'
|
344
|
+
- 'spec/lib/datastream_spec.rb'
|
345
|
+
- 'spec/lib/integration_test_spec.rb'
|
346
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
347
|
+
|
348
|
+
# Offense count: 5
|
349
|
+
# Cop supports --auto-correct.
|
350
|
+
Style/MethodCallParentheses:
|
351
|
+
Exclude:
|
352
|
+
- 'spec/lib/datastream_spec.rb'
|
353
|
+
- 'spec/lib/resource_index_spec.rb'
|
354
|
+
|
355
|
+
# Offense count: 6
|
356
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
357
|
+
Style/MethodName:
|
358
|
+
Enabled: false
|
359
|
+
|
360
|
+
# Offense count: 2
|
361
|
+
Style/MultilineBlockChain:
|
362
|
+
Exclude:
|
363
|
+
- 'lib/rubydora/profile_parser.rb'
|
364
|
+
|
365
|
+
# Offense count: 6
|
366
|
+
# Cop supports --auto-correct.
|
367
|
+
Style/MultilineBlockLayout:
|
368
|
+
Exclude:
|
369
|
+
- 'spec/lib/digital_object_spec.rb'
|
370
|
+
|
371
|
+
# Offense count: 1
|
372
|
+
# Cop supports --auto-correct.
|
373
|
+
# Configuration parameters: AllowSafeAssignment.
|
374
|
+
Style/ParenthesesAroundCondition:
|
375
|
+
Exclude:
|
376
|
+
- 'lib/rubydora/datastream.rb'
|
377
|
+
|
378
|
+
# Offense count: 5
|
379
|
+
# Cop supports --auto-correct.
|
380
|
+
# Configuration parameters: PreferredDelimiters.
|
381
|
+
Style/PercentLiteralDelimiters:
|
382
|
+
Exclude:
|
383
|
+
- 'Rakefile'
|
384
|
+
- 'lib/rubydora/callbacks.rb'
|
385
|
+
- 'lib/rubydora/datastream.rb'
|
386
|
+
- 'rubydora.gemspec'
|
387
|
+
|
388
|
+
# Offense count: 1
|
389
|
+
# Configuration parameters: NamePrefix, NamePrefixBlacklist.
|
390
|
+
Style/PredicateName:
|
391
|
+
Exclude:
|
392
|
+
- 'lib/rubydora/datastream.rb'
|
393
|
+
|
394
|
+
# Offense count: 1
|
395
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
396
|
+
Style/RaiseArgs:
|
397
|
+
Enabled: false
|
398
|
+
|
399
|
+
# Offense count: 22
|
400
|
+
# Cop supports --auto-correct.
|
401
|
+
Style/RedundantSelf:
|
402
|
+
Exclude:
|
403
|
+
- 'lib/rubydora/array_with_callback.rb'
|
404
|
+
- 'lib/rubydora/datastream.rb'
|
405
|
+
- 'lib/rubydora/digital_object.rb'
|
406
|
+
- 'lib/rubydora/fc3_service.rb'
|
407
|
+
- 'lib/rubydora/repository.rb'
|
408
|
+
- 'lib/rubydora/resource_index.rb'
|
409
|
+
- 'lib/rubydora/transactions.rb'
|
410
|
+
- 'lib/rubydora/version.rb'
|
411
|
+
|
412
|
+
# Offense count: 1
|
413
|
+
# Cop supports --auto-correct.
|
414
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
|
415
|
+
Style/RegexpLiteral:
|
416
|
+
Exclude:
|
417
|
+
- 'lib/rubydora/digital_object.rb'
|
418
|
+
|
419
|
+
# Offense count: 18
|
420
|
+
# Cop supports --auto-correct.
|
421
|
+
Style/RescueModifier:
|
422
|
+
Exclude:
|
423
|
+
- 'lib/rubydora/profile_parser.rb'
|
424
|
+
- 'lib/rubydora/repository.rb'
|
425
|
+
- 'lib/rubydora/resource_index.rb'
|
426
|
+
- 'lib/rubydora/transactions.rb'
|
427
|
+
- 'spec/lib/integration_test_spec.rb'
|
428
|
+
|
429
|
+
# Offense count: 28
|
430
|
+
# Cop supports --auto-correct.
|
431
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
432
|
+
Style/SignalException:
|
433
|
+
Exclude:
|
434
|
+
- 'Rakefile'
|
435
|
+
- 'lib/rubydora/datastream.rb'
|
436
|
+
- 'lib/rubydora/digital_object.rb'
|
437
|
+
- 'lib/rubydora/fedora_url_helpers.rb'
|
438
|
+
- 'lib/rubydora/repository.rb'
|
439
|
+
- 'lib/rubydora/rest_api_client.rb'
|
440
|
+
- 'spec/lib/datastream_spec.rb'
|
441
|
+
- 'spec/lib/digital_object_spec.rb'
|
442
|
+
|
443
|
+
# Offense count: 17
|
444
|
+
# Cop supports --auto-correct.
|
445
|
+
Style/SpaceAfterComma:
|
446
|
+
Exclude:
|
447
|
+
- 'lib/rubydora/datastream.rb'
|
448
|
+
- 'lib/rubydora/digital_object.rb'
|
449
|
+
- 'lib/rubydora/profile_parser.rb'
|
450
|
+
- 'lib/rubydora/rest_api_client.rb'
|
451
|
+
- 'spec/lib/integration_test_spec.rb'
|
452
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
453
|
+
|
454
|
+
# Offense count: 1
|
455
|
+
# Cop supports --auto-correct.
|
456
|
+
Style/SpaceAfterMethodName:
|
457
|
+
Exclude:
|
458
|
+
- 'lib/rubydora/datastream.rb'
|
459
|
+
|
460
|
+
# Offense count: 5
|
461
|
+
# Cop supports --auto-correct.
|
462
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
463
|
+
Style/SpaceAroundEqualsInParameterDefault:
|
464
|
+
Enabled: false
|
465
|
+
|
466
|
+
# Offense count: 117
|
467
|
+
# Cop supports --auto-correct.
|
468
|
+
# Configuration parameters: MultiSpaceAllowedForOperators.
|
469
|
+
Style/SpaceAroundOperators:
|
470
|
+
Exclude:
|
471
|
+
- 'lib/rubydora/datastream.rb'
|
472
|
+
- 'lib/rubydora/fedora_url_helpers.rb'
|
473
|
+
- 'lib/rubydora/relationships_mixin.rb'
|
474
|
+
- 'lib/rubydora/rest_api_client.rb'
|
475
|
+
- 'spec/lib/datastream_spec.rb'
|
476
|
+
- 'spec/lib/digital_object_spec.rb'
|
477
|
+
- 'spec/lib/integration_test_spec.rb'
|
478
|
+
- 'spec/lib/repository_spec.rb'
|
479
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
480
|
+
- 'spec/lib/transactions_spec.rb'
|
481
|
+
|
482
|
+
# Offense count: 2
|
483
|
+
# Cop supports --auto-correct.
|
484
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
485
|
+
Style/SpaceBeforeBlockBraces:
|
486
|
+
Enabled: false
|
487
|
+
|
488
|
+
# Offense count: 1
|
489
|
+
# Cop supports --auto-correct.
|
490
|
+
Style/SpaceBeforeComma:
|
491
|
+
Exclude:
|
492
|
+
- 'lib/rubydora/datastream.rb'
|
493
|
+
|
494
|
+
# Offense count: 23
|
495
|
+
# Cop supports --auto-correct.
|
496
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
497
|
+
Style/SpaceInsideBlockBraces:
|
498
|
+
Enabled: false
|
499
|
+
|
500
|
+
# Offense count: 3
|
501
|
+
# Cop supports --auto-correct.
|
502
|
+
Style/SpaceInsideBrackets:
|
503
|
+
Exclude:
|
504
|
+
- 'lib/rubydora/array_with_callback.rb'
|
505
|
+
- 'lib/rubydora/datastream.rb'
|
506
|
+
|
507
|
+
# Offense count: 81
|
508
|
+
# Cop supports --auto-correct.
|
509
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
|
510
|
+
Style/SpaceInsideHashLiteralBraces:
|
511
|
+
Enabled: false
|
512
|
+
|
513
|
+
# Offense count: 21
|
514
|
+
# Cop supports --auto-correct.
|
515
|
+
Style/SpaceInsideParens:
|
516
|
+
Exclude:
|
517
|
+
- 'lib/rubydora/datastream.rb'
|
518
|
+
- 'lib/rubydora/fc3_service.rb'
|
519
|
+
- 'lib/rubydora/profile_parser.rb'
|
520
|
+
- 'lib/rubydora/relationships_mixin.rb'
|
521
|
+
- 'spec/lib/datastream_spec.rb'
|
522
|
+
- 'spec/lib/integration_test_spec.rb'
|
523
|
+
- 'spec/lib/profile_parser_spec.rb'
|
524
|
+
- 'spec/lib/resource_index_spec.rb'
|
525
|
+
- 'spec/lib/rest_api_client_spec.rb'
|
526
|
+
|
527
|
+
# Offense count: 1
|
528
|
+
# Cop supports --auto-correct.
|
529
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
530
|
+
Style/SpaceInsideStringInterpolation:
|
531
|
+
Exclude:
|
532
|
+
- 'lib/rubydora/fedora_url_helpers.rb'
|
533
|
+
|
534
|
+
# Offense count: 737
|
535
|
+
# Cop supports --auto-correct.
|
536
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
537
|
+
Style/StringLiterals:
|
538
|
+
Enabled: false
|
539
|
+
|
540
|
+
# Offense count: 2
|
541
|
+
# Cop supports --auto-correct.
|
542
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
543
|
+
Style/StringLiteralsInInterpolation:
|
544
|
+
Enabled: false
|
545
|
+
|
546
|
+
# Offense count: 8
|
547
|
+
# Cop supports --auto-correct.
|
548
|
+
# Configuration parameters: IgnoredMethods.
|
549
|
+
Style/SymbolProc:
|
550
|
+
Exclude:
|
551
|
+
- 'lib/rubydora/datastream.rb'
|
552
|
+
- 'lib/rubydora/profile_parser.rb'
|
553
|
+
- 'spec/lib/integration_test_spec.rb'
|
554
|
+
|
555
|
+
# Offense count: 3
|
556
|
+
# Cop supports --auto-correct.
|
557
|
+
# Configuration parameters: ExactNameMatch, AllowPredicates, AllowDSLWriters, IgnoreClassMethods, Whitelist.
|
558
|
+
Style/TrivialAccessors:
|
559
|
+
Exclude:
|
560
|
+
- 'lib/rubydora.rb'
|
561
|
+
- 'lib/rubydora/datastream.rb'
|
562
|
+
- 'lib/rubydora/digital_object.rb'
|
563
|
+
|
564
|
+
# Offense count: 5
|
565
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
566
|
+
Style/VariableName:
|
567
|
+
Enabled: false
|
568
|
+
|
569
|
+
# Offense count: 4
|
570
|
+
# Cop supports --auto-correct.
|
571
|
+
# Configuration parameters: WordRegex.
|
572
|
+
Style/WordArray:
|
573
|
+
MinSize: 3
|