rubocop-rickselby 0.2.0 → 0.4.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 +4 -4
- data/README.md +17 -11
- data/config/capybara.yml +2 -0
- data/config/rails.yml +1 -0
- data/config/rspec.yml +0 -1
- data/lib/rubocop/rickselby/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e651e3c4265c2b56dae8ab38966bb433c0341973c365fc7438583dbc461ef17d
|
4
|
+
data.tar.gz: 57ff0a18aeeffc622b6fedd9ea307913d43ce84c01a0379e651b6dda9b088ffb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f742c14155d39cdead27056b14f4f7cb5a64809670260e489f430e43903d38dcfa160580354c449a0d66cc5f405bf76c8062c6f1cd23d007bd2cf350b1c232bb
|
7
|
+
data.tar.gz: 1c200a619d63c39ff928eb9523347ab71967d8a9ecb1ebf778b64784452dd2061da0f8158d95cdf2025505e7ce7c2a7296ab6eb020032799bd3d5045a5b10c55
|
data/README.md
CHANGED
@@ -7,15 +7,20 @@ Config in `./config`
|
|
7
7
|
Add `rubocop-rickselby` to your Gemfile:
|
8
8
|
|
9
9
|
```ruby
|
10
|
-
gem "rubocop-rickselby", "~> 0.1", require: false
|
11
10
|
|
12
|
-
|
13
|
-
gem "rubocop-
|
14
|
-
gem "rubocop-rails-accessibility", require: false
|
11
|
+
group :development, :test do
|
12
|
+
gem "rubocop-rickselby", "~> 0.1", require: false
|
15
13
|
|
16
|
-
# If you are using
|
17
|
-
gem "rubocop-
|
18
|
-
gem "rubocop-
|
14
|
+
# If you are using rails:
|
15
|
+
gem "rubocop-rails", require: false
|
16
|
+
gem "rubocop-rails-accessibility", require: false
|
17
|
+
|
18
|
+
# If you are using rspec:
|
19
|
+
gem "rubocop-rspec", require: false
|
20
|
+
|
21
|
+
# If you are using capybara:
|
22
|
+
gem "rubocop-capybara", require: false
|
23
|
+
end
|
19
24
|
```
|
20
25
|
|
21
26
|
Inherit the configuration in your `.rubocop.yml`:
|
@@ -23,8 +28,9 @@ Inherit the configuration in your `.rubocop.yml`:
|
|
23
28
|
```yaml
|
24
29
|
# .rubocop.yml
|
25
30
|
inherit_gem:
|
26
|
-
rubocop-rickselby:
|
27
|
-
- config/default.yml # generic Ruby rules and cops
|
28
|
-
- config/rails.yml # Rails-specific rules and cops
|
29
|
-
- config/rspec.yml # RSpec-specific rules and cops
|
31
|
+
rubocop-rickselby:
|
32
|
+
- config/default.yml # generic Ruby rules and cops
|
33
|
+
- config/rails.yml # Rails-specific rules and cops
|
34
|
+
- config/rspec.yml # RSpec-specific rules and cops
|
35
|
+
- config/capybara.yml # capybara-specific rules and cops
|
30
36
|
```
|
data/config/capybara.yml
ADDED
data/config/rails.yml
CHANGED
data/config/rspec.yml
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-rickselby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rick Selby
|
@@ -60,6 +60,7 @@ extensions: []
|
|
60
60
|
extra_rdoc_files: []
|
61
61
|
files:
|
62
62
|
- README.md
|
63
|
+
- config/capybara.yml
|
63
64
|
- config/default.yml
|
64
65
|
- config/rails.yml
|
65
66
|
- config/rspec.yml
|