rubocop-dmp_roadmap 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -4
- data/config/layout.yml +19 -6
- data/lib/rubocop/dmp_roadmap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f4312ec1f55ea376af14a608bf1d36c1bfd44c2d91d0908e5b33504abb9fd99
|
4
|
+
data.tar.gz: 18b96b310dd6c320523117e68d886c59bc9d3bd3f9f6b5ad04ac4074a3f7c6f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26c0a7746e2f141e5fe988ebc88da085a310fa5e16cffbbfa546365e9294292e9a995672ca28e88799b062e4f5c02b88a086c0081d4b1c6f1c88a2880c1bea9a
|
7
|
+
data.tar.gz: 30041334af4bbf0031a7f9b8c75da00dc5814c9e6450efa13d47ac1382e68e714bdcff99a1c8b74374a55569597d6fa610ecc4ec9f8c55e5fce671105e1e74b5
|
data/README.md
CHANGED
@@ -9,7 +9,7 @@ Add this line to your application's Gemfile:
|
|
9
9
|
```ruby
|
10
10
|
group :development, :test do
|
11
11
|
|
12
|
-
gem 'rubocop-dmp_roadmap'
|
12
|
+
gem 'rubocop-dmp_roadmap'
|
13
13
|
|
14
14
|
end
|
15
15
|
```
|
@@ -28,9 +28,6 @@ If you don't already have a `.rubocop.yml` file, create one in your repo's root
|
|
28
28
|
|
29
29
|
``` yml
|
30
30
|
# .rubocop.yml
|
31
|
-
|
32
|
-
require: rubocop/dmp_roadmap
|
33
|
-
|
34
31
|
inherit_gem:
|
35
32
|
rubocop-dmp_roadmap:
|
36
33
|
- config/default.yml
|
data/config/layout.yml
CHANGED
@@ -1,12 +1,8 @@
|
|
1
|
-
# Ignore this cop. The Rubocop default is sensible, but the rubocop-rails gem modifies
|
2
|
-
# this to position else keywords awkwardly.
|
3
|
-
Layout/ElseAlignment:
|
4
|
-
Enabled: false
|
5
|
-
|
6
1
|
# Ignore this cop. The Rubocop default is sensible, but the rubocop-rails gem modifies
|
7
2
|
# this to position end keywords awkwardly.
|
8
3
|
Layout/EndAlignment:
|
9
|
-
Enabled:
|
4
|
+
Enabled: true
|
5
|
+
EnforcedStyleAlignWith: keyword
|
10
6
|
|
11
7
|
# Force no empty lines at the start or end of a block's body. Ignore specs, since this
|
12
8
|
# improves readability within the RSpec blocks.
|
@@ -25,3 +21,20 @@ Layout/EmptyLinesAroundClassBody:
|
|
25
21
|
Layout/EmptyLinesAroundModuleBody:
|
26
22
|
Enabled: true
|
27
23
|
EnforcedStyle: empty_lines
|
24
|
+
|
25
|
+
Layout/IndentationWidth:
|
26
|
+
Description: 'Use 2 spaces for indentation.'
|
27
|
+
StyleGuide: '#spaces-indentation'
|
28
|
+
Enabled: true
|
29
|
+
|
30
|
+
# The difference between `rails` and `normal` is that the `rails` style
|
31
|
+
# prescribes that in classes and modules the `protected` and `private`
|
32
|
+
# modifier keywords shall be indented the same as public methods and that
|
33
|
+
# protected and private members shall be indented one step more than the
|
34
|
+
# modifiers. Other than that, both styles mean that entities on the same
|
35
|
+
# logical depth shall have the same indentation.
|
36
|
+
Layout/IndentationConsistency:
|
37
|
+
Description: 'Keep indentation straight.'
|
38
|
+
StyleGuide: '#spaces-indentation'
|
39
|
+
Enabled: true
|
40
|
+
EnforcedStyle: normal
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-dmp_roadmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bodacious
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-08-
|
11
|
+
date: 2018-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|