perx-rubocop 0.0.1.alpha → 0.0.1.rc0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -1
- data/README.md +18 -7
- data/lib/perx/rubocop/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 617470c1fde8c536b318af5baff3d954d40cb141ceeffc1614efc0b23174c7a2
|
4
|
+
data.tar.gz: ceac8674b5601e7d135b28e84ede0f382c0d3a2f0d99b35fdb0abb80963a9dcc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46f935c8119f26c106445468b7dd88087bfdddb053b26f1af9289dba3b9efefb1b95f5480b9068baab290181dcfcb5504da827d3454b3ef8de537ba0b8cd6553
|
7
|
+
data.tar.gz: eeab3ef954559f35f98512a7dbe7b12c794d4ef4a7088aded29f73730f5d311a91ec788ecff589d3dddccb6f544643e405628accf9904ae0a6ee367d52a96241
|
data/.rubocop.yml
CHANGED
data/README.md
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# perx-rubocop
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
3
|
+
perx-rubocop is, as the name suggests, Perx's rubocop default configuration.
|
4
|
+
Using this gem allows us to ensure that different projects follow the same
|
5
|
+
standards and rely on the same rubocop version, improving the consistency.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -22,7 +22,18 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
Once this gem is part of your gem list, you already have rubocop and
|
26
|
+
rubocop-rails installed as these are dependencies of perx-rubocop. The only
|
27
|
+
thing left to do is to update your rubocop.yml file to look like this:
|
28
|
+
|
29
|
+
```
|
30
|
+
inherit_gem:
|
31
|
+
perx-rubocop:
|
32
|
+
- default.yml
|
33
|
+
```
|
34
|
+
|
35
|
+
This will inherit all the perx-rubocop configurations. In case you need to
|
36
|
+
overwrite any of the rules, the file behaves the same as before.
|
26
37
|
|
27
38
|
## Development
|
28
39
|
|
@@ -32,7 +43,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
32
43
|
|
33
44
|
## Contributing
|
34
45
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
46
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/PerxTech/perx-rubocop. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
36
47
|
|
37
48
|
## License
|
38
49
|
|
@@ -40,4 +51,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
40
51
|
|
41
52
|
## Code of Conduct
|
42
53
|
|
43
|
-
Everyone interacting in the Perx::Rubocop project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
54
|
+
Everyone interacting in the Perx::Rubocop project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/PerxTech/perx-rubocop/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/perx/rubocop/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: perx-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.1.
|
4
|
+
version: 0.0.1.rc0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rui Baltazar
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|