bixby 0.2.0 → 0.2.1

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.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -6
  3. data/Rakefile +1 -0
  4. data/bixby.gemspec +6 -6
  5. data/bixby_default.yml +159 -156
  6. metadata +10 -9
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 631c906f62514daa8b0a11de5ccce13a5a26e94d
4
- data.tar.gz: dc411fd39d4fb2a9a22ac0ced313eded729ac42b
3
+ metadata.gz: de51d7c1795a2c13d4d8e1f894e3720448dbbc49
4
+ data.tar.gz: 3e1c8e1e86a37550f1eebae5fd207c0d5e463328
5
5
  SHA512:
6
- metadata.gz: f6cb6213114bf759f526ed7f58f61cbda0f20f1a633707559774da01e0a22e2c7cdf23e666ecebfe6fa7fe999cf206e6b2a16cca64943437930e6d666f719802
7
- data.tar.gz: be9a7c0005d088b9c585f2c130c9c189d17a39f90afad2ee06b0d4b8215986bde04aa8ee5c02d6a6560c3d5e1c77e01218a248a95b39690d718e3507c0dcb2fa
6
+ metadata.gz: 7255e5eaba0354f10cb7e349eed82a8a28a4562cbad5b4411545a747e536cfc20a51b3c65fbb21d4f0c4f9c64837ed5a42e241d1afab740b560a06c9eeff1765
7
+ data.tar.gz: 273b673d6f5533d92fb6d5ede8baa6fc79a6368a986ce6502f6515cecdd5127a8a1fb5c9f39a33a9416be093d0b78815bdce657e1a785c7a7cff872faeb79b05
data/README.md CHANGED
@@ -2,12 +2,13 @@ Bixby: I'd buy that for a dollar!
2
2
  =================================
3
3
 
4
4
  [![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
5
+ [![Gem Version](https://badge.fury.io/rb/bixby.svg)](https://badge.fury.io/rb/bixby)
5
6
 
6
7
  <p align="left">
7
8
  <img src="https://raw.githubusercontent.com/curationexperts/hycop/master/logo/murphy.jpg" alt="Murphy Sketch"/>
8
9
  </p>
9
10
 
10
- RuboCop Defaults for Hydra
11
+ RuboCop Defaults for Samvera Community
11
12
 
12
13
  ## To Use This
13
14
 
@@ -30,11 +31,8 @@ Bixby is available under [the Apache 2.0 license](LICENSE.md).
30
31
 
31
32
  ## Acknowledgments
32
33
 
33
- This software has been developed by and is brought to you by the Hydra community. Learn more at the
34
- [Project Hydra website](http://projecthydra.org/).
34
+ This software has been developed by and is brought to you by the Samvera community. Learn more at the
35
+ [Samvera Community website](http://projecthydra.org/).
35
36
 
36
37
  The Alex J. Murphy sketch "logo" is courtesy of [acid_lich](https://www.instagram.com/acid_lich/), all
37
38
  rights reserved.
38
-
39
-
40
-
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
data/bixby.gemspec CHANGED
@@ -4,17 +4,17 @@ Gem::Specification.new do |spec|
4
4
  spec.authors = ['Tom Johnson']
5
5
  spec.email = ['tom@curationexperts.com']
6
6
  spec.description = 'A Style Configuration for RuboCop'
7
- spec.summary = 'This is the recommended style configuration for used ' \
8
- 'by the Project Hydra developers.'
9
- spec.homepage = 'http://github.com/projecthydra-labs/bixby'
7
+ spec.summary = 'This is the recommended style configuration for use ' \
8
+ 'by Samvera Community projects.'
9
+ spec.homepage = 'http://github.com/samvera-labs/bixby'
10
10
  spec.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
11
11
 
12
12
  spec.name = 'bixby'
13
13
  spec.require_paths = ['lib']
14
14
 
15
- spec.version = '0.2.0'
15
+ spec.version = '0.2.1'
16
16
  spec.license = 'Apache-2.0'
17
17
 
18
- spec.add_dependency 'rubocop', '~> 0.47'
19
- spec.add_dependency 'rubocop-rspec', '~> 1.10'
18
+ spec.add_dependency 'rubocop', '~> 0.49'
19
+ spec.add_dependency 'rubocop-rspec', '~> 1.15'
20
20
  end
data/bixby_default.yml CHANGED
@@ -22,15 +22,6 @@ Style/AccessorMethodName:
22
22
  Style/Alias:
23
23
  Enabled: true
24
24
 
25
- Style/AlignArray:
26
- Enabled: true
27
-
28
- Style/AlignHash:
29
- Enabled: true
30
-
31
- Style/AlignParameters:
32
- Enabled: true
33
-
34
25
  Style/AndOr:
35
26
  Enabled: true
36
27
 
@@ -55,9 +46,6 @@ Style/BarePercentLiterals:
55
46
  Style/BlockComments:
56
47
  Enabled: true
57
48
 
58
- Style/BlockEndNewline:
59
- Enabled: true
60
-
61
49
  Style/BlockDelimiters:
62
50
  Enabled: true
63
51
 
@@ -67,9 +55,6 @@ Style/BracesAroundHashParameters:
67
55
  Style/CaseEquality:
68
56
  Enabled: true
69
57
 
70
- Style/CaseIndentation:
71
- Enabled: true
72
-
73
58
  Style/CharacterLiteral:
74
59
  Enabled: true
75
60
 
@@ -85,9 +70,6 @@ Style/ClassMethods:
85
70
  Style/ClassVars:
86
71
  Enabled: true
87
72
 
88
- Style/ClosingParenthesisIndentation:
89
- Enabled: true
90
-
91
73
  Style/ColonMethodCall:
92
74
  Enabled: true
93
75
 
@@ -106,9 +88,6 @@ Style/CommandLiteral:
106
88
  Style/CommentAnnotation:
107
89
  Enabled: true
108
90
 
109
- Style/CommentIndentation:
110
- Enabled: true
111
-
112
91
  Style/ConditionalAssignment:
113
92
  Enabled: true
114
93
 
@@ -124,9 +103,6 @@ Style/Documentation:
124
103
  - 'spec/**/*'
125
104
  - 'test/**/*'
126
105
 
127
- Style/DotPosition:
128
- Enabled: true
129
-
130
106
  Style/DoubleNegation:
131
107
  Enabled: true
132
108
 
@@ -136,36 +112,12 @@ Style/EachForSimpleLoop:
136
112
  Style/EachWithObject:
137
113
  Enabled: true
138
114
 
139
- Style/ElseAlignment:
140
- Enabled: true
141
-
142
115
  Style/EmptyElse:
143
116
  Enabled: true
144
117
 
145
118
  Style/EmptyCaseCondition:
146
119
  Enabled: true
147
120
 
148
- Style/EmptyLineBetweenDefs:
149
- Enabled: true
150
-
151
- Style/EmptyLines:
152
- Enabled: true
153
-
154
- Style/EmptyLinesAroundAccessModifier:
155
- Enabled: true
156
-
157
- Style/EmptyLinesAroundBlockBody:
158
- Enabled: true
159
-
160
- Style/EmptyLinesAroundClassBody:
161
- Enabled: true
162
-
163
- Style/EmptyLinesAroundModuleBody:
164
- Enabled: true
165
-
166
- Style/EmptyLinesAroundMethodBody:
167
- Enabled: true
168
-
169
121
  Style/EmptyLiteral:
170
122
  Enabled: true
171
123
 
@@ -175,15 +127,9 @@ Style/EmptyMethod:
175
127
  Style/EndBlock:
176
128
  Enabled: true
177
129
 
178
- Style/EndOfLine:
179
- Enabled: true
180
-
181
130
  Style/EvenOdd:
182
131
  Enabled: true
183
132
 
184
- Style/ExtraSpacing:
185
- Enabled: true
186
-
187
133
  Style/FileName:
188
134
  Enabled: true
189
135
  Exclude:
@@ -193,12 +139,6 @@ Style/FileName:
193
139
  Style/FrozenStringLiteralComment:
194
140
  Enabled: true
195
141
 
196
- Style/InitialIndentation:
197
- Enabled: true
198
-
199
- Style/FirstParameterIndentation:
200
- Enabled: true
201
-
202
142
  Style/FlipFlop:
203
143
  Enabled: true
204
144
 
@@ -229,42 +169,18 @@ Style/IfUnlessModifierOfIfUnless:
229
169
  Style/IfWithSemicolon:
230
170
  Enabled: true
231
171
 
232
- Style/IndentationConsistency:
233
- SupportedStyles:
234
- - normal
235
- - rails
236
- EnforcedStyle: rails
237
-
238
- Style/IndentationWidth:
239
- Enabled: true
240
-
241
172
  Style/IdenticalConditionalBranches:
242
173
  Enabled: true
243
174
 
244
- Style/IndentArray:
245
- Enabled: true
246
-
247
- Style/IndentAssignment:
248
- Enabled: true
249
-
250
- Style/IndentHash:
251
- Enabled: true
252
-
253
175
  Style/InfiniteLoop:
254
176
  Enabled: true
255
177
 
256
178
  Style/Lambda:
257
179
  Enabled: true
258
180
 
259
- Style/SpaceInLambdaLiteral:
260
- Enabled: true
261
-
262
181
  Style/LambdaCall:
263
182
  Enabled: true
264
183
 
265
- Style/LeadingCommentSpace:
266
- Enabled: true
267
-
268
184
  Style/LineEndConcatenation:
269
185
  Enabled: true
270
186
 
@@ -283,18 +199,9 @@ Style/MethodMissing:
283
199
  Style/ModuleFunction:
284
200
  Enabled: true
285
201
 
286
- Style/MultilineArrayBraceLayout:
287
- Enabled: true
288
-
289
202
  Style/MultilineBlockChain:
290
203
  Enabled: true
291
204
 
292
- Style/MultilineBlockLayout:
293
- Enabled: true
294
-
295
- Style/MultilineHashBraceLayout:
296
- Enabled: true
297
-
298
205
  Style/MultilineIfThen:
299
206
  Enabled: true
300
207
 
@@ -304,18 +211,6 @@ Style/MultilineIfModifier:
304
211
  Style/MultilineMemoization:
305
212
  Enabled: true
306
213
 
307
- Style/MultilineMethodCallBraceLayout:
308
- Enabled: true
309
-
310
- Style/MultilineMethodCallIndentation:
311
- Enabled: true
312
-
313
- Style/MultilineMethodDefinitionBraceLayout:
314
- Enabled: true
315
-
316
- Style/MultilineOperationIndentation:
317
- Enabled: true
318
-
319
214
  Style/MultilineTernaryOperator:
320
215
  Enabled: true
321
216
 
@@ -416,9 +311,6 @@ Style/RedundantReturn:
416
311
  Style/RedundantSelf:
417
312
  Enabled: true
418
313
 
419
- Style/RescueEnsureAlignment:
420
- Enabled: true
421
-
422
314
  Style/RescueModifier:
423
315
  Enabled: true
424
316
 
@@ -437,146 +329,257 @@ Style/SignalException:
437
329
  Style/SingleLineMethods:
438
330
  Enabled: true
439
331
 
440
- Style/SpaceBeforeFirstArg:
332
+
333
+ Style/SpecialGlobalVars:
334
+ Enabled: true
335
+
336
+ Style/StabbyLambdaParentheses:
337
+ Enabled: true
338
+
339
+ Style/StringLiteralsInInterpolation:
340
+ Enabled: true
341
+
342
+ Style/StructInheritance:
343
+ Enabled: true
344
+
345
+ Style/SymbolLiteral:
346
+ Enabled: true
347
+
348
+ Style/SymbolProc:
349
+ Enabled: true
350
+
351
+ Style/TernaryParentheses:
352
+ Enabled: true
353
+
354
+ Style/TrailingCommaInArguments:
355
+ Enabled: true
356
+
357
+ Style/TrailingCommaInLiteral:
441
358
  Enabled: true
442
359
 
443
- Style/SpaceAfterColon:
360
+ Style/TrivialAccessors:
444
361
  Enabled: true
445
362
 
446
- Style/SpaceAfterComma:
363
+ Style/UnlessElse:
447
364
  Enabled: true
448
365
 
449
- Style/SpaceAfterMethodName:
366
+ Style/UnneededCapitalW:
450
367
  Enabled: true
451
368
 
452
- Style/SpaceAfterNot:
369
+ Style/UnneededInterpolation:
453
370
  Enabled: true
454
371
 
455
- Style/SpaceAfterSemicolon:
372
+ Style/UnneededPercentQ:
456
373
  Enabled: true
457
374
 
458
- Style/SpaceBeforeBlockBraces:
375
+ Style/TrailingUnderscoreVariable:
376
+ AllowNamedUnderscoreVariables: true
459
377
  Enabled: true
460
378
 
461
- Style/SpaceBeforeComma:
379
+ Style/VariableInterpolation:
462
380
  Enabled: true
463
381
 
464
- Style/SpaceBeforeComment:
382
+ Style/VariableName:
465
383
  Enabled: true
466
384
 
467
- Style/SpaceBeforeSemicolon:
385
+ Style/VariableNumber:
468
386
  Enabled: true
469
387
 
470
- Style/SpaceInsideBlockBraces:
388
+ Style/WhenThen:
471
389
  Enabled: true
472
390
 
473
- Style/SpaceAroundBlockParameters:
391
+ Style/WhileUntilDo:
474
392
  Enabled: true
475
393
 
476
- Style/SpaceAroundEqualsInParameterDefault:
394
+ Style/WhileUntilModifier:
477
395
  Enabled: true
478
396
 
479
- Style/SpaceAroundKeyword:
397
+ Style/ZeroLengthPredicate:
480
398
  Enabled: true
481
399
 
482
- Style/SpaceAroundOperators:
400
+ #################### Layout ###############################
401
+
402
+ Layout/AlignArray:
483
403
  Enabled: true
484
404
 
485
- Style/SpaceInsideArrayPercentLiteral:
405
+ Layout/AlignHash:
486
406
  Enabled: true
487
407
 
488
- Style/SpaceInsidePercentLiteralDelimiters:
408
+ Layout/AlignParameters:
489
409
  Enabled: true
490
410
 
491
- Style/SpaceInsideBrackets:
411
+ Layout/BlockEndNewline:
492
412
  Enabled: true
493
413
 
494
- Style/SpaceInsideHashLiteralBraces:
414
+ Layout/CaseIndentation:
495
415
  Enabled: true
496
416
 
497
- Style/SpaceInsideParens:
417
+ Layout/ClosingParenthesisIndentation:
498
418
  Enabled: true
499
419
 
500
- Style/SpaceInsideRangeLiteral:
420
+ Layout/CommentIndentation:
501
421
  Enabled: true
502
422
 
503
- Style/SpaceInsideStringInterpolation:
423
+ Layout/DotPosition:
504
424
  Enabled: true
505
425
 
506
- Style/SpecialGlobalVars:
426
+ Layout/ElseAlignment:
507
427
  Enabled: true
508
428
 
509
- Style/StabbyLambdaParentheses:
429
+ Layout/EmptyLineBetweenDefs:
510
430
  Enabled: true
511
431
 
512
- Style/StringLiteralsInInterpolation:
432
+ Layout/EmptyLines:
513
433
  Enabled: true
514
434
 
515
- Style/StructInheritance:
435
+ Layout/EmptyLinesAroundAccessModifier:
516
436
  Enabled: true
517
437
 
518
- Style/SymbolLiteral:
438
+ Layout/EmptyLinesAroundBlockBody:
519
439
  Enabled: true
520
440
 
521
- Style/SymbolProc:
441
+ Layout/EmptyLinesAroundClassBody:
522
442
  Enabled: true
523
443
 
524
- Style/Tab:
444
+ Layout/EmptyLinesAroundModuleBody:
525
445
  Enabled: true
526
446
 
527
- Style/TernaryParentheses:
447
+ Layout/EmptyLinesAroundMethodBody:
528
448
  Enabled: true
529
449
 
530
- Style/TrailingBlankLines:
450
+ Layout/EndOfLine:
531
451
  Enabled: true
532
452
 
533
- Style/TrailingCommaInArguments:
453
+ Layout/ExtraSpacing:
534
454
  Enabled: true
535
455
 
536
- Style/TrailingCommaInLiteral:
456
+ Layout/InitialIndentation:
537
457
  Enabled: true
538
458
 
539
- Style/TrailingWhitespace:
459
+ Layout/FirstParameterIndentation:
540
460
  Enabled: true
541
461
 
542
- Style/TrivialAccessors:
462
+ Layout/IndentationConsistency:
463
+ SupportedStyles:
464
+ - normal
465
+ - rails
466
+ EnforcedStyle: rails
467
+
468
+ Layout/IndentationWidth:
543
469
  Enabled: true
544
470
 
545
- Style/UnlessElse:
471
+ Layout/IndentArray:
546
472
  Enabled: true
547
473
 
548
- Style/UnneededCapitalW:
474
+ Layout/IndentAssignment:
549
475
  Enabled: true
550
476
 
551
- Style/UnneededInterpolation:
477
+ Layout/IndentHash:
552
478
  Enabled: true
553
479
 
554
- Style/UnneededPercentQ:
480
+ Layout/SpaceInLambdaLiteral:
555
481
  Enabled: true
556
482
 
557
- Style/TrailingUnderscoreVariable:
558
- AllowNamedUnderscoreVariables: true
483
+ Layout/LeadingCommentSpace:
559
484
  Enabled: true
560
485
 
561
- Style/VariableInterpolation:
486
+ Layout/MultilineArrayBraceLayout:
562
487
  Enabled: true
563
488
 
564
- Style/VariableName:
489
+ Layout/MultilineBlockLayout:
565
490
  Enabled: true
566
491
 
567
- Style/VariableNumber:
492
+ Layout/MultilineHashBraceLayout:
568
493
  Enabled: true
569
494
 
570
- Style/WhenThen:
495
+ Layout/MultilineMethodCallBraceLayout:
571
496
  Enabled: true
572
497
 
573
- Style/WhileUntilDo:
498
+ Layout/MultilineMethodCallIndentation:
574
499
  Enabled: true
575
500
 
576
- Style/WhileUntilModifier:
501
+ Layout/MultilineMethodDefinitionBraceLayout:
577
502
  Enabled: true
578
503
 
579
- Style/ZeroLengthPredicate:
504
+ Layout/MultilineOperationIndentation:
505
+ Enabled: true
506
+
507
+ Layout/RescueEnsureAlignment:
508
+ Enabled: true
509
+
510
+ Layout/SpaceBeforeFirstArg:
511
+ Enabled: true
512
+
513
+ Layout/SpaceAfterColon:
514
+ Enabled: true
515
+
516
+ Layout/SpaceAfterComma:
517
+ Enabled: true
518
+
519
+ Layout/SpaceAfterMethodName:
520
+ Enabled: true
521
+
522
+ Layout/SpaceAfterNot:
523
+ Enabled: true
524
+
525
+ Layout/SpaceAfterSemicolon:
526
+ Enabled: true
527
+
528
+ Layout/SpaceBeforeBlockBraces:
529
+ Enabled: true
530
+
531
+ Layout/SpaceBeforeComma:
532
+ Enabled: true
533
+
534
+ Layout/SpaceBeforeComment:
535
+ Enabled: true
536
+
537
+ Layout/SpaceBeforeSemicolon:
538
+ Enabled: true
539
+
540
+ Layout/SpaceInsideBlockBraces:
541
+ Enabled: true
542
+
543
+ Layout/SpaceAroundBlockParameters:
544
+ Enabled: true
545
+
546
+ Layout/SpaceAroundEqualsInParameterDefault:
547
+ Enabled: true
548
+
549
+ Layout/SpaceAroundKeyword:
550
+ Enabled: true
551
+
552
+ Layout/SpaceAroundOperators:
553
+ Enabled: true
554
+
555
+ Layout/SpaceInsideArrayPercentLiteral:
556
+ Enabled: true
557
+
558
+ Layout/SpaceInsidePercentLiteralDelimiters:
559
+ Enabled: true
560
+
561
+ Layout/SpaceInsideBrackets:
562
+ Enabled: true
563
+
564
+ Layout/SpaceInsideHashLiteralBraces:
565
+ Enabled: true
566
+
567
+ Layout/SpaceInsideParens:
568
+ Enabled: true
569
+
570
+ Layout/SpaceInsideRangeLiteral:
571
+ Enabled: true
572
+
573
+ Layout/SpaceInsideStringInterpolation:
574
+ Enabled: true
575
+
576
+ Layout/Tab:
577
+ Enabled: true
578
+
579
+ Layout/TrailingBlankLines:
580
+ Enabled: true
581
+
582
+ Layout/TrailingWhitespace:
580
583
  Enabled: true
581
584
 
582
585
  #################### Metrics ###############################
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bixby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Johnson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-30 00:00:00.000000000 Z
11
+ date: 2017-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.47'
19
+ version: '0.49'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.47'
26
+ version: '0.49'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rspec
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.10'
33
+ version: '1.15'
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: '1.10'
40
+ version: '1.15'
41
41
  description: A Style Configuration for RuboCop
42
42
  email:
43
43
  - tom@curationexperts.com
@@ -48,12 +48,13 @@ files:
48
48
  - ".gitignore"
49
49
  - LICENSE
50
50
  - README.md
51
+ - Rakefile
51
52
  - bixby.gemspec
52
53
  - bixby_default.yml
53
54
  - bixby_rails_enabled.yml
54
55
  - bixby_rspec_enabled.yml
55
56
  - logo/murphy.jpg
56
- homepage: http://github.com/projecthydra-labs/bixby
57
+ homepage: http://github.com/samvera-labs/bixby
57
58
  licenses:
58
59
  - Apache-2.0
59
60
  metadata: {}
@@ -76,6 +77,6 @@ rubyforge_project:
76
77
  rubygems_version: 2.6.8
77
78
  signing_key:
78
79
  specification_version: 4
79
- summary: This is the recommended style configuration for used by the Project Hydra
80
- developers.
80
+ summary: This is the recommended style configuration for use by Samvera Community
81
+ projects.
81
82
  test_files: []