rubocop-picket 0.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.
- checksums.yaml +7 -0
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +7 -0
- data/MIT-LICENSE +22 -0
- data/README.md +39 -0
- data/STYLE_GUIDE.md +1 -0
- data/config/default.yml +2064 -0
- data/config/default_cops.yml +0 -0
- data/config/default_pending.yml +0 -0
- data/config/rails.yml +501 -0
- data/config/rails_cops.yml +0 -0
- data/config/rails_pending.yml +0 -0
- data/lib/rubocop/picket/inject.rb +27 -0
- data/lib/rubocop/picket/version.rb +24 -0
- data/lib/rubocop/picket.rb +11 -0
- data/lib/rubocop-picket-rails.rb +7 -0
- data/lib/rubocop-picket.rb +7 -0
- data.tar.gz.sig +3 -0
- metadata +245 -0
- metadata.gz.sig +0 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 6e9fed37409b5dc03a42b9051c04746d544b6883d7090e79bdb7824b12a8da35
|
4
|
+
data.tar.gz: 3a6870903770dbc995a2122750e9cdd91ba6a6e98b6ea60d8ddfa23ddc90252c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0ee22051a147117101766512bc3a4fa584910e39193728d3ed359df5ecbd0eb42edd9e2578345a3ddbcbeced14d2b810c7d106cca2499418a5aa40ccdb9b52b7
|
7
|
+
data.tar.gz: 81b82a2fd7494355490c4f3b28bd3f412cc03f148da60be5905a935cc1a742d9e29c00d9ecf794ea9d1fe043da912a271f758bec74efaca64e6fd174a252c38b
|
checksums.yaml.gz.sig
ADDED
Binary file
|
data/CHANGELOG.md
ADDED
data/MIT-LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) Tony Burns
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
# RuboCop Picket
|
2
|
+
|
3
|
+
[RuboCop](https://rubocop.org/) extension to enforce Picket's Ruby [style guide](./STYLE_GUIDE.md).
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Install the gem and add to the project's Gemfile by executing:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
bundle add rubocop-picket -g development -r false
|
11
|
+
```
|
12
|
+
|
13
|
+
## Usage
|
14
|
+
|
15
|
+
Inherit the default configuration in the project's `.rubocop.yml`:
|
16
|
+
|
17
|
+
```yaml
|
18
|
+
inherit_gem:
|
19
|
+
rubocop-picket:
|
20
|
+
- config/default.yml
|
21
|
+
```
|
22
|
+
|
23
|
+
## Development
|
24
|
+
|
25
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
26
|
+
|
27
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
28
|
+
|
29
|
+
## Contributing
|
30
|
+
|
31
|
+
Bug reports and pull requests are welcome on GitHub at <https://github.com/picketengine/rubocop-picket>. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/picketengine/rubocop-picket/blob/main/CODE_OF_CONDUCT.md).
|
32
|
+
|
33
|
+
## License
|
34
|
+
|
35
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
36
|
+
|
37
|
+
## Code of Conduct
|
38
|
+
|
39
|
+
Everyone interacting in RuboCop Picket's codebase, issue trackers, chat rooms, and mailing lists is expected to follow the [code of conduct](https://github.com/picketengine/rubocop-picket/blob/main/CODE_OF_CONDUCT.md).
|
data/STYLE_GUIDE.md
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
# Picket Ruby Style Guide
|