bixby 2.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 98071ddaf1aae7fa578581301c5c0e633dbdcb347bf20119a598f99a4d134b87
4
- data.tar.gz: 6e1404ed5873453783a7050215a9cfd57b378b16d249e1da61b092aea6a8e6f1
3
+ metadata.gz: 87552958616255b35a3f50738ab1d6f90c7ceab733e491e60bf7e348bae562ae
4
+ data.tar.gz: 6f5fd49b832323c3500483141542cfa15140c5c696a2994f0a1562b0940b7287
5
5
  SHA512:
6
- metadata.gz: c36a71ff3335fd24e72773a636030943f1a1782d643d6d3a57e5b69c8038a6a7b90a337222f54952f375f3938ea433160f484010c25eade5824c1e174d0fdbba
7
- data.tar.gz: cc4f54449fdf1457c93d376cf3d224fd1c1a4b8965d7916b92418b74680aac319ceb3745114d84d8ef54197870c3465fab2b3662a603dd7a71c26a1c118231e0
6
+ metadata.gz: 869c5b1f503eadd3edb2864d614bf40f0f032670ff1592cc59b3c5aa4bd0e576f259fc5c0b20795c484252fd13869a73502365c80f13fbe7b41cf2cf49ac3bb5
7
+ data.tar.gz: 40ee0c7005679a15eacd3fafb2b0f986f801d3e447fc48ac8c88a0cd858906f79cf8c500e332977e02c51e01d46c8ff496425bc1f0c55ca1a3eb228ebe24cfd8
@@ -0,0 +1,55 @@
1
+ version: 2.1
2
+
3
+ orbs:
4
+ samvera: samvera/circleci-orb@0
5
+
6
+ jobs:
7
+ bundle_lint_test:
8
+ parameters:
9
+ ruby_version:
10
+ type: string
11
+ project:
12
+ type: string
13
+ bundler_version:
14
+ type: string
15
+ default: 1.17.3
16
+
17
+ executor:
18
+ name: 'samvera/ruby'
19
+ ruby_version: << parameters.ruby_version >>
20
+
21
+ steps:
22
+ - samvera/cached_checkout
23
+
24
+ - samvera/bundle_for_gem:
25
+ ruby_version: << parameters.ruby_version >>
26
+ bundler_version: << parameters.bundler_version >>
27
+ project: << parameters.project >>
28
+ cache_version: '2'
29
+
30
+ - samvera/rubocop
31
+
32
+ workflows:
33
+ version: 2
34
+ ci:
35
+ jobs:
36
+ - bundle_lint_test:
37
+ project: bixby
38
+ name: ruby2-4
39
+ ruby_version: 2.4.10
40
+
41
+ - bundle_lint_test:
42
+ project: bixby
43
+ name: ruby2-5
44
+ ruby_version: 2.5.8
45
+
46
+ - bundle_lint_test:
47
+ project: bixby
48
+ name: ruby2-6
49
+ ruby_version: 2.6.6
50
+
51
+ - bundle_lint_test:
52
+ project: bixby
53
+ name: ruby2-7
54
+ ruby_version: 2.7.1
55
+
@@ -1,2 +1,2 @@
1
1
  unreleased=true
2
- future-release=2.0.0
2
+ future-release=3.0.1
@@ -1,8 +1,74 @@
1
1
  # Changelog
2
2
 
3
- ## [2.0.0](https://github.com/samvera-labs/bixby/tree/2.0.0) (2019-12-10)
3
+ ## [3.0.1](https://github.com/samvera-labs/bixby/tree/3.0.1) (2020-06-16)
4
4
 
5
- [Full Changelog](https://github.com/samvera-labs/bixby/compare/v2.0.0.pre.beta1...2.0.0)
5
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v3.0.0...3.0.1)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - Removes IndentationConsistency supported styles [\#45](https://github.com/samvera-labs/bixby/pull/45) ([rotated8](https://github.com/rotated8))
10
+ - allow non-ascii characters in comments [\#44](https://github.com/samvera-labs/bixby/pull/44) ([no-reply](https://github.com/no-reply))
11
+
12
+ ## [v3.0.0](https://github.com/samvera-labs/bixby/tree/v3.0.0) (2020-06-10)
13
+
14
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v3.0.0.pre3...v3.0.0)
15
+
16
+ **Merged pull requests:**
17
+
18
+ - Prep for 3.0.0 release [\#43](https://github.com/samvera-labs/bixby/pull/43) ([bess](https://github.com/bess))
19
+ - Prep for 3.0.0.pre3 release [\#42](https://github.com/samvera-labs/bixby/pull/42) ([bess](https://github.com/bess))
20
+
21
+ ## [v3.0.0.pre3](https://github.com/samvera-labs/bixby/tree/v3.0.0.pre3) (2020-06-10)
22
+
23
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v3.0.0.pre2...v3.0.0.pre3)
24
+
25
+ **Merged pull requests:**
26
+
27
+ - Disable Rails/DynamicFindBy [\#41](https://github.com/samvera-labs/bixby/pull/41) ([bess](https://github.com/bess))
28
+
29
+ ## [v3.0.0.pre2](https://github.com/samvera-labs/bixby/tree/v3.0.0.pre2) (2020-06-10)
30
+
31
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v3.0.0.pre1...v3.0.0.pre2)
32
+
33
+ **Merged pull requests:**
34
+
35
+ - Prep for 3.0.0.pre2 release [\#40](https://github.com/samvera-labs/bixby/pull/40) ([bess](https://github.com/bess))
36
+ - 3.0.0 fixup [\#39](https://github.com/samvera-labs/bixby/pull/39) ([no-reply](https://github.com/no-reply))
37
+
38
+ ## [v3.0.0.pre1](https://github.com/samvera-labs/bixby/tree/v3.0.0.pre1) (2020-06-10)
39
+
40
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v3.0.0.pre.pre1...v3.0.0.pre1)
41
+
42
+ **Merged pull requests:**
43
+
44
+ - Fix gem version [\#38](https://github.com/samvera-labs/bixby/pull/38) ([bess](https://github.com/bess))
45
+
46
+ ## [v3.0.0.pre.pre1](https://github.com/samvera-labs/bixby/tree/v3.0.0.pre.pre1) (2020-06-10)
47
+
48
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v2.1.0...v3.0.0.pre.pre1)
49
+
50
+ **Implemented enhancements:**
51
+
52
+ - Request to promote this Gem to samvera [\#33](https://github.com/samvera-labs/bixby/issues/33)
53
+
54
+ **Merged pull requests:**
55
+
56
+ - Prep for 3.0.0-pre1 release [\#37](https://github.com/samvera-labs/bixby/pull/37) ([bess](https://github.com/bess))
57
+ - Prepares the Gem for promotion [\#34](https://github.com/samvera-labs/bixby/pull/34) ([jrgriffiniii](https://github.com/jrgriffiniii))
58
+
59
+ ## [v2.1.0](https://github.com/samvera-labs/bixby/tree/v2.1.0) (2020-06-09)
60
+
61
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v2.0.0...v2.1.0)
62
+
63
+ **Merged pull requests:**
64
+
65
+ - Prep for 2.1.0 release [\#36](https://github.com/samvera-labs/bixby/pull/36) ([bess](https://github.com/bess))
66
+ - Upgrade rubocop and dependencies [\#35](https://github.com/samvera-labs/bixby/pull/35) ([bess](https://github.com/bess))
67
+ - Prep for 2.0 release [\#31](https://github.com/samvera-labs/bixby/pull/31) ([bess](https://github.com/bess))
68
+
69
+ ## [v2.0.0](https://github.com/samvera-labs/bixby/tree/v2.0.0) (2019-12-10)
70
+
71
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v2.0.0.pre.beta1...v2.0.0)
6
72
 
7
73
  **Closed issues:**
8
74
 
@@ -22,6 +88,7 @@
22
88
  **Merged pull requests:**
23
89
 
24
90
  - Bixby 2.0 [\#28](https://github.com/samvera-labs/bixby/pull/28) ([no-reply](https://github.com/no-reply))
91
+ - Bump version to 1.0.0-rc1 [\#21](https://github.com/samvera-labs/bixby/pull/21) ([no-reply](https://github.com/no-reply))
25
92
 
26
93
  ## [1.0.0](https://github.com/samvera-labs/bixby/tree/1.0.0) (2018-02-13)
27
94
 
@@ -46,7 +113,6 @@
46
113
 
47
114
  **Merged pull requests:**
48
115
 
49
- - Bump version to 1.0.0-rc1 [\#21](https://github.com/samvera-labs/bixby/pull/21) ([no-reply](https://github.com/no-reply))
50
116
  - 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))
51
117
  - Remove Lint/InvalidCharacterLiteral, fixes \#15 [\#16](https://github.com/samvera-labs/bixby/pull/16) ([hackmastera](https://github.com/hackmastera))
52
118
  - Update READEME.md to discuss versioning strategy [\#13](https://github.com/samvera-labs/bixby/pull/13) ([no-reply](https://github.com/no-reply))
@@ -0,0 +1,36 @@
1
+ The Samvera community is dedicated to providing a welcoming and
2
+ positive experience for all its members, whether they are at a formal
3
+ gathering, in a social setting, or taking part in activities online.
4
+ The Samvera community welcomes participation from people all over the
5
+ world and these members bring with them a wide variety of
6
+ professional, personal and social backgrounds; whatever these may be,
7
+ we treat colleagues with dignity and respect.
8
+
9
+ Community members communicate primarily in English, though for many of
10
+ them this is not their native language. We therefore strive to express
11
+ ourselves simply and clearly remembering that unnecessary use of
12
+ jargon and slang will be a barrier to understanding for many of our
13
+ colleagues. We are sensitive to the fact that the international
14
+ nature of the community means that we span many different social norms
15
+ around language and behaviour and we strive to conduct ourselves,
16
+ online and in person, in ways that are unlikely to cause offence.
17
+
18
+ Samvera conversations are often information-rich and intended to
19
+ generate discussion and debate. We discuss ideas from a standpoint of
20
+ mutual respect and reasoned argument.
21
+
22
+ Community members work together to promote a respectful and safe
23
+ community. In the event that someone’s conduct is causing offence or
24
+ distress, Samvera has a detailed
25
+ [Anti-Harassment Policy and Protocol](https://wiki.duraspace.org/display/samvera/Anti-Harassment+Policy)
26
+ which can be applied to address the problem. The first step in dealing
27
+ with any serious misconduct is to contact a local meeting organizer,
28
+ the
29
+ [Samvera community helpers](https://wiki.duraspace.org/display/samvera/Samvera+Community+Helpers)
30
+ ([email](mailto:helpers@samvera.org)), a community member you
31
+ trust, or the
32
+ [Samvera Steering Group](https://wiki.duraspace.org/display/samvera/Samvera+Steering+Group+membership)
33
+ immediately; at Samvera events, these people can be identified by
34
+ distinctive name badges. The
35
+ [Policy and Protocol](https://wiki.duraspace.org/display/samvera/Anti-Harassment+Policy)
36
+ should be consulted for fuller details.
@@ -0,0 +1,161 @@
1
+ # How to Contribute
2
+
3
+ We want your help to make the Samvera community great. There are a few guidelines
4
+ that we need contributors to follow so that we can have a chance of
5
+ keeping on top of things.
6
+
7
+ ## Code of Conduct
8
+
9
+ The Samvera Community is dedicated to providing a welcoming and positive
10
+ experience for all its members, whether they are at a formal gathering, in
11
+ a social setting, or taking part in activities online. Please see our
12
+ [Code of Conduct](CODE_OF_CONDUCT.md) for more information.
13
+
14
+ ## Samvera Community Intellectual Property Licensing and Ownership
15
+
16
+ All code contributors must have an Individual Contributor License Agreement
17
+ (iCLA) on file with the Samvera Steering Group. If the contributor works for
18
+ an institution, the institution must have a Corporate Contributor License
19
+ Agreement (cCLA) on file.
20
+
21
+ https://wiki.duraspace.org/display/samvera/Samvera+Community+Intellectual+Property+Licensing+and+Ownership
22
+
23
+ You should also add yourself to the `CONTRIBUTORS.md` file in the root of the project.
24
+
25
+ ## Contribution Tasks
26
+
27
+ * Reporting Issues
28
+ * Making Changes
29
+ * Documenting Code
30
+ * Committing Changes
31
+ * Submitting Changes
32
+ * Reviewing and Merging Changes
33
+
34
+ ### Reporting Issues
35
+
36
+ * Make sure you have a [GitHub account](https://github.com/signup/free)
37
+ * Submit a [Github issue](https://github.com/samvera/bixby/issues/) by:
38
+ * Clearly describing the issue
39
+ * Provide a descriptive summary
40
+ * Explain the expected behavior
41
+ * Explain the actual behavior
42
+ * Provide steps to reproduce the actual behavior
43
+
44
+ ### Making Changes
45
+
46
+ * Fork the repository on GitHub
47
+ * Create a topic branch from where you want to base your work.
48
+ * This is usually the master branch.
49
+ * To quickly create a topic branch based on master; `git branch fix/master/my_contribution master`
50
+ * Then checkout the new branch with `git checkout fix/master/my_contribution`.
51
+ * Please avoid working directly on the `master` branch.
52
+ * You may find the [hub suite of commands](https://github.com/defunkt/hub) helpful
53
+ * Make sure you have added sufficient tests and documentation for your changes.
54
+ * Test functionality with RSpec; Test features / UI with Capybara.
55
+ * Run _all_ the tests to assure nothing else was accidentally broken.
56
+
57
+ ### Documenting Code
58
+
59
+ * All new public methods, modules, and classes should include inline documentation in [YARD](http://yardoc.org/).
60
+ * Documentation should seek to answer the question "why does this code exist?"
61
+ * Document private / protected methods as desired.
62
+ * If you are working in a file with no prior documentation, do try to document as you gain understanding of the code.
63
+ * If you don't know exactly what a bit of code does, it is extra likely that it needs to be documented. Take a stab at it and ask for feedback in your pull request. You can use the 'blame' button on GitHub to identify the original developer of the code and @mention them in your comment.
64
+ * This work greatly increases the usability of the code base and supports the on-ramping of new committers.
65
+ * We will all be understanding of one another's time constraints in this area.
66
+ * [Getting started with YARD](http://www.rubydoc.info/gems/yard/file/docs/GettingStarted.md)
67
+
68
+ ### Committing changes
69
+
70
+ * Make commits of logical units.
71
+ * Check for unnecessary whitespace with `git diff --check` before committing.
72
+ * Make sure your commit messages are [well formed](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
73
+ * If you created an issue, you can close it by including "Closes #issue" in your commit message. See [Github's blog post for more details](https://github.com/blog/1386-closing-issues-via-commit-messages)
74
+
75
+ ```
76
+ Present tense short summary (50 characters or less)
77
+
78
+ More detailed description, if necessary. It should be wrapped to 72
79
+ characters. Try to be as descriptive as you can, even if you think that
80
+ the commit content is obvious, it may not be obvious to others. You
81
+ should add such description also if it's already present in bug tracker,
82
+ it should not be necessary to visit a webpage to check the history.
83
+
84
+ Include Closes #<issue-number> when relavent.
85
+
86
+ Description can have multiple paragraphs and you can use code examples
87
+ inside, just indent it with 4 spaces:
88
+
89
+ class PostsController
90
+ def index
91
+ respond_to do |wants|
92
+ wants.html { render 'index' }
93
+ end
94
+ end
95
+ end
96
+
97
+ You can also add bullet points:
98
+
99
+ - you can use dashes or asterisks
100
+
101
+ - also, try to indent next line of a point for readability, if it's too
102
+ long to fit in 72 characters
103
+ ```
104
+
105
+ * Make sure you have added the necessary tests for your changes.
106
+ * Run _all_ the tests to assure nothing else was accidentally broken.
107
+ * When you are ready to submit a pull request
108
+
109
+ ### Submitting Changes
110
+
111
+ * Read the article ["Using Pull Requests"](https://help.github.com/articles/using-pull-requests) on GitHub.
112
+ * Make sure your branch is up to date with its parent branch (i.e. master)
113
+ * `git checkout master`
114
+ * `git pull --rebase`
115
+ * `git checkout <your-branch>`
116
+ * `git rebase master`
117
+ * It is a good idea to run your tests again.
118
+ * If you've made more than one commit take a moment to consider whether squashing commits together would help improve their logical grouping.
119
+ * [Detailed Walkthrough of One Pull Request per Commit](http://ndlib.github.io/practices/one-commit-per-pull-request/)
120
+ * `git rebase --interactive master` ([See Github help](https://help.github.com/articles/interactive-rebase))
121
+ * Squashing your branch's changes into one commit is "good form" and helps the person merging your request to see everything that is going on.
122
+ * Push your changes to a topic branch in your fork of the repository.
123
+ * Submit a pull request from your fork to the project.
124
+
125
+ ### Reviewing and Merging Changes
126
+
127
+ We adopted [Github's Pull Request Review](https://help.github.com/articles/about-pull-request-reviews/) for our repositories.
128
+ Common checks that may occur in our repositories:
129
+
130
+ 1. Travis CI - where our automated tests are running
131
+ 2. Approval Required - Github enforces at least one person approve a pull request. Also, all reviewers that have chimed in must approve.
132
+
133
+ If one or more of the required checks failed (or are incomplete), the code should not be merged (and the UI will not allow it). If all of the checks have passed, then anyone on the project (including the pull request submitter) may merge the code.
134
+
135
+ *Example: Carolyn submits a pull request, Justin reviews the pull request and approves. However, Justin is still waiting on other checks (Travis CI is usually the culprit), so he does not merge the pull request. Eventually, all of the checks pass. At this point, Carolyn or anyone else may merge the pull request.*
136
+
137
+ #### Things to Consider When Reviewing
138
+
139
+ First, the person contributing the code is putting themselves out there. Be mindful of what you say in a review.
140
+
141
+ * Ask clarifying questions
142
+ * State your understanding and expectations
143
+ * Provide example code or alternate solutions, and explain why
144
+
145
+ This is your chance for a mentoring moment of another developer. Take time to give an honest and thorough review of what has changed. Things to consider:
146
+
147
+ * Does the commit message explain what is going on?
148
+ * Does the code changes have tests? _Not all changes need new tests, some changes are refactorings_
149
+ * Do new or changed methods, modules, and classes have documentation?
150
+ * Does the commit contain more than it should? Are two separate concerns being addressed in one commit?
151
+ * Does the description of the new/changed specs match your understanding of what the spec is doing?
152
+ * Did the Travis tests complete successfully?
153
+
154
+ If you are uncertain, bring other contributors into the conversation by assigning them as a reviewer.
155
+
156
+ # Additional Resources
157
+
158
+ * [General GitHub documentation](http://help.github.com/)
159
+ * [GitHub pull request documentation](https://help.github.com/articles/about-pull-requests/)
160
+ * [Pro Git](http://git-scm.com/book) is both a free and excellent book about Git.
161
+ * [A Git Config for Contributing](http://ndlib.github.io/practices/my-typical-per-project-git-config/)
data/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
1
  # frozen_string_literal: true
2
+
2
3
  source 'https://rubygems.org'
3
4
 
4
5
  gemspec
data/README.md CHANGED
@@ -4,6 +4,7 @@ Bixby: I'd buy that for a dollar!
4
4
  [![Apache 2.0 License](http://img.shields.io/badge/APACHE2-license-blue.svg)](./LICENSE)
5
5
  [![Gem Version](https://badge.fury.io/rb/bixby.svg)](https://badge.fury.io/rb/bixby)
6
6
 
7
+
7
8
  <p align="left">
8
9
  <img src="https://raw.githubusercontent.com/curationexperts/hycop/master/logo/murphy.jpg" alt="Murphy Sketch"/>
9
10
  </p>
data/Rakefile CHANGED
@@ -1 +1,3 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'bundler/gem_tasks'
@@ -0,0 +1,5 @@
1
+ If you would like to report an issue, first search [the list of issues](https://github.com/samvera/bixby/issues/) to see if someone else has already reported it, and then feel free to [create a new issue](https://github.com/samvera/bixby/issues/new).
2
+
3
+ If you have questions or need help, please email [the Samvera community tech list](https://groups.google.com/forum/#!forum/samvera-tech) or stop by the #dev channel in [the Samvera community Slack team](https://wiki.duraspace.org/pages/viewpage.action?pageId=87460391#Getintouch!-Slack).
4
+
5
+ You can learn more about the various Samvera communication channels on the [Get in touch!](https://wiki.duraspace.org/pages/viewpage.action?pageId=87460391) wiki page.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Gem::Specification.new do |spec|
2
4
  spec.authors = ['Tom Johnson']
3
5
  spec.email = ['johnson.tom@gmail.com']
@@ -10,11 +12,13 @@ Gem::Specification.new do |spec|
10
12
  spec.name = 'bixby'
11
13
  spec.require_paths = ['lib']
12
14
 
13
- spec.version = '2.0.0'
15
+ spec.version = '3.0.1'
14
16
  spec.license = 'Apache-2.0'
15
17
 
16
- spec.add_dependency 'rubocop', '0.63.1'
17
- spec.add_dependency 'rubocop-rspec', '1.31.0'
18
+ spec.add_dependency 'rubocop', '0.85.1'
19
+ spec.add_dependency 'rubocop-performance'
20
+ spec.add_dependency 'rubocop-rails'
21
+ spec.add_dependency 'rubocop-rspec'
18
22
 
19
23
  spec.add_development_dependency 'github_changelog_generator'
20
24
  end
@@ -1,5 +1,7 @@
1
+ require: rubocop-performance
2
+
1
3
  AllCops:
2
- TargetRubyVersion: 2.3
4
+ TargetRubyVersion: 2.6
3
5
  DisabledByDefault: true
4
6
  DisplayCopNames: true
5
7
  Exclude:
@@ -22,9 +24,6 @@ Style/AndOr:
22
24
  Style/ArrayJoin:
23
25
  Enabled: true
24
26
 
25
- Style/AsciiComments:
26
- Enabled: true
27
-
28
27
  Style/Attr:
29
28
  Enabled: true
30
29
 
@@ -40,9 +39,6 @@ Style/BlockComments:
40
39
  Style/BlockDelimiters:
41
40
  Enabled: true
42
41
 
43
- Style/BracesAroundHashParameters:
44
- Enabled: true
45
-
46
42
  Style/CaseEquality:
47
43
  Enabled: true
48
44
 
@@ -281,9 +277,15 @@ Style/RedundantReturn:
281
277
  Style/RedundantSelf:
282
278
  Enabled: true
283
279
 
280
+ Style/RedundantSortBy:
281
+ Enabled: true
282
+
284
283
  Style/RescueModifier:
285
284
  Enabled: true
286
285
 
286
+ Style/Sample:
287
+ Enabled: true
288
+
287
289
  Style/SafeNavigation:
288
290
  Enabled: true
289
291
 
@@ -336,13 +338,13 @@ Style/TrivialAccessors:
336
338
  Style/UnlessElse:
337
339
  Enabled: true
338
340
 
339
- Style/UnneededCapitalW:
341
+ Style/RedundantCapitalW:
340
342
  Enabled: true
341
343
 
342
- Style/UnneededInterpolation:
344
+ Style/RedundantInterpolation:
343
345
  Enabled: true
344
346
 
345
- Style/UnneededPercentQ:
347
+ Style/RedundantPercentQ:
346
348
  Enabled: true
347
349
 
348
350
  Style/TrailingUnderscoreVariable:
@@ -366,13 +368,13 @@ Style/ZeroLengthPredicate:
366
368
 
367
369
  #################### Layout ###############################
368
370
 
369
- Layout/AlignArray:
371
+ Layout/ArrayAlignment:
370
372
  Enabled: true
371
373
 
372
- Layout/AlignHash:
374
+ Layout/HashAlignment:
373
375
  Enabled: true
374
376
 
375
- Layout/AlignParameters:
377
+ Layout/ParameterAlignment:
376
378
  Enabled: true
377
379
 
378
380
  Layout/BlockAlignment:
@@ -432,6 +434,9 @@ Layout/EndOfLine:
432
434
  Layout/ExtraSpacing:
433
435
  Enabled: true
434
436
 
437
+ Layout/IndentationStyle:
438
+ Enabled: true
439
+
435
440
  Layout/InitialIndentation:
436
441
  Enabled: true
437
442
 
@@ -439,21 +444,19 @@ Layout/FirstParameterIndentation:
439
444
  Enabled: true
440
445
 
441
446
  Layout/IndentationConsistency:
442
- SupportedStyles:
443
- - normal
444
- - rails
445
- EnforcedStyle: rails
447
+ Enabled: true
448
+ EnforcedStyle: normal
446
449
 
447
450
  Layout/IndentationWidth:
448
451
  Enabled: true
449
452
 
450
- Layout/IndentArray:
453
+ Layout/FirstArrayElementIndentation:
451
454
  Enabled: true
452
455
 
453
- Layout/IndentAssignment:
456
+ Layout/AssignmentIndentation:
454
457
  Enabled: true
455
458
 
456
- Layout/IndentHash:
459
+ Layout/FirstHashElementIndentation:
457
460
  Enabled: true
458
461
 
459
462
  Layout/SpaceInLambdaLiteral:
@@ -462,6 +465,12 @@ Layout/SpaceInLambdaLiteral:
462
465
  Layout/LeadingCommentSpace:
463
466
  Enabled: true
464
467
 
468
+ Layout/LineLength:
469
+ Enabled: true
470
+ Max: 200
471
+ Exclude:
472
+ - '**/*.gemspec'
473
+
465
474
  Layout/MultilineArrayBraceLayout:
466
475
  Enabled: true
467
476
 
@@ -555,10 +564,7 @@ Layout/SpaceInsideRangeLiteral:
555
564
  Layout/SpaceInsideStringInterpolation:
556
565
  Enabled: true
557
566
 
558
- Layout/Tab:
559
- Enabled: true
560
-
561
- Layout/TrailingBlankLines:
567
+ Layout/TrailingEmptyLines:
562
568
  Enabled: true
563
569
 
564
570
  Layout/TrailingWhitespace:
@@ -621,12 +627,6 @@ Metrics/ModuleLength:
621
627
  Metrics/CyclomaticComplexity:
622
628
  Enabled: true
623
629
 
624
- Metrics/LineLength:
625
- Enabled: true
626
- Max: 200
627
- Exclude:
628
- - '**/*.gemspec'
629
-
630
630
  Metrics/MethodLength:
631
631
  Enabled: true
632
632
  Max: 14
@@ -671,7 +671,7 @@ Lint/DuplicateCaseCondition:
671
671
  Lint/DuplicateMethods:
672
672
  Enabled: true
673
673
 
674
- Lint/DuplicatedKey:
674
+ Lint/DuplicateHashKey:
675
675
  Enabled: true
676
676
 
677
677
  Lint/EachWithObjectArgument:
@@ -693,9 +693,6 @@ Lint/EmptyInterpolation:
693
693
  Lint/EmptyWhen:
694
694
  Enabled: true
695
695
 
696
- Lint/EndInMethod:
697
- Enabled: true
698
-
699
696
  Lint/EnsureReturn:
700
697
  Enabled: true
701
698
 
@@ -708,7 +705,7 @@ Lint/FloatOutOfRange:
708
705
  Lint/FormatParameterMismatch:
709
706
  Enabled: true
710
707
 
711
- Lint/HandleExceptions:
708
+ Lint/SuppressedException:
712
709
  Enabled: true
713
710
 
714
711
  Lint/ImplicitStringConcatenation:
@@ -729,7 +726,7 @@ Lint/LiteralInInterpolation:
729
726
  Lint/Loop:
730
727
  Enabled: true
731
728
 
732
- Lint/MultipleCompare:
729
+ Lint/MultipleComparison:
733
730
  Enabled: true
734
731
 
735
732
  Lint/NestedMethodDefinition:
@@ -769,7 +766,7 @@ Lint/ShadowedException:
769
766
  Lint/ShadowingOuterLocalVariable:
770
767
  Enabled: true
771
768
 
772
- Lint/StringConversionInInterpolation:
769
+ Lint/RedundantStringCoercion:
773
770
  Enabled: true
774
771
 
775
772
  Lint/UnderscorePrefixedVariableName:
@@ -778,7 +775,7 @@ Lint/UnderscorePrefixedVariableName:
778
775
  Lint/UnifiedInteger:
779
776
  Enabled: true
780
777
 
781
- Lint/UnneededSplatExpansion:
778
+ Lint/RedundantSplatExpansion:
782
779
  Enabled: true
783
780
 
784
781
  Lint/UnusedBlockArgument:
@@ -822,8 +819,8 @@ Performance/Count:
822
819
  # This cop has known compatibility issues with `ActiveRecord` and other
823
820
  # frameworks. ActiveRecord's `count` ignores the block that is passed to it.
824
821
  # For more information, see the documentation in the cop itself.
825
- # If you understand the known risk, you can disable `SafeMode`.
826
- SafeMode: true
822
+ # If you understand the known risk, you can disable `SafeAutoCorrect`.
823
+ SafeAutoCorrect: true
827
824
  Enabled: true
828
825
 
829
826
  Performance/Detect:
@@ -831,7 +828,7 @@ Performance/Detect:
831
828
  # frameworks. `ActiveRecord` does not implement a `detect` method and `find`
832
829
  # has its own meaning. Correcting `ActiveRecord` methods with this cop
833
830
  # should be considered unsafe.
834
- SafeMode: true
831
+ SafeAutoCorrect: true
835
832
  Enabled: true
836
833
 
837
834
  Performance/DoubleStartEndWith:
@@ -855,9 +852,6 @@ Performance/FlatMap:
855
852
  # This can be dangerous since `flat_map` will only flatten 1 level, and
856
853
  # `flatten` without any parameters can flatten multiple levels.
857
854
 
858
- Performance/LstripRstrip:
859
- Enabled: true
860
-
861
855
  Performance/RangeInclude:
862
856
  Enabled: true
863
857
 
@@ -870,18 +864,12 @@ Performance/RedundantMatch:
870
864
  Performance/RedundantMerge:
871
865
  Enabled: true
872
866
 
873
- Performance/RedundantSortBy:
874
- Enabled: true
875
-
876
867
  Performance/RegexpMatch:
877
868
  Enabled: true
878
869
 
879
870
  Performance/ReverseEach:
880
871
  Enabled: true
881
872
 
882
- Performance/Sample:
883
- Enabled: true
884
-
885
873
  Performance/Size:
886
874
  Enabled: true
887
875
 
@@ -1,4 +1,6 @@
1
1
  ---
2
+ require: rubocop-rails
3
+
2
4
  Rails:
3
5
  Enabled: true
4
6
 
@@ -14,6 +16,12 @@ Rails/Delegate:
14
16
  Rails/DelegateAllowBlank:
15
17
  Enabled: true
16
18
 
19
+ # This one breaks things unexpectedly.
20
+ # E.g., it changes ISO_639.find_by_code(language_code) to ISO_639.find_by(code: language_code)
21
+ # which results in an error.
22
+ Rails/DynamicFindBy:
23
+ Enabled: false
24
+
17
25
  Rails/EnumUniqueness:
18
26
  Enabled: true
19
27
 
@@ -22,6 +30,7 @@ Rails/Exit:
22
30
 
23
31
  Rails/FilePath:
24
32
  Enabled: true
33
+ EnforcedStyle: arguments
25
34
 
26
35
  Rails/FindBy:
27
36
  Enabled: true
@@ -32,12 +41,21 @@ Rails/FindEach:
32
41
  Rails/HasAndBelongsToMany:
33
42
  Enabled: true
34
43
 
44
+ Rails/HelperInstanceVariable:
45
+ Enabled: false
46
+
35
47
  Rails/HttpPositionalArguments:
36
48
  Enabled: true
37
49
  Include:
38
50
  - 'spec/**/*'
39
51
  - 'test/**/*'
40
52
 
53
+ Rails/InverseOf:
54
+ Enabled: false
55
+
56
+ Rails/LexicallyScopedActionFilter:
57
+ Enabled: false
58
+
41
59
  Rails/NotNullColumn:
42
60
  Enabled: true
43
61
 
@@ -76,4 +94,3 @@ Rails/SkipsModelValidations:
76
94
 
77
95
  Rails/Validation:
78
96
  Enabled: true
79
-
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: 2.0.0
4
+ version: 3.0.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: 2019-12-10 00:00:00.000000000 Z
11
+ date: 2020-06-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.63.1
19
+ version: 0.85.1
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.63.1
26
+ version: 0.85.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-performance
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-rails
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
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
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: rubocop-rspec
29
57
  requirement: !ruby/object:Gem::Requirement
30
58
  requirements:
31
- - - '='
59
+ - - ">="
32
60
  - !ruby/object:Gem::Version
33
- version: 1.31.0
61
+ version: '0'
34
62
  type: :runtime
35
63
  prerelease: false
36
64
  version_requirements: !ruby/object:Gem::Requirement
37
65
  requirements:
38
- - - '='
66
+ - - ">="
39
67
  - !ruby/object:Gem::Version
40
- version: 1.31.0
68
+ version: '0'
41
69
  - !ruby/object:Gem::Dependency
42
70
  name: github_changelog_generator
43
71
  requirement: !ruby/object:Gem::Requirement
@@ -59,13 +87,17 @@ executables: []
59
87
  extensions: []
60
88
  extra_rdoc_files: []
61
89
  files:
90
+ - ".circleci/config.yml"
62
91
  - ".github_changelog_generator"
63
92
  - ".gitignore"
64
93
  - CHANGELOG.md
94
+ - CODE_OF_CONDUCT.md
95
+ - CONTRIBUTING.md
65
96
  - Gemfile
66
97
  - LICENSE
67
98
  - README.md
68
99
  - Rakefile
100
+ - SUPPORT.md
69
101
  - bixby.gemspec
70
102
  - bixby_default.yml
71
103
  - bixby_rails_enabled.yml
@@ -90,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
122
  - !ruby/object:Gem::Version
91
123
  version: '0'
92
124
  requirements: []
93
- rubygems_version: 3.0.6
125
+ rubygems_version: 3.1.4
94
126
  signing_key:
95
127
  specification_version: 4
96
128
  summary: This is the recommended style configuration for use by Samvera Community