rubocop-bridgetown 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +2 -1
- data/README.md +5 -5
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11a1f8d566ad6962a16c7c1f2e87e1ee1a87b0569147636eca24b650e9a65b2b
|
4
|
+
data.tar.gz: 688bb6290ab6d2c443cbc7e33a692b428d17717a178849668db1c345e02546c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a0d668b99ad86771d7ea7a740d22d35ff9cb3661f42adbba7161a35936ea03f4fad21c58a08fd5d2661aae8b1b7fd757252dbb3001a61a800ac65e4100d6288
|
7
|
+
data.tar.gz: 49d8e45ba882157533e61ea7c0cf7fcfa2c76abc229ffb6da779d10e1c4d644c149094f93fe0274cda9d72ab50f0ec3426cd3e45bc13421899c3ed2d8cf18815
|
data/.rubocop.yml
CHANGED
@@ -7,6 +7,7 @@ AllCops:
|
|
7
7
|
- bin/**/*
|
8
8
|
- exe/**/*
|
9
9
|
- benchmark/**/*
|
10
|
+
- node_modules/**/*
|
10
11
|
- script/**/*
|
11
12
|
- vendor/**/*
|
12
13
|
- tmp/**/*
|
@@ -34,7 +35,7 @@ Lint/StructNewOverride:
|
|
34
35
|
Lint/UnreachableCode:
|
35
36
|
Severity: error
|
36
37
|
Metrics/AbcSize:
|
37
|
-
Max:
|
38
|
+
Max: 24
|
38
39
|
Metrics/ClassLength:
|
39
40
|
Max: 240
|
40
41
|
Layout/LineLength:
|
data/README.md
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
A RuboCop extension to enforce common code style in Bridgetown plugins.
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
![Gem Version](https://img.shields.io/gem/v/rubocop-bridgetown.svg?label=Latest%20Release)
|
6
|
+
![RuboCop Support](https://img.shields.io/badge/Rubocop%20Support-0.81.0-green.svg)
|
7
7
|
|
8
8
|
|
9
9
|
## Installation
|
@@ -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.
|
22
|
+
gem "rubocop-bridgetown", "~> 0.2.0"
|
23
23
|
```
|
24
24
|
```ruby
|
25
25
|
# <plugin>.gemspec
|
26
26
|
|
27
|
-
spec.add_development_dependency "rubocop-bridgetown", "~> 0.
|
27
|
+
spec.add_development_dependency "rubocop-bridgetown", "~> 0.2.0"
|
28
28
|
```
|
29
29
|
and run `bundle install`
|
30
30
|
|
@@ -32,7 +32,7 @@ and run `bundle install`
|
|
32
32
|
## Usage
|
33
33
|
|
34
34
|
You need to tell RuboCop to load the extension and *inherit* the custom RuboCop configuration advocated by
|
35
|
-
[Bridgetown](https://github.com/bridgetown).
|
35
|
+
[Bridgetown](https://github.com/bridgetownrb/bridgetown).
|
36
36
|
|
37
37
|
Place the following at the top of your `.rubocop.yml`.
|
38
38
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bridgetown Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '0'
|
100
100
|
requirements: []
|
101
|
-
rubygems_version: 3.
|
101
|
+
rubygems_version: 3.1.4
|
102
102
|
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: Code style check for Bridgetown plugins
|