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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6e46dd11c9e29a4d65ef6d4cee89566d7a470611a8170a226eaaa9ac275fe69d
4
- data.tar.gz: f905a7362e092f04a0046e8c2a022907b5229e077d3a196d5565bc1c1f6286e4
3
+ metadata.gz: 6f4312ec1f55ea376af14a608bf1d36c1bfd44c2d91d0908e5b33504abb9fd99
4
+ data.tar.gz: 18b96b310dd6c320523117e68d886c59bc9d3bd3f9f6b5ad04ac4074a3f7c6f8
5
5
  SHA512:
6
- metadata.gz: af5c9a007d7c1b629ba87a54ea74fde12c079b59a30096ca5810687bbbc9daa5be3ae3ac6ccacb9eaac71ec543bfd07c03ac5ceca86e8307dbaa3eb6865becb0
7
- data.tar.gz: 8d757c185fb7b1ec342efd6280859456e0d0fd5376049c1cd61a0e86344615e354b9fecae677ceeef1dfedd7b7b30123da7617c2fc8124addc560fe1022879fa
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', require: false
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: false
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Rubocop
4
4
  module DmpRoadmap
5
- VERSION = "1.0.0"
5
+ VERSION = "1.1.0"
6
6
  end
7
7
  end
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.0.0
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-09 00:00:00.000000000 Z
11
+ date: 2018-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop