aroundhome_cops 2.1.0 → 3.0.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: 677a8fd1caf9f01b7edbf601523d6b7682b6c80a5f3733e53181aa91d4fe80c8
4
- data.tar.gz: e165928316c12030231e86c0f57276cb7a36b2a4787e95f28657fc4a35806e57
3
+ metadata.gz: fee1b743baec2877e677710e69aaad6247e12404931b357086e2da65129e3681
4
+ data.tar.gz: d0dd262d22f6d447ba79416e94e5c750d255a0bee0cf745c39abf7cef45067e6
5
5
  SHA512:
6
- metadata.gz: 9c3db4236a4c8006abb661fc8dfdb6e86aa8ee571d77ae499e362ea3752e68147ccb5677d36efc4c3264305d2479451d55289fc93ae48d882dee6fc018d21d00
7
- data.tar.gz: b4f999e50282e2131759451409a86001c7efde00fed869c7f3f69c1c1664081cea7d31c176d6563937ea83b41dc8315f084c7a1178768a3cc57b79307ca6ba83
6
+ metadata.gz: ef8d267ebbab4c5715d9f7bffe05c59df94bf9e519d077d4e15cdf2792b8ceeb4b6eb36f26c6f1f4cceb9c9413d38ee20d1badf3d70d1ff982fff2dccfd2342b
7
+ data.tar.gz: e0ec10ec887f77c4a24e9801c23149b6055bc3d5c8b2f9f94e20ecbc59c1dc272109701bed41152f3f4dfda69f6d8aa79babf353a727ebe6d4253fa1c9eb6b93
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.5.8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## Version 3.0.0
2
+
3
+ * Support Rubocop 1.0 and opt into all offenses up until 1.13
4
+
1
5
  ## Version 2.1.0
2
6
 
3
7
  * Allow ambiguous blocks in specs
@@ -18,5 +18,7 @@ Gem::Specification.new do |spec|
18
18
  .reject { |f| f.match(%r{^spec/}) }
19
19
  spec.require_paths = ['lib']
20
20
 
21
- spec.add_dependency 'rubocop', '~> 0.86'
21
+ spec.required_ruby_version = '>= 2.5.0'
22
+
23
+ spec.add_dependency 'rubocop', '~> 1.0'
22
24
  end
data/default.yml CHANGED
@@ -19,6 +19,9 @@ AllCops:
19
19
  - 'db/migrate/2015*.rb'
20
20
  - 'db/migrate/2016*.rb'
21
21
  - 'db/migrate/2017*.rb'
22
+ SuggestExtensions:
23
+ rubocop-rspec: false
24
+ rubocop-rails: false
22
25
 
23
26
  # While we like to write blocks like the following
24
27
  # expect { add_special_project }.not_to change { SpecialProject.count }
@@ -47,7 +50,7 @@ Layout/LineLength:
47
50
  # long, since they are less comparable to methods and more comparable to
48
51
  # modules/classes.
49
52
  Metrics/BlockLength:
50
- ExcludedMethods:
53
+ IgnoredMethods:
51
54
  - context
52
55
  - describe
53
56
  - namespace
@@ -133,44 +136,63 @@ Metrics/ParameterLists:
133
136
  # them below.
134
137
  # Disabled cops will appear above with a comment explaining disablement.
135
138
 
136
- Layout/SpaceAroundMethodCallOperator:
139
+ Gemspec/DateAssignment: # (new in 1.10)
137
140
  Enabled: true
138
-
139
- Lint/RaiseException:
141
+ Layout/SpaceBeforeBrackets: # (new in 1.7)
140
142
  Enabled: true
141
-
142
- Lint/StructNewOverride:
143
+ Lint/AmbiguousAssignment: # (new in 1.7)
143
144
  Enabled: true
144
-
145
- Style/ExponentialNotation:
145
+ Lint/DeprecatedConstants: # (new in 1.8)
146
146
  Enabled: true
147
-
148
- Style/HashEachMethods:
147
+ Lint/DuplicateBranch: # (new in 1.3)
149
148
  Enabled: true
150
-
151
- Style/HashTransformKeys:
149
+ Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
152
150
  Enabled: true
153
-
154
- Style/HashTransformValues:
151
+ Lint/EmptyBlock: # (new in 1.1)
155
152
  Enabled: true
156
-
157
- Layout/EmptyLinesAroundAttributeAccessor:
153
+ Lint/EmptyClass: # (new in 1.3)
158
154
  Enabled: true
159
-
160
- Lint/DeprecatedOpenSSLConstant:
155
+ Lint/LambdaWithoutLiteralBlock: # (new in 1.8)
161
156
  Enabled: true
162
-
163
- Lint/MixedRegexpCaptureTypes:
157
+ Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
164
158
  Enabled: true
165
-
166
- Style/RedundantFetchBlock:
159
+ Lint/NumberedParameterAssignment: # (new in 1.9)
167
160
  Enabled: true
168
-
169
- Style/RedundantRegexpCharacterClass:
161
+ Lint/OrAssignmentToConstant: # (new in 1.9)
170
162
  Enabled: true
171
-
172
- Style/RedundantRegexpEscape:
163
+ Lint/RedundantDirGlobSort: # (new in 1.8)
173
164
  Enabled: true
174
-
175
- Style/SlicingWithRange:
165
+ Lint/SymbolConversion: # (new in 1.9)
166
+ Enabled: true
167
+ Lint/ToEnumArguments: # (new in 1.1)
168
+ Enabled: true
169
+ Lint/TripleQuotes: # (new in 1.9)
170
+ Enabled: true
171
+ Lint/UnexpectedBlockArity: # (new in 1.5)
172
+ Enabled: true
173
+ Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
174
+ Enabled: true
175
+ Style/ArgumentsForwarding: # (new in 1.1)
176
+ Enabled: true
177
+ Style/CollectionCompact: # (new in 1.2)
178
+ Enabled: true
179
+ Style/DocumentDynamicEvalDefinition: # (new in 1.1)
180
+ Enabled: true
181
+ Style/EndlessMethod: # (new in 1.8)
182
+ Enabled: true
183
+ Style/HashConversion: # (new in 1.10)
184
+ Enabled: true
185
+ Style/HashExcept: # (new in 1.7)
186
+ Enabled: true
187
+ Style/IfWithBooleanLiteralBranches: # (new in 1.9)
188
+ Enabled: true
189
+ Style/NegatedIfElseCondition: # (new in 1.2)
190
+ Enabled: true
191
+ Style/NilLambda: # (new in 1.3)
192
+ Enabled: true
193
+ Style/RedundantArgument: # (new in 1.4)
194
+ Enabled: true
195
+ Style/StringChars: # (new in 1.12)
196
+ Enabled: true
197
+ Style/SwapValues: # (new in 1.1)
176
198
  Enabled: true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AroundhomeCops
4
- VERSION = '2.1.0'
4
+ VERSION = '3.0.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aroundhome_cops
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jan Sandbrink
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-28 00:00:00.000000000 Z
11
+ date: 2021-05-04 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.86'
19
+ version: '1.0'
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.86'
26
+ version: '1.0'
27
27
  description:
28
28
  email:
29
29
  - jan.sandbrink@aroundhome.de
@@ -34,6 +34,7 @@ files:
34
34
  - ".gitignore"
35
35
  - ".gitlab-ci.yml"
36
36
  - ".rubocop.yml"
37
+ - ".ruby-version"
37
38
  - CHANGELOG.md
38
39
  - Gemfile
39
40
  - README.md
@@ -51,14 +52,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
51
52
  requirements:
52
53
  - - ">="
53
54
  - !ruby/object:Gem::Version
54
- version: '0'
55
+ version: 2.5.0
55
56
  required_rubygems_version: !ruby/object:Gem::Requirement
56
57
  requirements:
57
58
  - - ">="
58
59
  - !ruby/object:Gem::Version
59
60
  version: '0'
60
61
  requirements: []
61
- rubygems_version: 3.1.2
62
+ rubygems_version: 3.2.15
62
63
  signing_key:
63
64
  specification_version: 4
64
65
  summary: Dependency and configuration for rubocop.