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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +12 -7
  3. data/README.md +3 -3
  4. metadata +5 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b0b9099bc898c0a613317b5a4d065f65b262168e8abc75f07905a99cf6dae25b
4
- data.tar.gz: 16e82629a1e7028546da2ebae25e3ef3b3ab4e51df094e0c68f74b7ff05d6ff2
3
+ metadata.gz: 671abafef59764d09fdcafa923d650a712f85dacd13b61058a3f3c9d8818caad
4
+ data.tar.gz: 75f28fd0634a7028b10ad4510d8665e44c04f19bbd63b641b40d30f67a7fcc67
5
5
  SHA512:
6
- metadata.gz: f42c38be17bfdc272a1379fbe842267d73a147250efc25d24fb470aabd4d8a23fad1ccc6f83a27b12d0757b7f3daa79fe2eb69ee35a3fb43cf473717a9b1ea2c
7
- data.tar.gz: 136624baca7362f15b8c837d01ed442aeb525fc3602ecf7a967f79481a70ecbdbed51d53e1f0c2c8a977fd1e292da9fdeb6494f981dd38a9702b276c9b3d688e
6
+ metadata.gz: d86ad42e491ab6245a0c00a43eabebad403fbdb9f4607ddee72c43fc98e8631e2d175f0d359d84ce585419efe164781976f64aec441d3b80eb01a6b060ece01f
7
+ data.tar.gz: a959af248765b71f794c4bb3088a3abdf21fc1653d2f2c1d510a5edc8315caef08ddd4d778553e73d49a40fac742e8d0a8e57a2a3ff0787bc435f00448301612
@@ -11,14 +11,16 @@ AllCops:
11
11
  - vendor/**/*
12
12
  - tmp/**/*
13
13
 
14
-
15
- Layout/AlignHash:
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/IndentFirstArrayElement:
21
+ Layout/FirstArrayElementIndentation:
20
22
  EnforcedStyle: consistent
21
- Layout/IndentFirstHashElement:
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
  [![Gem Version](https://img.shields.io/gem/v/rubocop-jekyll.svg?label=Latest%20Release)][rubygems]
7
- [![RuboCop Support](https://img.shields.io/badge/Rubocop%20Support-0.68.0%20--%200.71.x-green.svg)][rubocop-releases]
7
+ [![RuboCop Support](https://img.shields.io/badge/Rubocop%20Support-0.68.0%20--%200.80.x-green.svg)][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.10.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.10.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.10.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: 2019-06-16 00:00:00.000000000 Z
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.72.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.72.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.4
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