rubocop-jekyll 0.10.0 → 0.11.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/.rubocop.yml +12 -7
- data/README.md +3 -3
- 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: 671abafef59764d09fdcafa923d650a712f85dacd13b61058a3f3c9d8818caad
|
4
|
+
data.tar.gz: 75f28fd0634a7028b10ad4510d8665e44c04f19bbd63b641b40d30f67a7fcc67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d86ad42e491ab6245a0c00a43eabebad403fbdb9f4607ddee72c43fc98e8631e2d175f0d359d84ce585419efe164781976f64aec441d3b80eb01a6b060ece01f
|
7
|
+
data.tar.gz: a959af248765b71f794c4bb3088a3abdf21fc1653d2f2c1d510a5edc8315caef08ddd4d778553e73d49a40fac742e8d0a8e57a2a3ff0787bc435f00448301612
|
data/.rubocop.yml
CHANGED
@@ -11,14 +11,16 @@ AllCops:
|
|
11
11
|
- vendor/**/*
|
12
12
|
- tmp/**/*
|
13
13
|
|
14
|
-
|
15
|
-
|
14
|
+
Layout/LineLength:
|
15
|
+
Max: 100
|
16
|
+
Severity: warning
|
17
|
+
Layout/HashAlignment:
|
16
18
|
EnforcedHashRocketStyle: table
|
17
19
|
Layout/IndentationWidth:
|
18
20
|
Severity: error
|
19
|
-
Layout/
|
21
|
+
Layout/FirstArrayElementIndentation:
|
20
22
|
EnforcedStyle: consistent
|
21
|
-
Layout/
|
23
|
+
Layout/FirstHashElementIndentation:
|
22
24
|
EnforcedStyle: consistent
|
23
25
|
Layout/MultilineMethodCallIndentation:
|
24
26
|
EnforcedStyle: indented
|
@@ -41,9 +43,6 @@ Metrics/BlockLength:
|
|
41
43
|
- !ruby/regexp /^spec/
|
42
44
|
Metrics/ClassLength:
|
43
45
|
Max: 240
|
44
|
-
Metrics/LineLength:
|
45
|
-
Max: 100
|
46
|
-
Severity: warning
|
47
46
|
Metrics/MethodLength:
|
48
47
|
CountComments: false
|
49
48
|
Max: 20
|
@@ -79,6 +78,12 @@ Style/GuardClause:
|
|
79
78
|
Style/HashSyntax:
|
80
79
|
EnforcedStyle: hash_rockets
|
81
80
|
Severity: error
|
81
|
+
Style/HashEachMethods:
|
82
|
+
Enabled: true
|
83
|
+
Style/HashTransformKeys:
|
84
|
+
Enabled: true
|
85
|
+
Style/HashTransformValues:
|
86
|
+
Enabled: true
|
82
87
|
Style/ModuleFunction:
|
83
88
|
Enabled: false
|
84
89
|
Style/MultilineTernaryOperator:
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@ A RuboCop extension to enforce common code style in Jekyll and Jekyll plugins.
|
|
4
4
|
|
5
5
|
|
6
6
|
[][rubygems]
|
7
|
-
[][rubocop-releases]
|
8
8
|
|
9
9
|
[rubygems]: https://rubygems.org/gems/rubocop-jekyll
|
10
10
|
[rubocop-releases]: https://github.com/rubocop-hq/rubocop/releases
|
@@ -23,12 +23,12 @@ or if you prefer Bundler, add it to your `Gemfile` or `gemspec`
|
|
23
23
|
```ruby
|
24
24
|
# Gemfile
|
25
25
|
|
26
|
-
gem "rubocop-jekyll", "~> 0.
|
26
|
+
gem "rubocop-jekyll", "~> 0.11.0"
|
27
27
|
```
|
28
28
|
```ruby
|
29
29
|
# <plugin>.gemspec
|
30
30
|
|
31
|
-
spec.add_development_dependency "rubocop-jekyll", "~> 0.
|
31
|
+
spec.add_development_dependency "rubocop-jekyll", "~> 0.11.0"
|
32
32
|
```
|
33
33
|
and run `bundle install`
|
34
34
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ashwin Maroli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 0.68.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 0.
|
22
|
+
version: 0.81.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: 0.68.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 0.
|
32
|
+
version: 0.81.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: rubocop-performance
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
77
|
- !ruby/object:Gem::Version
|
78
78
|
version: '0'
|
79
79
|
requirements: []
|
80
|
-
rubygems_version: 3.0.
|
80
|
+
rubygems_version: 3.0.6
|
81
81
|
signing_key:
|
82
82
|
specification_version: 4
|
83
83
|
summary: Code style check for Jekyll and Jekyll plugins
|