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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0125bf89488f92c5b04ebdbd6c46751d5e4b3d7124e51eb1ea6644f044c7d748
4
- data.tar.gz: df666d1e3db9028415adccd09a772b1d74eeae2bfa394cb00bdc78c45e28e39e
3
+ metadata.gz: e651e3c4265c2b56dae8ab38966bb433c0341973c365fc7438583dbc461ef17d
4
+ data.tar.gz: 57ff0a18aeeffc622b6fedd9ea307913d43ce84c01a0379e651b6dda9b088ffb
5
5
  SHA512:
6
- metadata.gz: 7a0299b01036ed8fe76f2157394e9fd2cb5f0f11bbae292f9820118d4272a677d067c8d838d6883f8c344f2276716d4d2ddcbe3f4c1b733b24b21bbde8f19509
7
- data.tar.gz: 10142be805fdc7bc6df3fb3d0d5676a403a28412916058d3da84680650efb1250780b760933f7e3086e16fc438d94ebd8edebf101b3bb4182abefb76418d7823
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
- # If you are using rails:
13
- gem "rubocop-rails", require: false
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 rspec:
17
- gem "rubocop-capybara", require: false
18
- gem "rubocop-rspec", require: false
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
  ```
@@ -0,0 +1,2 @@
1
+ require:
2
+ - rubocop-capybara
data/config/rails.yml CHANGED
@@ -6,4 +6,5 @@ Style/Documentation:
6
6
  Exclude:
7
7
  - app/controllers/**/*
8
8
  - app/models/**/*
9
+ - db/migrate/**/*
9
10
  - test/**/*
data/config/rspec.yml CHANGED
@@ -1,3 +1,2 @@
1
1
  require:
2
- - rubocop-capybara
3
2
  - rubocop-rspec
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module Rickselby
5
- VERSION = "0.2.0"
5
+ VERSION = "0.4.0"
6
6
  end
7
7
  end
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.2.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