rubocop-aha 0.1.3 → 0.2.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
  SHA1:
3
- metadata.gz: 342f40dd97cc32873432fc7bc82d9a96592ff871
4
- data.tar.gz: 9515b0b6097268d160bd57334867a4a032d8c92b
3
+ metadata.gz: cd3de4b7dee59c01ee2a7a766b2d27513d088221
4
+ data.tar.gz: e2a385f9db0203d948b716e0ed1e80576fe49c8c
5
5
  SHA512:
6
- metadata.gz: 2d4591b9aaf8df3c3c2261cf833e532d7479ed6cedbd10443b7ff9f6e05ff0579108dba08ca69b9fd063e9a97ef9bbfcc29fe3ddeb533ae1e3492c7349e48fe0
7
- data.tar.gz: 3deee5fddc36be908f8689b4f71b0f97f1f833633b007597bc7dd84cb70dc4b72e38a19764dc1eea16a63da5045b96cfe73bc6e5ddd7694e325442fc7060f49a
6
+ metadata.gz: 275d7fb1b2fbdd334e9305464d081c03a712ec17a45d23a4fa5c81172c09ab6304edf4e33dceaa345c0fac7848dcbe3fa6cabe9286d2da275a83ef604b3e7e2a
7
+ data.tar.gz: c5c7d29da8afa38c7c9d7b11026b23f68513c4309a03cf72cd29edf3dc50803388d64f714c3faf0b249abdab1992b649ec142428027010521a620c834ebe3344
data/lib/config.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  require:
2
- - ./rubocop-aha/cops/empty_gsub_replacement.rb
2
+ - ./rubocop-aha/cop/performance/empty_gsub_replacement.rb
3
3
  - rubocop/rspec/focused
4
4
  - rubocop-rspec
5
5
 
@@ -19,21 +19,60 @@ Rails:
19
19
  Bundler/OrderedGems:
20
20
  Enabled: false
21
21
 
22
+ Layout/AlignParameters:
23
+ EnforcedStyle: with_fixed_indentation
24
+
22
25
  Layout/CaseIndentation:
23
26
  EnforcedStyle: end
24
27
 
25
28
  Layout/ElseAlignment:
26
29
  Enabled: false
27
30
 
31
+ Layout/EmptyLinesAroundBeginBody:
32
+ Enabled: false
33
+
28
34
  Layout/EmptyLinesAroundBlockBody:
29
35
  Enabled: false
30
36
 
37
+ Layout/EmptyLinesAroundClassBody:
38
+ Enabled: false
39
+
31
40
  Layout/EmptyLinesAroundExceptionHandlingKeywords:
32
41
  Enabled: false
33
42
 
43
+ Layout/FirstArrayElementLineBreak:
44
+ Enabled: true
45
+
46
+ Layout/FirstHashElementLineBreak:
47
+ Enabled: true
48
+
49
+ Layout/FirstMethodArgumentLineBreak:
50
+ Enabled: true
51
+
52
+ Layout/FirstMethodParameterLineBreak:
53
+ Enabled: true
54
+
55
+ Layout/IndentArray:
56
+ EnforcedStyle: consistent
57
+
34
58
  Layout/IndentHash:
35
59
  EnforcedStyle: consistent
36
60
 
61
+ Layout/MultilineArrayBraceLayout:
62
+ EnforcedStyle: new_line
63
+
64
+ Layout/MultilineHashBraceLayout:
65
+ EnforcedStyle: new_line
66
+
67
+ Layout/MultilineMethodCallBraceLayout:
68
+ EnforcedStyle: new_line
69
+
70
+ Layout/MultilineMethodCallIndentation:
71
+ EnforcedStyle: indented_relative_to_receiver
72
+
73
+ Layout/MultilineMethodDefinitionBraceLayout:
74
+ EnforcedStyle: new_line
75
+
37
76
  Layout/MultilineOperationIndentation:
38
77
  EnforcedStyle: indented
39
78
 
@@ -1,4 +1,3 @@
1
- # frozen_string_literal: true
2
1
  # Copied from https://raw.githubusercontent.com/bbatsov/rubocop/master/lib/rubocop/cop/performance/string_replacement.rb
3
2
  # Becker: Removed tr replacement
4
3
 
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module Aha
3
- VERSION = '0.1.3'.freeze
3
+ VERSION = '0.2.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-aha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Schneider
@@ -66,7 +66,7 @@ files:
66
66
  - Rakefile
67
67
  - lib/config.yml
68
68
  - lib/rubocop-aha.rb
69
- - lib/rubocop-aha/cops/empty_gsub_replacement.rb
69
+ - lib/rubocop-aha/cop/performance/empty_gsub_replacement.rb
70
70
  - lib/rubocop-aha/version.rb
71
71
  - rubocop-aha.gemspec
72
72
  homepage: https://github.com/aha-app/rubocop-aha