bixby 1.0.0.pre.rc1 → 3.0.0.pre2

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
- SHA1:
3
- metadata.gz: de45bf8fea7c6e91762a6f80d42f323a25793a55
4
- data.tar.gz: b81bccfe9f9002258a848e46fbff66f784a83de4
2
+ SHA256:
3
+ metadata.gz: e425999705e0ab3da75d5fe2849e07a85f632ff7fd895ee221da37df6eba8505
4
+ data.tar.gz: 9911ddfbb56c7109f5f8c6e8fc6d509771c39b5ffa3a966cbb0e73f9f8e459de
5
5
  SHA512:
6
- metadata.gz: 843a0b9b0aba09264b00a8b2d8fc61b5d186474ff6d1350cda6b0c1547c76f385846be6d74c5ae12d6ef26870402823b2be055bd0d2ce4f821870058c96e2014
7
- data.tar.gz: df3a5b93e2d4a0166cba7fda7da013655f55e3e64c0314e6f3f589269b66658d590a8587adc886edd60c6ca55f03ffab45c19e50e1e61767e997f9d85bd8ddc9
6
+ metadata.gz: 8d210e0da6aefa8659989860b32fd0f758c41ec13dad0323824026a25896833dfebc8fccecb9b17a7f79f9dfa8ea744ebfafaeadb4b958e291a57cfd2d268ee1
7
+ data.tar.gz: 28e615535afa86f3186de77a0fdda9913a96ed3cec85919b2e62e524d4ac9ff384e6ff2793470db074457642071abecd4e9a88fc4508017d351f9500c5727f9d
@@ -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
+
@@ -0,0 +1,2 @@
1
+ unreleased=true
2
+ future-release=3.0.0.pre2
data/.gitignore CHANGED
@@ -48,3 +48,4 @@ build-iPhoneSimulator/
48
48
 
49
49
  # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
50
50
  .rvmrc
51
+ Gemfile.lock
@@ -0,0 +1,144 @@
1
+ # Changelog
2
+
3
+ ## [3.0.0.pre2](https://github.com/samvera-labs/bixby/tree/3.0.0.pre2) (2020-06-10)
4
+
5
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v3.0.0.pre1...3.0.0.pre2)
6
+
7
+ **Merged pull requests:**
8
+
9
+ - 3.0.0 fixup [\#39](https://github.com/samvera-labs/bixby/pull/39) ([no-reply](https://github.com/no-reply))
10
+
11
+ ## [v3.0.0.pre1](https://github.com/samvera-labs/bixby/tree/v3.0.0.pre1) (2020-06-10)
12
+
13
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v3.0.0.pre.pre1...v3.0.0.pre1)
14
+
15
+ **Merged pull requests:**
16
+
17
+ - Fix gem version [\#38](https://github.com/samvera-labs/bixby/pull/38) ([bess](https://github.com/bess))
18
+
19
+ ## [v3.0.0.pre.pre1](https://github.com/samvera-labs/bixby/tree/v3.0.0.pre.pre1) (2020-06-10)
20
+
21
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v2.1.0...v3.0.0.pre.pre1)
22
+
23
+ **Implemented enhancements:**
24
+
25
+ - Request to promote this Gem to samvera [\#33](https://github.com/samvera-labs/bixby/issues/33)
26
+
27
+ **Merged pull requests:**
28
+
29
+ - Prep for 3.0.0-pre1 release [\#37](https://github.com/samvera-labs/bixby/pull/37) ([bess](https://github.com/bess))
30
+ - Prepares the Gem for promotion [\#34](https://github.com/samvera-labs/bixby/pull/34) ([jrgriffiniii](https://github.com/jrgriffiniii))
31
+
32
+ ## [v2.1.0](https://github.com/samvera-labs/bixby/tree/v2.1.0) (2020-06-09)
33
+
34
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v2.0.0...v2.1.0)
35
+
36
+ **Merged pull requests:**
37
+
38
+ - Prep for 2.1.0 release [\#36](https://github.com/samvera-labs/bixby/pull/36) ([bess](https://github.com/bess))
39
+ - Upgrade rubocop and dependencies [\#35](https://github.com/samvera-labs/bixby/pull/35) ([bess](https://github.com/bess))
40
+ - Prep for 2.0 release [\#31](https://github.com/samvera-labs/bixby/pull/31) ([bess](https://github.com/bess))
41
+
42
+ ## [v2.0.0](https://github.com/samvera-labs/bixby/tree/v2.0.0) (2019-12-10)
43
+
44
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v2.0.0.pre.beta1...v2.0.0)
45
+
46
+ **Closed issues:**
47
+
48
+ - Upgrade for new rubocop [\#26](https://github.com/samvera-labs/bixby/issues/26)
49
+ - Update rubocop-rspec [\#25](https://github.com/samvera-labs/bixby/issues/25)
50
+ - Lint/BlockAlignment has the wrong namespace - should be Layout [\#24](https://github.com/samvera-labs/bixby/issues/24)
51
+ - Add Lint/RescueWithoutErrorClass [\#23](https://github.com/samvera-labs/bixby/issues/23)
52
+
53
+ **Merged pull requests:**
54
+
55
+ - Skipping node\_modules directory when running cops [\#30](https://github.com/samvera-labs/bixby/pull/30) ([cgalarza](https://github.com/cgalarza))
56
+
57
+ ## [v2.0.0.pre.beta1](https://github.com/samvera-labs/bixby/tree/v2.0.0.pre.beta1) (2019-02-14)
58
+
59
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/1.0.0...v2.0.0.pre.beta1)
60
+
61
+ **Merged pull requests:**
62
+
63
+ - Bixby 2.0 [\#28](https://github.com/samvera-labs/bixby/pull/28) ([no-reply](https://github.com/no-reply))
64
+
65
+ ## [1.0.0](https://github.com/samvera-labs/bixby/tree/1.0.0) (2018-02-13)
66
+
67
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v1.0.0-rc1...1.0.0)
68
+
69
+ **Merged pull requests:**
70
+
71
+ - Prepare Release 1.0.0 [\#22](https://github.com/samvera-labs/bixby/pull/22) ([no-reply](https://github.com/no-reply))
72
+
73
+ ## [v1.0.0-rc1](https://github.com/samvera-labs/bixby/tree/v1.0.0-rc1) (2018-02-09)
74
+
75
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.3.1...v1.0.0-rc1)
76
+
77
+ **Closed issues:**
78
+
79
+ - Disable `RSpec/MulitpleExpectations` [\#19](https://github.com/samvera-labs/bixby/issues/19)
80
+ - Add tmp dir to AllCops exclusion [\#18](https://github.com/samvera-labs/bixby/issues/18)
81
+ - 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)
82
+ - Resolve new cops/changes is in rubocop-rspec 0.18.0. [\#11](https://github.com/samvera-labs/bixby/issues/11)
83
+ - Resolve new cops/changes in RuboCop 0.50.0 [\#10](https://github.com/samvera-labs/bixby/issues/10)
84
+ - Bixby not compatible with latest Rubocop [\#6](https://github.com/samvera-labs/bixby/issues/6)
85
+
86
+ **Merged pull requests:**
87
+
88
+ - Bump version to 1.0.0-rc1 [\#21](https://github.com/samvera-labs/bixby/pull/21) ([no-reply](https://github.com/no-reply))
89
+ - 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))
90
+ - Remove Lint/InvalidCharacterLiteral, fixes \#15 [\#16](https://github.com/samvera-labs/bixby/pull/16) ([hackmastera](https://github.com/hackmastera))
91
+ - Update READEME.md to discuss versioning strategy [\#13](https://github.com/samvera-labs/bixby/pull/13) ([no-reply](https://github.com/no-reply))
92
+ - 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))
93
+ - Prepare Release v0.3.0 [\#9](https://github.com/samvera-labs/bixby/pull/9) ([no-reply](https://github.com/no-reply))
94
+
95
+ ## [v0.3.1](https://github.com/samvera-labs/bixby/tree/v0.3.1) (2017-10-04)
96
+
97
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.3.0...v0.3.1)
98
+
99
+ **Closed issues:**
100
+
101
+ - 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)
102
+
103
+ **Merged pull requests:**
104
+
105
+ - Remove Lint/InvalidCharacterLiteral, fixes \#15 [\#17](https://github.com/samvera-labs/bixby/pull/17) ([hackmastera](https://github.com/hackmastera))
106
+
107
+ ## [v0.3.0](https://github.com/samvera-labs/bixby/tree/v0.3.0) (2017-10-03)
108
+
109
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.2.2...v0.3.0)
110
+
111
+ **Merged pull requests:**
112
+
113
+ - Upgrade for RuboCop 0.50.0 compatibility [\#8](https://github.com/samvera-labs/bixby/pull/8) ([no-reply](https://github.com/no-reply))
114
+ - Allow deeper group nesting in RSpec [\#7](https://github.com/samvera-labs/bixby/pull/7) ([no-reply](https://github.com/no-reply))
115
+
116
+ ## [v0.2.2](https://github.com/samvera-labs/bixby/tree/v0.2.2) (2017-08-07)
117
+
118
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.2.1...v0.2.2)
119
+
120
+ **Closed issues:**
121
+
122
+ - Should we allow long blocks in CatalogController? [\#3](https://github.com/samvera-labs/bixby/issues/3)
123
+
124
+ **Merged pull requests:**
125
+
126
+ - Ignore block and class length on CatalogController [\#5](https://github.com/samvera-labs/bixby/pull/5) ([no-reply](https://github.com/no-reply))
127
+ - Include 'Capfile' in excluded filenames [\#4](https://github.com/samvera-labs/bixby/pull/4) ([mark-dce](https://github.com/mark-dce))
128
+
129
+ ## [v0.2.1](https://github.com/samvera-labs/bixby/tree/v0.2.1) (2017-06-01)
130
+
131
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/v0.2.0...v0.2.1)
132
+
133
+ **Merged pull requests:**
134
+
135
+ - Add bundler release tasks for easier gem management [\#2](https://github.com/samvera-labs/bixby/pull/2) ([bess](https://github.com/bess))
136
+ - Rubocop 0 49 fixes [\#1](https://github.com/samvera-labs/bixby/pull/1) ([bess](https://github.com/bess))
137
+
138
+ ## [v0.2.0](https://github.com/samvera-labs/bixby/tree/v0.2.0) (2017-03-30)
139
+
140
+ [Full Changelog](https://github.com/samvera-labs/bixby/compare/8f95541b23cfda44c8a89704127696262284215a...v0.2.0)
141
+
142
+
143
+
144
+ \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
@@ -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 ADDED
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
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>
@@ -35,6 +36,18 @@ Our goal is to insulate downstream projects from breakage due to pre-1.0 version
35
36
 
36
37
  Bixby is available under [the Apache 2.0 license](LICENSE.md).
37
38
 
39
+ ## Releasing
40
+
41
+ 1. `bundle install`
42
+ 1. Increase the version number in `bixby.gemspec`
43
+ 1. Increase the same version number in `.github_changelog_generator`
44
+ 1. Update `CHANGELOG.md` by running this command:
45
+ ```
46
+ github_changelog_generator --user samvera-labs --project bixby --token YOUR_GITHUB_TOKEN_HERE
47
+ ```
48
+ 1. Commit these changes to the master branch
49
+ 1. Run `rake release`
50
+
38
51
  ## Acknowledgments
39
52
 
40
53
  This software has been developed by and is brought to you by the Samvera community. Learn more at the
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,6 +1,8 @@
1
+ # frozen_string_literal: true
2
+
1
3
  Gem::Specification.new do |spec|
2
4
  spec.authors = ['Tom Johnson']
3
- spec.email = ['tom@curationexperts.com']
5
+ spec.email = ['johnson.tom@gmail.com']
4
6
  spec.description = 'A Style Configuration for RuboCop'
5
7
  spec.summary = 'This is the recommended style configuration for use ' \
6
8
  'by Samvera Community projects.'
@@ -10,9 +12,13 @@ Gem::Specification.new do |spec|
10
12
  spec.name = 'bixby'
11
13
  spec.require_paths = ['lib']
12
14
 
13
- spec.version = '1.0.0-rc1'
15
+ spec.version = '3.0.0.pre2'
14
16
  spec.license = 'Apache-2.0'
15
17
 
16
- spec.add_dependency 'rubocop', '~> 0.50', '<= 0.52.1'
17
- spec.add_dependency 'rubocop-rspec', '~> 1.22', '<= 1.22.2'
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'
22
+
23
+ spec.add_development_dependency 'github_changelog_generator'
18
24
  end
@@ -1,22 +1,20 @@
1
+ require: rubocop-performance
2
+
1
3
  AllCops:
2
- TargetRubyVersion: 2.1
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/**/*'
11
10
  - 'tmp/**/*'
12
11
  - 'vendor/**/*'
12
+ - 'node_modules/**/*'
13
13
 
14
14
  inherit_from:
15
15
  - bixby_rails_enabled.yml
16
16
  - bixby_rspec_enabled.yml
17
17
 
18
- # These are all the cops that are enabled in the default configuration.
19
-
20
18
  Style/Alias:
21
19
  Enabled: true
22
20
 
@@ -44,9 +42,6 @@ Style/BlockComments:
44
42
  Style/BlockDelimiters:
45
43
  Enabled: true
46
44
 
47
- Style/BracesAroundHashParameters:
48
- Enabled: true
49
-
50
45
  Style/CaseEquality:
51
46
  Enabled: true
52
47
 
@@ -122,9 +117,6 @@ Style/EvenOdd:
122
117
  Style/FrozenStringLiteralComment:
123
118
  Enabled: true
124
119
 
125
- Style/FlipFlop:
126
- Enabled: true
127
-
128
120
  Style/For:
129
121
  Enabled: true
130
122
 
@@ -173,7 +165,10 @@ Style/MethodCallWithoutArgsParentheses:
173
165
  Style/MethodDefParentheses:
174
166
  Enabled: true
175
167
 
176
- Style/MethodMissing:
168
+ Style/MethodMissingSuper:
169
+ Enabled: true
170
+
171
+ Style/MissingRespondToMissing:
177
172
  Enabled: true
178
173
 
179
174
  Style/ModuleFunction:
@@ -285,9 +280,15 @@ Style/RedundantReturn:
285
280
  Style/RedundantSelf:
286
281
  Enabled: true
287
282
 
283
+ Style/RedundantSortBy:
284
+ Enabled: true
285
+
288
286
  Style/RescueModifier:
289
287
  Enabled: true
290
288
 
289
+ Style/Sample:
290
+ Enabled: true
291
+
291
292
  Style/SafeNavigation:
292
293
  Enabled: true
293
294
 
@@ -328,7 +329,10 @@ Style/TernaryParentheses:
328
329
  Style/TrailingCommaInArguments:
329
330
  Enabled: true
330
331
 
331
- Style/TrailingCommaInLiteral:
332
+ Style/TrailingCommaInArrayLiteral:
333
+ Enabled: true
334
+
335
+ Style/TrailingCommaInHashLiteral:
332
336
  Enabled: true
333
337
 
334
338
  Style/TrivialAccessors:
@@ -337,13 +341,13 @@ Style/TrivialAccessors:
337
341
  Style/UnlessElse:
338
342
  Enabled: true
339
343
 
340
- Style/UnneededCapitalW:
344
+ Style/RedundantCapitalW:
341
345
  Enabled: true
342
346
 
343
- Style/UnneededInterpolation:
347
+ Style/RedundantInterpolation:
344
348
  Enabled: true
345
349
 
346
- Style/UnneededPercentQ:
350
+ Style/RedundantPercentQ:
347
351
  Enabled: true
348
352
 
349
353
  Style/TrailingUnderscoreVariable:
@@ -367,13 +371,16 @@ Style/ZeroLengthPredicate:
367
371
 
368
372
  #################### Layout ###############################
369
373
 
370
- Layout/AlignArray:
374
+ Layout/ArrayAlignment:
371
375
  Enabled: true
372
376
 
373
- Layout/AlignHash:
377
+ Layout/HashAlignment:
374
378
  Enabled: true
375
379
 
376
- Layout/AlignParameters:
380
+ Layout/ParameterAlignment:
381
+ Enabled: true
382
+
383
+ Layout/BlockAlignment:
377
384
  Enabled: true
378
385
 
379
386
  Layout/BlockEndNewline:
@@ -385,15 +392,24 @@ Layout/CaseIndentation:
385
392
  Layout/ClosingParenthesisIndentation:
386
393
  Enabled: true
387
394
 
395
+ Layout/ConditionPosition:
396
+ Enabled: true
397
+
388
398
  Layout/CommentIndentation:
389
399
  Enabled: true
390
400
 
401
+ Layout/DefEndAlignment:
402
+ Enabled: true
403
+
391
404
  Layout/DotPosition:
392
405
  Enabled: true
393
406
 
394
407
  Layout/ElseAlignment:
395
408
  Enabled: true
396
409
 
410
+ Layout/EndAlignment:
411
+ Enabled: true
412
+
397
413
  Layout/EmptyLineBetweenDefs:
398
414
  Enabled: true
399
415
 
@@ -421,6 +437,9 @@ Layout/EndOfLine:
421
437
  Layout/ExtraSpacing:
422
438
  Enabled: true
423
439
 
440
+ Layout/IndentationStyle:
441
+ Enabled: true
442
+
424
443
  Layout/InitialIndentation:
425
444
  Enabled: true
426
445
 
@@ -431,18 +450,18 @@ Layout/IndentationConsistency:
431
450
  SupportedStyles:
432
451
  - normal
433
452
  - rails
434
- EnforcedStyle: rails
453
+ EnforcedStyle: normal
435
454
 
436
455
  Layout/IndentationWidth:
437
456
  Enabled: true
438
457
 
439
- Layout/IndentArray:
458
+ Layout/FirstArrayElementIndentation:
440
459
  Enabled: true
441
460
 
442
- Layout/IndentAssignment:
461
+ Layout/AssignmentIndentation:
443
462
  Enabled: true
444
463
 
445
- Layout/IndentHash:
464
+ Layout/FirstHashElementIndentation:
446
465
  Enabled: true
447
466
 
448
467
  Layout/SpaceInLambdaLiteral:
@@ -451,6 +470,12 @@ Layout/SpaceInLambdaLiteral:
451
470
  Layout/LeadingCommentSpace:
452
471
  Enabled: true
453
472
 
473
+ Layout/LineLength:
474
+ Enabled: true
475
+ Max: 200
476
+ Exclude:
477
+ - '**/*.gemspec'
478
+
454
479
  Layout/MultilineArrayBraceLayout:
455
480
  Enabled: true
456
481
 
@@ -544,10 +569,7 @@ Layout/SpaceInsideRangeLiteral:
544
569
  Layout/SpaceInsideStringInterpolation:
545
570
  Enabled: true
546
571
 
547
- Layout/Tab:
548
- Enabled: true
549
-
550
- Layout/TrailingBlankLines:
572
+ Layout/TrailingEmptyLines:
551
573
  Enabled: true
552
574
 
553
575
  Layout/TrailingWhitespace:
@@ -610,12 +632,6 @@ Metrics/ModuleLength:
610
632
  Metrics/CyclomaticComplexity:
611
633
  Enabled: true
612
634
 
613
- Metrics/LineLength:
614
- Enabled: true
615
- Max: 200
616
- Exclude:
617
- - '**/*.gemspec'
618
-
619
635
  Metrics/MethodLength:
620
636
  Enabled: true
621
637
  Max: 14
@@ -645,21 +661,12 @@ Lint/AmbiguousRegexpLiteral:
645
661
  Lint/AssignmentInCondition:
646
662
  Enabled: true
647
663
 
648
- Lint/BlockAlignment:
649
- Enabled: true
650
-
651
664
  Lint/CircularArgumentReference:
652
665
  Enabled: true
653
666
 
654
- Lint/ConditionPosition:
655
- Enabled: true
656
-
657
667
  Lint/Debugger:
658
668
  Enabled: true
659
669
 
660
- Lint/DefEndAlignment:
661
- Enabled: true
662
-
663
670
  Lint/DeprecatedClassMethods:
664
671
  Enabled: true
665
672
 
@@ -669,7 +676,7 @@ Lint/DuplicateCaseCondition:
669
676
  Lint/DuplicateMethods:
670
677
  Enabled: true
671
678
 
672
- Lint/DuplicatedKey:
679
+ Lint/DuplicateHashKey:
673
680
  Enabled: true
674
681
 
675
682
  Lint/EachWithObjectArgument:
@@ -691,13 +698,10 @@ Lint/EmptyInterpolation:
691
698
  Lint/EmptyWhen:
692
699
  Enabled: true
693
700
 
694
- Lint/EndAlignment:
695
- Enabled: true
696
-
697
- Lint/EndInMethod:
701
+ Lint/EnsureReturn:
698
702
  Enabled: true
699
703
 
700
- Lint/EnsureReturn:
704
+ Lint/FlipFlop:
701
705
  Enabled: true
702
706
 
703
707
  Lint/FloatOutOfRange:
@@ -706,7 +710,7 @@ Lint/FloatOutOfRange:
706
710
  Lint/FormatParameterMismatch:
707
711
  Enabled: true
708
712
 
709
- Lint/HandleExceptions:
713
+ Lint/SuppressedException:
710
714
  Enabled: true
711
715
 
712
716
  Lint/ImplicitStringConcatenation:
@@ -727,7 +731,7 @@ Lint/LiteralInInterpolation:
727
731
  Lint/Loop:
728
732
  Enabled: true
729
733
 
730
- Lint/MultipleCompare:
734
+ Lint/MultipleComparison:
731
735
  Enabled: true
732
736
 
733
737
  Lint/NestedMethodDefinition:
@@ -767,7 +771,7 @@ Lint/ShadowedException:
767
771
  Lint/ShadowingOuterLocalVariable:
768
772
  Enabled: true
769
773
 
770
- Lint/StringConversionInInterpolation:
774
+ Lint/RedundantStringCoercion:
771
775
  Enabled: true
772
776
 
773
777
  Lint/UnderscorePrefixedVariableName:
@@ -776,10 +780,7 @@ Lint/UnderscorePrefixedVariableName:
776
780
  Lint/UnifiedInteger:
777
781
  Enabled: true
778
782
 
779
- Lint/UnneededDisable:
780
- Enabled: true
781
-
782
- Lint/UnneededSplatExpansion:
783
+ Lint/RedundantSplatExpansion:
783
784
  Enabled: true
784
785
 
785
786
  Lint/UnusedBlockArgument:
@@ -823,8 +824,8 @@ Performance/Count:
823
824
  # This cop has known compatibility issues with `ActiveRecord` and other
824
825
  # frameworks. ActiveRecord's `count` ignores the block that is passed to it.
825
826
  # For more information, see the documentation in the cop itself.
826
- # If you understand the known risk, you can disable `SafeMode`.
827
- SafeMode: true
827
+ # If you understand the known risk, you can disable `SafeAutoCorrect`.
828
+ SafeAutoCorrect: true
828
829
  Enabled: true
829
830
 
830
831
  Performance/Detect:
@@ -832,7 +833,7 @@ Performance/Detect:
832
833
  # frameworks. `ActiveRecord` does not implement a `detect` method and `find`
833
834
  # has its own meaning. Correcting `ActiveRecord` methods with this cop
834
835
  # should be considered unsafe.
835
- SafeMode: true
836
+ SafeAutoCorrect: true
836
837
  Enabled: true
837
838
 
838
839
  Performance/DoubleStartEndWith:
@@ -856,13 +857,6 @@ Performance/FlatMap:
856
857
  # This can be dangerous since `flat_map` will only flatten 1 level, and
857
858
  # `flatten` without any parameters can flatten multiple levels.
858
859
 
859
- Performance/HashEachMethods:
860
- Enabled: true
861
- AutoCorrect: false
862
-
863
- Performance/LstripRstrip:
864
- Enabled: true
865
-
866
860
  Performance/RangeInclude:
867
861
  Enabled: true
868
862
 
@@ -875,18 +869,12 @@ Performance/RedundantMatch:
875
869
  Performance/RedundantMerge:
876
870
  Enabled: true
877
871
 
878
- Performance/RedundantSortBy:
879
- Enabled: true
880
-
881
872
  Performance/RegexpMatch:
882
873
  Enabled: true
883
874
 
884
875
  Performance/ReverseEach:
885
876
  Enabled: true
886
877
 
887
- Performance/Sample:
888
- Enabled: true
889
-
890
878
  Performance/Size:
891
879
  Enabled: true
892
880
 
@@ -1,4 +1,6 @@
1
1
  ---
2
+ require: rubocop-rails
3
+
2
4
  Rails:
3
5
  Enabled: true
4
6
 
@@ -22,6 +24,7 @@ Rails/Exit:
22
24
 
23
25
  Rails/FilePath:
24
26
  Enabled: true
27
+ EnforcedStyle: arguments
25
28
 
26
29
  Rails/FindBy:
27
30
  Enabled: true
@@ -32,12 +35,21 @@ Rails/FindEach:
32
35
  Rails/HasAndBelongsToMany:
33
36
  Enabled: true
34
37
 
38
+ Rails/HelperInstanceVariable:
39
+ Enabled: false
40
+
35
41
  Rails/HttpPositionalArguments:
36
42
  Enabled: true
37
43
  Include:
38
44
  - 'spec/**/*'
39
45
  - 'test/**/*'
40
46
 
47
+ Rails/InverseOf:
48
+ Enabled: false
49
+
50
+ Rails/LexicallyScopedActionFilter:
51
+ Enabled: false
52
+
41
53
  Rails/NotNullColumn:
42
54
  Enabled: true
43
55
 
@@ -76,4 +88,3 @@ Rails/SkipsModelValidations:
76
88
 
77
89
  Rails/Validation:
78
90
  Enabled: true
79
-
metadata CHANGED
@@ -1,66 +1,103 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bixby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.rc1
4
+ version: 3.0.0.pre2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tom Johnson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-02-09 00:00:00.000000000 Z
11
+ date: 2020-06-10 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: '0.50'
20
- - - "<="
19
+ version: 0.85.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.85.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-performance
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
21
32
  - !ruby/object:Gem::Version
22
- version: 0.52.1
33
+ version: '0'
23
34
  type: :runtime
24
35
  prerelease: false
25
36
  version_requirements: !ruby/object:Gem::Requirement
26
37
  requirements:
27
- - - "~>"
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
+ - - ">="
28
46
  - !ruby/object:Gem::Version
29
- version: '0.50'
30
- - - "<="
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
31
53
  - !ruby/object:Gem::Version
32
- version: 0.52.1
54
+ version: '0'
33
55
  - !ruby/object:Gem::Dependency
34
56
  name: rubocop-rspec
35
57
  requirement: !ruby/object:Gem::Requirement
36
58
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '1.22'
40
- - - "<="
59
+ - - ">="
41
60
  - !ruby/object:Gem::Version
42
- version: 1.22.2
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: '1.22'
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: 1.22.2
82
+ version: '0'
53
83
  description: A Style Configuration for RuboCop
54
84
  email:
55
- - tom@curationexperts.com
85
+ - johnson.tom@gmail.com
56
86
  executables: []
57
87
  extensions: []
58
88
  extra_rdoc_files: []
59
89
  files:
90
+ - ".circleci/config.yml"
91
+ - ".github_changelog_generator"
60
92
  - ".gitignore"
93
+ - CHANGELOG.md
94
+ - CODE_OF_CONDUCT.md
95
+ - CONTRIBUTING.md
96
+ - Gemfile
61
97
  - LICENSE
62
98
  - README.md
63
99
  - Rakefile
100
+ - SUPPORT.md
64
101
  - bixby.gemspec
65
102
  - bixby_default.yml
66
103
  - bixby_rails_enabled.yml
@@ -85,8 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
122
  - !ruby/object:Gem::Version
86
123
  version: 1.3.1
87
124
  requirements: []
88
- rubyforge_project:
89
- rubygems_version: 2.6.13
125
+ rubygems_version: 3.1.4
90
126
  signing_key:
91
127
  specification_version: 4
92
128
  summary: This is the recommended style configuration for use by Samvera Community