bixby 0.3.1 → 2.1.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.
Potentially problematic release.
This version of bixby might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/.github_changelog_generator +2 -0
- data/.gitignore +1 -0
- data/CHANGELOG.md +114 -0
- data/Gemfile +4 -0
- data/README.md +18 -0
- data/bixby.gemspec +8 -6
- data/bixby_default.yml +68 -73
- data/bixby_rails_enabled.yml +2 -1
- data/bixby_rspec_enabled.yml +0 -11
- metadata +54 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 740e2b19d647f5993238c4bbf91ea03adf4fb861214f958e97231e2ee4087da8
|
|
4
|
+
data.tar.gz: a2093ec7d820e9fb72cb07c855c0ff12b4731ece8beab8778682422456020283
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c85f4246c4152be96ecb9a50f0cec368a7b82e87ca9cb7d2d55d9f55bc2a6fd30a27ef81608dee22f90966d6fa737571e256ad357424e425dc8dcdefbc8f70e0
|
|
7
|
+
data.tar.gz: 1b2b7d351b195841831c8e82d0a45300758b2f84565f5747b6519f7303de8dfdb3e9ea2bf845c04c8ee19ce221c58a8f4968f9e725daf335dbed79baa4e45552
|
data/.gitignore
CHANGED
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## [2.1.0](https://github.com/samvera-labs/bixby/tree/2.1.0) (2020-06-09)
|
|
4
|
+
|
|
5
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/v2.0.0...2.1.0)
|
|
6
|
+
|
|
7
|
+
**Merged pull requests:**
|
|
8
|
+
|
|
9
|
+
- Upgrade rubocop and dependencies [\#35](https://github.com/samvera-labs/bixby/pull/35) ([bess](https://github.com/bess))
|
|
10
|
+
- Prep for 2.0 release [\#31](https://github.com/samvera-labs/bixby/pull/31) ([bess](https://github.com/bess))
|
|
11
|
+
|
|
12
|
+
## [v2.0.0](https://github.com/samvera-labs/bixby/tree/v2.0.0) (2019-12-10)
|
|
13
|
+
|
|
14
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/v2.0.0.pre.beta1...v2.0.0)
|
|
15
|
+
|
|
16
|
+
**Closed issues:**
|
|
17
|
+
|
|
18
|
+
- Upgrade for new rubocop [\#26](https://github.com/samvera-labs/bixby/issues/26)
|
|
19
|
+
- Update rubocop-rspec [\#25](https://github.com/samvera-labs/bixby/issues/25)
|
|
20
|
+
- Lint/BlockAlignment has the wrong namespace - should be Layout [\#24](https://github.com/samvera-labs/bixby/issues/24)
|
|
21
|
+
- Add Lint/RescueWithoutErrorClass [\#23](https://github.com/samvera-labs/bixby/issues/23)
|
|
22
|
+
|
|
23
|
+
**Merged pull requests:**
|
|
24
|
+
|
|
25
|
+
- Skipping node\_modules directory when running cops [\#30](https://github.com/samvera-labs/bixby/pull/30) ([cgalarza](https://github.com/cgalarza))
|
|
26
|
+
|
|
27
|
+
## [v2.0.0.pre.beta1](https://github.com/samvera-labs/bixby/tree/v2.0.0.pre.beta1) (2019-02-14)
|
|
28
|
+
|
|
29
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/1.0.0...v2.0.0.pre.beta1)
|
|
30
|
+
|
|
31
|
+
**Merged pull requests:**
|
|
32
|
+
|
|
33
|
+
- Bixby 2.0 [\#28](https://github.com/samvera-labs/bixby/pull/28) ([no-reply](https://github.com/no-reply))
|
|
34
|
+
|
|
35
|
+
## [1.0.0](https://github.com/samvera-labs/bixby/tree/1.0.0) (2018-02-13)
|
|
36
|
+
|
|
37
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/v1.0.0-rc1...1.0.0)
|
|
38
|
+
|
|
39
|
+
**Merged pull requests:**
|
|
40
|
+
|
|
41
|
+
- Prepare Release 1.0.0 [\#22](https://github.com/samvera-labs/bixby/pull/22) ([no-reply](https://github.com/no-reply))
|
|
42
|
+
|
|
43
|
+
## [v1.0.0-rc1](https://github.com/samvera-labs/bixby/tree/v1.0.0-rc1) (2018-02-09)
|
|
44
|
+
|
|
45
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.3.1...v1.0.0-rc1)
|
|
46
|
+
|
|
47
|
+
**Closed issues:**
|
|
48
|
+
|
|
49
|
+
- Disable `RSpec/MulitpleExpectations` [\#19](https://github.com/samvera-labs/bixby/issues/19)
|
|
50
|
+
- Add tmp dir to AllCops exclusion [\#18](https://github.com/samvera-labs/bixby/issues/18)
|
|
51
|
+
- Warning: unrecognized cop Naming/BinaryOperatorParameter found in ~/.gem/ruby/2.4.2/gems/bixby-0.3.0/bixby\_default.yml [\#14](https://github.com/samvera-labs/bixby/issues/14)
|
|
52
|
+
- Resolve new cops/changes is in rubocop-rspec 0.18.0. [\#11](https://github.com/samvera-labs/bixby/issues/11)
|
|
53
|
+
- Resolve new cops/changes in RuboCop 0.50.0 [\#10](https://github.com/samvera-labs/bixby/issues/10)
|
|
54
|
+
- Bixby not compatible with latest Rubocop [\#6](https://github.com/samvera-labs/bixby/issues/6)
|
|
55
|
+
|
|
56
|
+
**Merged pull requests:**
|
|
57
|
+
|
|
58
|
+
- Bump version to 1.0.0-rc1 [\#21](https://github.com/samvera-labs/bixby/pull/21) ([no-reply](https://github.com/no-reply))
|
|
59
|
+
- Support newer versions of `rubocop`, `rubocop-rspec`, and Ruby [\#20](https://github.com/samvera-labs/bixby/pull/20) ([no-reply](https://github.com/no-reply))
|
|
60
|
+
- Remove Lint/InvalidCharacterLiteral, fixes \#15 [\#16](https://github.com/samvera-labs/bixby/pull/16) ([hackmastera](https://github.com/hackmastera))
|
|
61
|
+
- Update READEME.md to discuss versioning strategy [\#13](https://github.com/samvera-labs/bixby/pull/13) ([no-reply](https://github.com/no-reply))
|
|
62
|
+
- Lock versions to `rubocop` 0.50.0 and `rubocop-rspec` 1.18.0 [\#12](https://github.com/samvera-labs/bixby/pull/12) ([no-reply](https://github.com/no-reply))
|
|
63
|
+
|
|
64
|
+
## [v0.3.1](https://github.com/samvera-labs/bixby/tree/v0.3.1) (2017-10-04)
|
|
65
|
+
|
|
66
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.3.0...v0.3.1)
|
|
67
|
+
|
|
68
|
+
**Closed issues:**
|
|
69
|
+
|
|
70
|
+
- Error: The `Lint/InvalidCharacterLiteral` cop has been removed since it was never being actually triggered. \(obsolete configuration found in /home/ubuntu/valkyrie/valkyrie/vendor/valk\_bundle/ruby/2.3.0/gems/bixby-0.3.0/bixby\_default.yml, please update it\) [\#15](https://github.com/samvera-labs/bixby/issues/15)
|
|
71
|
+
|
|
72
|
+
**Merged pull requests:**
|
|
73
|
+
|
|
74
|
+
- Remove Lint/InvalidCharacterLiteral, fixes \#15 [\#17](https://github.com/samvera-labs/bixby/pull/17) ([hackmastera](https://github.com/hackmastera))
|
|
75
|
+
|
|
76
|
+
## [v0.3.0](https://github.com/samvera-labs/bixby/tree/v0.3.0) (2017-10-03)
|
|
77
|
+
|
|
78
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.2.2...v0.3.0)
|
|
79
|
+
|
|
80
|
+
**Merged pull requests:**
|
|
81
|
+
|
|
82
|
+
- Prepare Release v0.3.0 [\#9](https://github.com/samvera-labs/bixby/pull/9) ([no-reply](https://github.com/no-reply))
|
|
83
|
+
- Upgrade for RuboCop 0.50.0 compatibility [\#8](https://github.com/samvera-labs/bixby/pull/8) ([no-reply](https://github.com/no-reply))
|
|
84
|
+
- Allow deeper group nesting in RSpec [\#7](https://github.com/samvera-labs/bixby/pull/7) ([no-reply](https://github.com/no-reply))
|
|
85
|
+
|
|
86
|
+
## [v0.2.2](https://github.com/samvera-labs/bixby/tree/v0.2.2) (2017-08-07)
|
|
87
|
+
|
|
88
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.2.1...v0.2.2)
|
|
89
|
+
|
|
90
|
+
**Closed issues:**
|
|
91
|
+
|
|
92
|
+
- Should we allow long blocks in CatalogController? [\#3](https://github.com/samvera-labs/bixby/issues/3)
|
|
93
|
+
|
|
94
|
+
**Merged pull requests:**
|
|
95
|
+
|
|
96
|
+
- Ignore block and class length on CatalogController [\#5](https://github.com/samvera-labs/bixby/pull/5) ([no-reply](https://github.com/no-reply))
|
|
97
|
+
- Include 'Capfile' in excluded filenames [\#4](https://github.com/samvera-labs/bixby/pull/4) ([mark-dce](https://github.com/mark-dce))
|
|
98
|
+
|
|
99
|
+
## [v0.2.1](https://github.com/samvera-labs/bixby/tree/v0.2.1) (2017-06-01)
|
|
100
|
+
|
|
101
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.2.0...v0.2.1)
|
|
102
|
+
|
|
103
|
+
**Merged pull requests:**
|
|
104
|
+
|
|
105
|
+
- Add bundler release tasks for easier gem management [\#2](https://github.com/samvera-labs/bixby/pull/2) ([bess](https://github.com/bess))
|
|
106
|
+
- Rubocop 0 49 fixes [\#1](https://github.com/samvera-labs/bixby/pull/1) ([bess](https://github.com/bess))
|
|
107
|
+
|
|
108
|
+
## [v0.2.0](https://github.com/samvera-labs/bixby/tree/v0.2.0) (2017-03-30)
|
|
109
|
+
|
|
110
|
+
[Full Changelog](https://github.com/samvera-labs/bixby/compare/8f95541b23cfda44c8a89704127696262284215a...v0.2.0)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
\* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
|
data/Gemfile
ADDED
data/README.md
CHANGED
|
@@ -25,10 +25,28 @@ inherit_gem:
|
|
|
25
25
|
bixby: bixby_default.yml
|
|
26
26
|
```
|
|
27
27
|
|
|
28
|
+
## Versioning & Dependencies
|
|
29
|
+
|
|
30
|
+
This project depends on `rubocop` and `rubocop-rspec`. It supports versions of those gems pessimistically. Beginning with release `1.0.0`, we will periodically add support for new versions of the dependencies and manage the included cops. When compatibility breaks, the major version of `bixby` will be bumped.
|
|
31
|
+
|
|
32
|
+
Our goal is to insulate downstream projects from breakage due to pre-1.0 version updates in `rubocop`.
|
|
33
|
+
|
|
28
34
|
## License
|
|
29
35
|
|
|
30
36
|
Bixby is available under [the Apache 2.0 license](LICENSE.md).
|
|
31
37
|
|
|
38
|
+
## Releasing
|
|
39
|
+
|
|
40
|
+
1. `bundle install`
|
|
41
|
+
1. Increase the version number in `bixby.gemspec`
|
|
42
|
+
1. Increase the same version number in `.github_changelog_generator`
|
|
43
|
+
1. Update `CHANGELOG.md` by running this command:
|
|
44
|
+
```
|
|
45
|
+
github_changelog_generator --user samvera-labs --project bixby --token YOUR_GITHUB_TOKEN_HERE
|
|
46
|
+
```
|
|
47
|
+
1. Commit these changes to the master branch
|
|
48
|
+
1. Run `rake release`
|
|
49
|
+
|
|
32
50
|
## Acknowledgments
|
|
33
51
|
|
|
34
52
|
This software has been developed by and is brought to you by the Samvera community. Learn more at the
|
data/bixby.gemspec
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
|
2
|
-
|
|
3
1
|
Gem::Specification.new do |spec|
|
|
4
2
|
spec.authors = ['Tom Johnson']
|
|
5
|
-
spec.email = ['tom@
|
|
3
|
+
spec.email = ['johnson.tom@gmail.com']
|
|
6
4
|
spec.description = 'A Style Configuration for RuboCop'
|
|
7
5
|
spec.summary = 'This is the recommended style configuration for use ' \
|
|
8
6
|
'by Samvera Community projects.'
|
|
@@ -12,9 +10,13 @@ Gem::Specification.new do |spec|
|
|
|
12
10
|
spec.name = 'bixby'
|
|
13
11
|
spec.require_paths = ['lib']
|
|
14
12
|
|
|
15
|
-
spec.version = '
|
|
13
|
+
spec.version = '2.1.0'
|
|
16
14
|
spec.license = 'Apache-2.0'
|
|
17
15
|
|
|
18
|
-
spec.add_dependency 'rubocop', '
|
|
19
|
-
spec.add_dependency 'rubocop-
|
|
16
|
+
spec.add_dependency 'rubocop', '0.85.1'
|
|
17
|
+
spec.add_dependency 'rubocop-rails'
|
|
18
|
+
spec.add_dependency 'rubocop-rspec'
|
|
19
|
+
spec.add_dependency 'rubocop-performance'
|
|
20
|
+
|
|
21
|
+
spec.add_development_dependency 'github_changelog_generator'
|
|
20
22
|
end
|
data/bixby_default.yml
CHANGED
|
@@ -1,21 +1,20 @@
|
|
|
1
|
+
require: rubocop-performance
|
|
2
|
+
|
|
1
3
|
AllCops:
|
|
2
|
-
TargetRubyVersion: 2.
|
|
4
|
+
TargetRubyVersion: 2.6
|
|
3
5
|
DisabledByDefault: true
|
|
4
6
|
DisplayCopNames: true
|
|
5
|
-
Include:
|
|
6
|
-
- '**/Rakefile'
|
|
7
|
-
- '**/config.ru'
|
|
8
7
|
Exclude:
|
|
9
8
|
- 'db/**/*'
|
|
10
9
|
- 'script/**/*'
|
|
10
|
+
- 'tmp/**/*'
|
|
11
11
|
- 'vendor/**/*'
|
|
12
|
+
- 'node_modules/**/*'
|
|
12
13
|
|
|
13
14
|
inherit_from:
|
|
14
15
|
- bixby_rails_enabled.yml
|
|
15
16
|
- bixby_rspec_enabled.yml
|
|
16
17
|
|
|
17
|
-
# These are all the cops that are enabled in the default configuration.
|
|
18
|
-
|
|
19
18
|
Style/Alias:
|
|
20
19
|
Enabled: true
|
|
21
20
|
|
|
@@ -43,9 +42,6 @@ Style/BlockComments:
|
|
|
43
42
|
Style/BlockDelimiters:
|
|
44
43
|
Enabled: true
|
|
45
44
|
|
|
46
|
-
Style/BracesAroundHashParameters:
|
|
47
|
-
Enabled: true
|
|
48
|
-
|
|
49
45
|
Style/CaseEquality:
|
|
50
46
|
Enabled: true
|
|
51
47
|
|
|
@@ -121,9 +117,6 @@ Style/EvenOdd:
|
|
|
121
117
|
Style/FrozenStringLiteralComment:
|
|
122
118
|
Enabled: true
|
|
123
119
|
|
|
124
|
-
Style/FlipFlop:
|
|
125
|
-
Enabled: true
|
|
126
|
-
|
|
127
120
|
Style/For:
|
|
128
121
|
Enabled: true
|
|
129
122
|
|
|
@@ -172,7 +165,10 @@ Style/MethodCallWithoutArgsParentheses:
|
|
|
172
165
|
Style/MethodDefParentheses:
|
|
173
166
|
Enabled: true
|
|
174
167
|
|
|
175
|
-
Style/
|
|
168
|
+
Style/MethodMissingSuper:
|
|
169
|
+
Enabled: true
|
|
170
|
+
|
|
171
|
+
Style/MissingRespondToMissing:
|
|
176
172
|
Enabled: true
|
|
177
173
|
|
|
178
174
|
Style/ModuleFunction:
|
|
@@ -284,9 +280,15 @@ Style/RedundantReturn:
|
|
|
284
280
|
Style/RedundantSelf:
|
|
285
281
|
Enabled: true
|
|
286
282
|
|
|
283
|
+
Style/RedundantSortBy:
|
|
284
|
+
Enabled: true
|
|
285
|
+
|
|
287
286
|
Style/RescueModifier:
|
|
288
287
|
Enabled: true
|
|
289
288
|
|
|
289
|
+
Style/Sample:
|
|
290
|
+
Enabled: true
|
|
291
|
+
|
|
290
292
|
Style/SafeNavigation:
|
|
291
293
|
Enabled: true
|
|
292
294
|
|
|
@@ -327,7 +329,10 @@ Style/TernaryParentheses:
|
|
|
327
329
|
Style/TrailingCommaInArguments:
|
|
328
330
|
Enabled: true
|
|
329
331
|
|
|
330
|
-
Style/
|
|
332
|
+
Style/TrailingCommaInArrayLiteral:
|
|
333
|
+
Enabled: true
|
|
334
|
+
|
|
335
|
+
Style/TrailingCommaInHashLiteral:
|
|
331
336
|
Enabled: true
|
|
332
337
|
|
|
333
338
|
Style/TrivialAccessors:
|
|
@@ -336,13 +341,13 @@ Style/TrivialAccessors:
|
|
|
336
341
|
Style/UnlessElse:
|
|
337
342
|
Enabled: true
|
|
338
343
|
|
|
339
|
-
Style/
|
|
344
|
+
Style/RedundantCapitalW:
|
|
340
345
|
Enabled: true
|
|
341
346
|
|
|
342
|
-
Style/
|
|
347
|
+
Style/RedundantInterpolation:
|
|
343
348
|
Enabled: true
|
|
344
349
|
|
|
345
|
-
Style/
|
|
350
|
+
Style/RedundantPercentQ:
|
|
346
351
|
Enabled: true
|
|
347
352
|
|
|
348
353
|
Style/TrailingUnderscoreVariable:
|
|
@@ -366,13 +371,16 @@ Style/ZeroLengthPredicate:
|
|
|
366
371
|
|
|
367
372
|
#################### Layout ###############################
|
|
368
373
|
|
|
369
|
-
Layout/
|
|
374
|
+
Layout/ArrayAlignment:
|
|
370
375
|
Enabled: true
|
|
371
376
|
|
|
372
|
-
Layout/
|
|
377
|
+
Layout/HashAlignment:
|
|
373
378
|
Enabled: true
|
|
374
379
|
|
|
375
|
-
Layout/
|
|
380
|
+
Layout/ParameterAlignment:
|
|
381
|
+
Enabled: true
|
|
382
|
+
|
|
383
|
+
Layout/BlockAlignment:
|
|
376
384
|
Enabled: true
|
|
377
385
|
|
|
378
386
|
Layout/BlockEndNewline:
|
|
@@ -384,15 +392,24 @@ Layout/CaseIndentation:
|
|
|
384
392
|
Layout/ClosingParenthesisIndentation:
|
|
385
393
|
Enabled: true
|
|
386
394
|
|
|
395
|
+
Layout/ConditionPosition:
|
|
396
|
+
Enabled: true
|
|
397
|
+
|
|
387
398
|
Layout/CommentIndentation:
|
|
388
399
|
Enabled: true
|
|
389
400
|
|
|
401
|
+
Layout/DefEndAlignment:
|
|
402
|
+
Enabled: true
|
|
403
|
+
|
|
390
404
|
Layout/DotPosition:
|
|
391
405
|
Enabled: true
|
|
392
406
|
|
|
393
407
|
Layout/ElseAlignment:
|
|
394
408
|
Enabled: true
|
|
395
409
|
|
|
410
|
+
Layout/EndAlignment:
|
|
411
|
+
Enabled: true
|
|
412
|
+
|
|
396
413
|
Layout/EmptyLineBetweenDefs:
|
|
397
414
|
Enabled: true
|
|
398
415
|
|
|
@@ -420,6 +437,9 @@ Layout/EndOfLine:
|
|
|
420
437
|
Layout/ExtraSpacing:
|
|
421
438
|
Enabled: true
|
|
422
439
|
|
|
440
|
+
Layout/IndentationStyle:
|
|
441
|
+
Enabled: true
|
|
442
|
+
|
|
423
443
|
Layout/InitialIndentation:
|
|
424
444
|
Enabled: true
|
|
425
445
|
|
|
@@ -430,18 +450,18 @@ Layout/IndentationConsistency:
|
|
|
430
450
|
SupportedStyles:
|
|
431
451
|
- normal
|
|
432
452
|
- rails
|
|
433
|
-
EnforcedStyle:
|
|
453
|
+
EnforcedStyle: normal
|
|
434
454
|
|
|
435
455
|
Layout/IndentationWidth:
|
|
436
456
|
Enabled: true
|
|
437
457
|
|
|
438
|
-
Layout/
|
|
458
|
+
Layout/FirstArrayElementIndentation:
|
|
439
459
|
Enabled: true
|
|
440
460
|
|
|
441
|
-
Layout/
|
|
461
|
+
Layout/AssignmentIndentation:
|
|
442
462
|
Enabled: true
|
|
443
463
|
|
|
444
|
-
Layout/
|
|
464
|
+
Layout/FirstHashElementIndentation:
|
|
445
465
|
Enabled: true
|
|
446
466
|
|
|
447
467
|
Layout/SpaceInLambdaLiteral:
|
|
@@ -450,6 +470,12 @@ Layout/SpaceInLambdaLiteral:
|
|
|
450
470
|
Layout/LeadingCommentSpace:
|
|
451
471
|
Enabled: true
|
|
452
472
|
|
|
473
|
+
Layout/LineLength:
|
|
474
|
+
Enabled: true
|
|
475
|
+
Max: 200
|
|
476
|
+
Exclude:
|
|
477
|
+
- '**/*.gemspec'
|
|
478
|
+
|
|
453
479
|
Layout/MultilineArrayBraceLayout:
|
|
454
480
|
Enabled: true
|
|
455
481
|
|
|
@@ -525,7 +551,10 @@ Layout/SpaceInsideArrayPercentLiteral:
|
|
|
525
551
|
Layout/SpaceInsidePercentLiteralDelimiters:
|
|
526
552
|
Enabled: true
|
|
527
553
|
|
|
528
|
-
Layout/
|
|
554
|
+
Layout/SpaceInsideReferenceBrackets:
|
|
555
|
+
Enabled: true
|
|
556
|
+
|
|
557
|
+
Layout/SpaceInsideArrayLiteralBrackets:
|
|
529
558
|
Enabled: true
|
|
530
559
|
|
|
531
560
|
Layout/SpaceInsideHashLiteralBraces:
|
|
@@ -540,10 +569,7 @@ Layout/SpaceInsideRangeLiteral:
|
|
|
540
569
|
Layout/SpaceInsideStringInterpolation:
|
|
541
570
|
Enabled: true
|
|
542
571
|
|
|
543
|
-
Layout/
|
|
544
|
-
Enabled: true
|
|
545
|
-
|
|
546
|
-
Layout/TrailingBlankLines:
|
|
572
|
+
Layout/TrailingEmptyLines:
|
|
547
573
|
Enabled: true
|
|
548
574
|
|
|
549
575
|
Layout/TrailingWhitespace:
|
|
@@ -557,7 +583,7 @@ Naming/AccessorMethodName:
|
|
|
557
583
|
Naming/AsciiIdentifiers:
|
|
558
584
|
Enabled: true
|
|
559
585
|
|
|
560
|
-
Naming/
|
|
586
|
+
Naming/BinaryOperatorParameterName:
|
|
561
587
|
Enabled: true
|
|
562
588
|
|
|
563
589
|
Naming/ClassAndModuleCamelCase:
|
|
@@ -606,12 +632,6 @@ Metrics/ModuleLength:
|
|
|
606
632
|
Metrics/CyclomaticComplexity:
|
|
607
633
|
Enabled: true
|
|
608
634
|
|
|
609
|
-
Metrics/LineLength:
|
|
610
|
-
Enabled: true
|
|
611
|
-
Max: 200
|
|
612
|
-
Exclude:
|
|
613
|
-
- '**/*.gemspec'
|
|
614
|
-
|
|
615
635
|
Metrics/MethodLength:
|
|
616
636
|
Enabled: true
|
|
617
637
|
Max: 14
|
|
@@ -641,21 +661,12 @@ Lint/AmbiguousRegexpLiteral:
|
|
|
641
661
|
Lint/AssignmentInCondition:
|
|
642
662
|
Enabled: true
|
|
643
663
|
|
|
644
|
-
Lint/BlockAlignment:
|
|
645
|
-
Enabled: true
|
|
646
|
-
|
|
647
664
|
Lint/CircularArgumentReference:
|
|
648
665
|
Enabled: true
|
|
649
666
|
|
|
650
|
-
Lint/ConditionPosition:
|
|
651
|
-
Enabled: true
|
|
652
|
-
|
|
653
667
|
Lint/Debugger:
|
|
654
668
|
Enabled: true
|
|
655
669
|
|
|
656
|
-
Lint/DefEndAlignment:
|
|
657
|
-
Enabled: true
|
|
658
|
-
|
|
659
670
|
Lint/DeprecatedClassMethods:
|
|
660
671
|
Enabled: true
|
|
661
672
|
|
|
@@ -665,7 +676,7 @@ Lint/DuplicateCaseCondition:
|
|
|
665
676
|
Lint/DuplicateMethods:
|
|
666
677
|
Enabled: true
|
|
667
678
|
|
|
668
|
-
Lint/
|
|
679
|
+
Lint/DuplicateHashKey:
|
|
669
680
|
Enabled: true
|
|
670
681
|
|
|
671
682
|
Lint/EachWithObjectArgument:
|
|
@@ -687,13 +698,13 @@ Lint/EmptyInterpolation:
|
|
|
687
698
|
Lint/EmptyWhen:
|
|
688
699
|
Enabled: true
|
|
689
700
|
|
|
690
|
-
|
|
701
|
+
Style/EndBlock:
|
|
691
702
|
Enabled: true
|
|
692
703
|
|
|
693
|
-
Lint/
|
|
704
|
+
Lint/EnsureReturn:
|
|
694
705
|
Enabled: true
|
|
695
706
|
|
|
696
|
-
Lint/
|
|
707
|
+
Lint/FlipFlop:
|
|
697
708
|
Enabled: true
|
|
698
709
|
|
|
699
710
|
Lint/FloatOutOfRange:
|
|
@@ -702,7 +713,7 @@ Lint/FloatOutOfRange:
|
|
|
702
713
|
Lint/FormatParameterMismatch:
|
|
703
714
|
Enabled: true
|
|
704
715
|
|
|
705
|
-
Lint/
|
|
716
|
+
Lint/SuppressedException:
|
|
706
717
|
Enabled: true
|
|
707
718
|
|
|
708
719
|
Lint/ImplicitStringConcatenation:
|
|
@@ -714,7 +725,7 @@ Lint/IneffectiveAccessModifier:
|
|
|
714
725
|
Lint/InheritException:
|
|
715
726
|
Enabled: true
|
|
716
727
|
|
|
717
|
-
Lint/
|
|
728
|
+
Lint/LiteralAsCondition:
|
|
718
729
|
Enabled: true
|
|
719
730
|
|
|
720
731
|
Lint/LiteralInInterpolation:
|
|
@@ -723,7 +734,7 @@ Lint/LiteralInInterpolation:
|
|
|
723
734
|
Lint/Loop:
|
|
724
735
|
Enabled: true
|
|
725
736
|
|
|
726
|
-
Lint/
|
|
737
|
+
Lint/MultipleComparison:
|
|
727
738
|
Enabled: true
|
|
728
739
|
|
|
729
740
|
Lint/NestedMethodDefinition:
|
|
@@ -763,7 +774,7 @@ Lint/ShadowedException:
|
|
|
763
774
|
Lint/ShadowingOuterLocalVariable:
|
|
764
775
|
Enabled: true
|
|
765
776
|
|
|
766
|
-
Lint/
|
|
777
|
+
Lint/RedundantStringCoercion:
|
|
767
778
|
Enabled: true
|
|
768
779
|
|
|
769
780
|
Lint/UnderscorePrefixedVariableName:
|
|
@@ -772,10 +783,7 @@ Lint/UnderscorePrefixedVariableName:
|
|
|
772
783
|
Lint/UnifiedInteger:
|
|
773
784
|
Enabled: true
|
|
774
785
|
|
|
775
|
-
Lint/
|
|
776
|
-
Enabled: true
|
|
777
|
-
|
|
778
|
-
Lint/UnneededSplatExpansion:
|
|
786
|
+
Lint/RedundantSplatExpansion:
|
|
779
787
|
Enabled: true
|
|
780
788
|
|
|
781
789
|
Lint/UnusedBlockArgument:
|
|
@@ -819,8 +827,8 @@ Performance/Count:
|
|
|
819
827
|
# This cop has known compatibility issues with `ActiveRecord` and other
|
|
820
828
|
# frameworks. ActiveRecord's `count` ignores the block that is passed to it.
|
|
821
829
|
# For more information, see the documentation in the cop itself.
|
|
822
|
-
# If you understand the known risk, you can disable `
|
|
823
|
-
|
|
830
|
+
# If you understand the known risk, you can disable `SafeAutoCorrect`.
|
|
831
|
+
SafeAutoCorrect: true
|
|
824
832
|
Enabled: true
|
|
825
833
|
|
|
826
834
|
Performance/Detect:
|
|
@@ -828,7 +836,7 @@ Performance/Detect:
|
|
|
828
836
|
# frameworks. `ActiveRecord` does not implement a `detect` method and `find`
|
|
829
837
|
# has its own meaning. Correcting `ActiveRecord` methods with this cop
|
|
830
838
|
# should be considered unsafe.
|
|
831
|
-
|
|
839
|
+
SafeAutoCorrect: true
|
|
832
840
|
Enabled: true
|
|
833
841
|
|
|
834
842
|
Performance/DoubleStartEndWith:
|
|
@@ -852,13 +860,6 @@ Performance/FlatMap:
|
|
|
852
860
|
# This can be dangerous since `flat_map` will only flatten 1 level, and
|
|
853
861
|
# `flatten` without any parameters can flatten multiple levels.
|
|
854
862
|
|
|
855
|
-
Performance/HashEachMethods:
|
|
856
|
-
Enabled: true
|
|
857
|
-
AutoCorrect: false
|
|
858
|
-
|
|
859
|
-
Performance/LstripRstrip:
|
|
860
|
-
Enabled: true
|
|
861
|
-
|
|
862
863
|
Performance/RangeInclude:
|
|
863
864
|
Enabled: true
|
|
864
865
|
|
|
@@ -871,18 +872,12 @@ Performance/RedundantMatch:
|
|
|
871
872
|
Performance/RedundantMerge:
|
|
872
873
|
Enabled: true
|
|
873
874
|
|
|
874
|
-
Performance/RedundantSortBy:
|
|
875
|
-
Enabled: true
|
|
876
|
-
|
|
877
875
|
Performance/RegexpMatch:
|
|
878
876
|
Enabled: true
|
|
879
877
|
|
|
880
878
|
Performance/ReverseEach:
|
|
881
879
|
Enabled: true
|
|
882
880
|
|
|
883
|
-
Performance/Sample:
|
|
884
|
-
Enabled: true
|
|
885
|
-
|
|
886
881
|
Performance/Size:
|
|
887
882
|
Enabled: true
|
|
888
883
|
|
data/bixby_rails_enabled.yml
CHANGED
data/bixby_rspec_enabled.yml
CHANGED
|
@@ -45,13 +45,6 @@ RSpec/ExpectActual:
|
|
|
45
45
|
RSpec/ExpectOutput:
|
|
46
46
|
Enabled: true
|
|
47
47
|
|
|
48
|
-
RSpec/FilePath:
|
|
49
|
-
Enabled: true
|
|
50
|
-
CustomTransform:
|
|
51
|
-
RuboCop: rubocop
|
|
52
|
-
RSpec: rspec
|
|
53
|
-
IgnoreMethods: false
|
|
54
|
-
|
|
55
48
|
RSpec/Focus:
|
|
56
49
|
Enabled: true
|
|
57
50
|
|
|
@@ -100,10 +93,6 @@ RSpec/MessageSpies:
|
|
|
100
93
|
RSpec/MultipleDescribes:
|
|
101
94
|
Enabled: true
|
|
102
95
|
|
|
103
|
-
RSpec/MultipleExpectations:
|
|
104
|
-
Enabled: true
|
|
105
|
-
Max: 1
|
|
106
|
-
|
|
107
96
|
RSpec/NamedSubject:
|
|
108
97
|
Enabled: true
|
|
109
98
|
|
metadata
CHANGED
|
@@ -1,63 +1,96 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bixby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tom Johnson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2020-06-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubocop
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- -
|
|
17
|
+
- - '='
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
|
-
version:
|
|
20
|
-
- - "<="
|
|
21
|
-
- !ruby/object:Gem::Version
|
|
22
|
-
version: 0.50.0
|
|
19
|
+
version: 0.85.1
|
|
23
20
|
type: :runtime
|
|
24
21
|
prerelease: false
|
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
26
23
|
requirements:
|
|
27
|
-
- -
|
|
24
|
+
- - '='
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 0.85.1
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: rubocop-rails
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
28
32
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '0
|
|
30
|
-
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :runtime
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
31
39
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 0
|
|
40
|
+
version: '0'
|
|
33
41
|
- !ruby/object:Gem::Dependency
|
|
34
42
|
name: rubocop-rspec
|
|
35
43
|
requirement: !ruby/object:Gem::Requirement
|
|
36
44
|
requirements:
|
|
37
|
-
- - "
|
|
45
|
+
- - ">="
|
|
46
|
+
- !ruby/object:Gem::Version
|
|
47
|
+
version: '0'
|
|
48
|
+
type: :runtime
|
|
49
|
+
prerelease: false
|
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
51
|
+
requirements:
|
|
52
|
+
- - ">="
|
|
38
53
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: '
|
|
40
|
-
|
|
54
|
+
version: '0'
|
|
55
|
+
- !ruby/object:Gem::Dependency
|
|
56
|
+
name: rubocop-performance
|
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
|
58
|
+
requirements:
|
|
59
|
+
- - ">="
|
|
41
60
|
- !ruby/object:Gem::Version
|
|
42
|
-
version:
|
|
61
|
+
version: '0'
|
|
43
62
|
type: :runtime
|
|
44
63
|
prerelease: false
|
|
45
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
46
65
|
requirements:
|
|
47
|
-
- - "
|
|
66
|
+
- - ">="
|
|
67
|
+
- !ruby/object:Gem::Version
|
|
68
|
+
version: '0'
|
|
69
|
+
- !ruby/object:Gem::Dependency
|
|
70
|
+
name: github_changelog_generator
|
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
|
72
|
+
requirements:
|
|
73
|
+
- - ">="
|
|
48
74
|
- !ruby/object:Gem::Version
|
|
49
|
-
version: '
|
|
50
|
-
|
|
75
|
+
version: '0'
|
|
76
|
+
type: :development
|
|
77
|
+
prerelease: false
|
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
+
requirements:
|
|
80
|
+
- - ">="
|
|
51
81
|
- !ruby/object:Gem::Version
|
|
52
|
-
version:
|
|
82
|
+
version: '0'
|
|
53
83
|
description: A Style Configuration for RuboCop
|
|
54
84
|
email:
|
|
55
|
-
- tom@
|
|
85
|
+
- johnson.tom@gmail.com
|
|
56
86
|
executables: []
|
|
57
87
|
extensions: []
|
|
58
88
|
extra_rdoc_files: []
|
|
59
89
|
files:
|
|
90
|
+
- ".github_changelog_generator"
|
|
60
91
|
- ".gitignore"
|
|
92
|
+
- CHANGELOG.md
|
|
93
|
+
- Gemfile
|
|
61
94
|
- LICENSE
|
|
62
95
|
- README.md
|
|
63
96
|
- Rakefile
|
|
@@ -85,8 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
85
118
|
- !ruby/object:Gem::Version
|
|
86
119
|
version: '0'
|
|
87
120
|
requirements: []
|
|
88
|
-
|
|
89
|
-
rubygems_version: 2.6.13
|
|
121
|
+
rubygems_version: 3.1.2
|
|
90
122
|
signing_key:
|
|
91
123
|
specification_version: 4
|
|
92
124
|
summary: This is the recommended style configuration for use by Samvera Community
|