rubocop-bridgetown 0.2.1 → 0.2.2
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 -3
- data/lib/rubocop-bridgetown.rb +2 -0
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d2cf6be785fdccacc37c7109664f28e0e42092fa3aa3feae743757cf7938a688
|
|
4
|
+
data.tar.gz: 49267146654881c7fc6dcd9bd6882eeaea10a4cf2a43591f375750db742bb2dc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d7bf172273a46ec6d709fed8f948249f85a5c690c8f707b3d3f56c4f351024fddf8e6f1b0109ebef423f86f82cbdf96b730f3fb460888a19bb7f2815cfe594d2
|
|
7
|
+
data.tar.gz: bc6db52c2b3d5771edce16ef7a119ab2ccaeb003871d70806352ca53c54932be7541853d79ec396b2618f088f85f04b27b79dcc4eac7d09aa6e7833d858b564b
|
data/README.md
CHANGED
|
@@ -19,12 +19,12 @@ or if you prefer Bundler, add it to your `Gemfile` or `gemspec`
|
|
|
19
19
|
```ruby
|
|
20
20
|
# Gemfile
|
|
21
21
|
|
|
22
|
-
gem "rubocop-bridgetown", "~> 0.2
|
|
22
|
+
gem "rubocop-bridgetown", "~> 0.2"
|
|
23
23
|
```
|
|
24
24
|
```ruby
|
|
25
25
|
# <plugin>.gemspec
|
|
26
26
|
|
|
27
|
-
spec.add_development_dependency "rubocop-bridgetown", "~> 0.2
|
|
27
|
+
spec.add_development_dependency "rubocop-bridgetown", "~> 0.2"
|
|
28
28
|
```
|
|
29
29
|
and run `bundle install`
|
|
30
30
|
|
|
@@ -44,12 +44,26 @@ inherit_gem:
|
|
|
44
44
|
|
|
45
45
|
Running `bundle exec rubocop` will now automatically load the `rubocop-bridgetown` cops together with the standard cops.
|
|
46
46
|
|
|
47
|
+
## Exclude Folders List
|
|
48
|
+
|
|
49
|
+
Currently it seems Rubocop doesn't inherit the `Excludes` folder list from the gem configuration, so you may want to add it manually to your `.rubocop.yml` file:
|
|
50
|
+
|
|
51
|
+
```yaml
|
|
52
|
+
AllCops:
|
|
53
|
+
Exclude:
|
|
54
|
+
- bin/**/*
|
|
55
|
+
- exe/**/*
|
|
56
|
+
- benchmark/**/*
|
|
57
|
+
- node_modules/**/*
|
|
58
|
+
- script/**/*
|
|
59
|
+
- vendor/**/*
|
|
60
|
+
- tmp/**/*
|
|
61
|
+
```
|
|
47
62
|
|
|
48
63
|
## Customization
|
|
49
64
|
|
|
50
65
|
You can override any settings inherited from the extension by subsequently redefining the concerned parameters.
|
|
51
66
|
|
|
52
|
-
|
|
53
67
|
## Release Cycle
|
|
54
68
|
|
|
55
69
|
A new release of this gem is manually cut based on the adoption of the latest version of RuboCop by the [Bridgetown repository](https://github.com/bridgetownrb/bridgetown):
|
data/lib/rubocop-bridgetown.rb
CHANGED
metadata
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubocop-bridgetown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bridgetown Team
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
date: 2020-12-12 00:00:00.000000000 Z
|
|
@@ -83,7 +83,7 @@ homepage: https://github.com/bridgetownrb/rubocop-bridgetown
|
|
|
83
83
|
licenses:
|
|
84
84
|
- MIT
|
|
85
85
|
metadata: {}
|
|
86
|
-
post_install_message:
|
|
86
|
+
post_install_message:
|
|
87
87
|
rdoc_options: []
|
|
88
88
|
require_paths:
|
|
89
89
|
- lib
|
|
@@ -98,8 +98,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
98
98
|
- !ruby/object:Gem::Version
|
|
99
99
|
version: '0'
|
|
100
100
|
requirements: []
|
|
101
|
-
rubygems_version: 3.
|
|
102
|
-
signing_key:
|
|
101
|
+
rubygems_version: 3.2.0
|
|
102
|
+
signing_key:
|
|
103
103
|
specification_version: 4
|
|
104
104
|
summary: Code style check for Bridgetown plugins
|
|
105
105
|
test_files: []
|