rubocop-able 0.1.0 → 0.2.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/config/bundle.yml +178 -0
  3. data/config/default.yml +1 -1
  4. metadata +6 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4bd88397fda0f2eba26fa8e3ac17f2d280801c1c530202ec64d8df6cb97b4449
4
- data.tar.gz: 5d4883ba3a1ec2a47f8d5bbb2f057a1c27f98c94889470c91baca46fb3fe6ed8
3
+ metadata.gz: c10bd10d05777ceae9797002b47512bc4d65e4d8e7720c93ad2231c29f80f5e7
4
+ data.tar.gz: a3488d22610a53ebf86a7c28409645dc094ab12d8c6f7152b473cd39099d5c17
5
5
  SHA512:
6
- metadata.gz: 200fe375649f21edb12dbf22a9fed03b371fb2d7496c69a7d789eb499c9be83b67e8fb169e7508edb1593ee9a61863333b8210e687ff92ae5a8bd6c8e0fd1de0
7
- data.tar.gz: dc3620292edfeac8b5f445a3183af93a9b184f8d5535d61e3a82fb8b758f9642956af1ece7d1bb8530fc45a5aad57fbd01d88b115fdc43e274313848acde623a
6
+ metadata.gz: 117ebc6ec31281659071577f0cc7c67bb0ae763344b457a9638bf03bf3fa673363e340e01b250f908abaef7c76b3faf9bbb5318ee24434924a11b51ae260e96e
7
+ data.tar.gz: eb46c4fa7d93622d5bfb7341f1df5b591999576d5217a0d7a75990244d5e53de2cf9736855dcf5b23eeb7801657f6303a256f2202a43dd223ddab6be846af8d6
data/config/bundle.yml ADDED
@@ -0,0 +1,178 @@
1
+ require: rubocop-rails
2
+ AllCops:
3
+ Exclude:
4
+ - bin/**/*
5
+ - node_modules/**/*
6
+ - log/**/*
7
+ - tmp/**/*
8
+ - vendor/**/*
9
+ - db/migrate/*
10
+ - db/schema.rb
11
+ DisabledByDefault: true
12
+
13
+ Layout/AccessModifierIndentation:
14
+ EnforcedStyle: indent
15
+
16
+ Layout/BlockAlignment:
17
+ EnforcedStyleAlignWith: either
18
+
19
+ Layout/DefEndAlignment:
20
+ EnforcedStyleAlignWith: start_of_line
21
+
22
+ Layout/DotPosition:
23
+ EnforcedStyle: leading
24
+
25
+ Layout/EmptyComment:
26
+ Enabled: true
27
+
28
+ Layout/EmptyLineBetweenDefs:
29
+ Enabled: true
30
+ NumberOfEmptyLines: 1
31
+
32
+ Layout/EmptyLinesAroundBlockBody:
33
+ EnforcedStyle: no_empty_lines
34
+
35
+ Layout/EmptyLinesAroundClassBody:
36
+ EnforcedStyle: no_empty_lines
37
+
38
+ Layout/EmptyLinesAroundModuleBody:
39
+ EnforcedStyle: no_empty_lines
40
+
41
+ Layout/EndAlignment:
42
+ EnforcedStyleAlignWith: start_of_line
43
+
44
+ Layout/ExtraSpacing:
45
+ AllowForAlignment: true
46
+
47
+ Layout/IndentFirstArrayElement:
48
+ EnforcedStyle: consistent
49
+
50
+ Layout/IndentFirstHashElement:
51
+ EnforcedStyle: consistent
52
+
53
+ Layout/IndentationConsistency:
54
+ EnforcedStyle: normal
55
+
56
+ Layout/IndentationWidth:
57
+ Width: 2
58
+
59
+ Layout/SpaceAroundBlockParameters:
60
+ EnforcedStyleInsidePipes: no_space
61
+
62
+ Layout/SpaceAroundEqualsInParameterDefault:
63
+ EnforcedStyle: space
64
+
65
+ Layout/SpaceAroundOperators:
66
+ Enabled: true
67
+
68
+ Layout/SpaceBeforeBlockBraces:
69
+ EnforcedStyle: space
70
+
71
+ Layout/SpaceInLambdaLiteral:
72
+ EnforcedStyle: require_no_space
73
+
74
+ Layout/SpaceInsideBlockBraces:
75
+ EnforcedStyle: space
76
+ EnforcedStyleForEmptyBraces: no_space
77
+
78
+ Layout/SpaceInsideHashLiteralBraces:
79
+ EnforcedStyle: space
80
+ EnforcedStyleForEmptyBraces: no_space
81
+
82
+ Layout/SpaceInsideReferenceBrackets:
83
+ EnforcedStyle: no_space
84
+
85
+ Layout/SpaceInsideStringInterpolation:
86
+ EnforcedStyle: no_space
87
+
88
+ Layout/Tab:
89
+ Enabled: true
90
+
91
+ Layout/TrailingWhitespace:
92
+ Enabled: true
93
+
94
+ Lint/SafeNavigationChain:
95
+ Enabled: true
96
+
97
+ Lint/ShadowedArgument:
98
+ Enabled: true
99
+
100
+ Lint/UnusedBlockArgument:
101
+ Enabled: true
102
+
103
+ Lint/UnusedMethodArgument:
104
+ Enabled: true
105
+
106
+ Metrics/LineLength:
107
+ Max: 100
108
+ IgnoredPatterns: [(\A|\s)#]
109
+
110
+ Naming/VariableName:
111
+ EnforcedStyle: snake_case
112
+
113
+ Style/BlockDelimiters:
114
+ EnforcedStyle: line_count_based
115
+
116
+ Style/BracesAroundHashParameters:
117
+ EnforcedStyle: no_braces
118
+
119
+ Style/EmptyElse:
120
+ EnforcedStyle: both
121
+
122
+ Style/EmptyMethod:
123
+ EnforcedStyle: expanded
124
+
125
+ Style/GlobalVars:
126
+ AllowedVariables: ["$rollout"]
127
+
128
+ Style/HashSyntax:
129
+ EnforcedStyle: ruby19_no_mixed_keys
130
+
131
+ Style/MethodDefParentheses:
132
+ EnforcedStyle: require_parentheses
133
+
134
+ Style/NumericLiterals:
135
+ MinDigits: 5
136
+ Strict: false
137
+
138
+ Style/RedundantReturn:
139
+ Enabled: true
140
+
141
+ Style/Semicolon:
142
+ Enabled: true
143
+
144
+ Style/SingleLineMethods:
145
+ Enabled: true
146
+
147
+ Style/StabbyLambdaParentheses:
148
+ EnforcedStyle: require_parentheses
149
+
150
+ Style/StringLiterals:
151
+ EnforcedStyle: double_quotes
152
+
153
+ Style/StringLiteralsInInterpolation:
154
+ EnforcedStyle: single_quotes
155
+
156
+ Style/TrailingCommaInArguments:
157
+ EnforcedStyleForMultiline: no_comma
158
+
159
+ Style/TrailingCommaInArrayLiteral:
160
+ EnforcedStyleForMultiline: no_comma
161
+
162
+ Style/TrailingCommaInHashLiteral:
163
+ EnforcedStyleForMultiline: no_comma
164
+
165
+ Rails/LexicallyScopedActionFilter:
166
+ Enabled: false
167
+ Include:
168
+ - app/controllers/**/*.rb
169
+
170
+ Rails/TimeZone:
171
+ EnforcedStyle: flexible
172
+
173
+ Rails/UnknownEnv:
174
+ Environments:
175
+ - development
176
+ - test
177
+ - production
178
+ - staging
data/config/default.yml CHANGED
@@ -103,7 +103,7 @@ Lint/UnusedMethodArgument:
103
103
  Enabled: true
104
104
 
105
105
  Metrics/LineLength:
106
- Max: 80
106
+ Max: 100
107
107
  IgnoredPatterns: [(\A|\s)#]
108
108
 
109
109
  Naming/VariableName:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-able
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Able
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-29 00:00:00.000000000 Z
11
+ date: 2020-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.74'
19
+ version: '0.76'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0.74'
26
+ version: '0.76'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -46,6 +46,7 @@ extra_rdoc_files: []
46
46
  files:
47
47
  - LICENSE
48
48
  - README.md
49
+ - config/bundle.yml
49
50
  - config/default.yml
50
51
  - config/rails.yml
51
52
  homepage: https://github.com/ableco/rubocop-able
@@ -67,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
67
68
  - !ruby/object:Gem::Version
68
69
  version: '0'
69
70
  requirements: []
70
- rubygems_version: 3.0.3
71
+ rubygems_version: 3.1.2
71
72
  signing_key:
72
73
  specification_version: 4
73
74
  summary: RuboCop Able