armitage-rubocop 0.77.0 → 0.78.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: 8dbfd56141679518f1c80bdebda9e4081c1bc48c5d5d0cd9660c34aba197f0fe
4
- data.tar.gz: da5377259374c2e3a9820abb1ed6fadf51fe0f23eef6cb087f980f548aab79a2
3
+ metadata.gz: 684966f93e9fd342e948f3bc32073917b635a2d40eb99c3095d1e9c8f368a78f
4
+ data.tar.gz: 0dc1098c3651c5f8e7fec9c5df550742b6e885262296d4d6df280f5b9fde55c1
5
5
  SHA512:
6
- metadata.gz: 5f385b720fdc370a146a7ef4aabcdd0923b9982bb91074c22d4e1c3b3e7889fd90f61149f0e95f5250bc8589968e80924f0e20f38ea87fca77f33f84956dc128
7
- data.tar.gz: 0d498164a16a90594aa215d6827158d35df33edd9c0569eeb54f2983ef583d3b845fb1cb4644f38105d0f564d76513388775c5502c04ffb83c3fea967280d878
6
+ metadata.gz: 8df9a6bd5e61f064129aa8cf9030741965fc98954226714c290bd32127485e3e51c4332e2e6947dc9a1b28da340910933c6c9497ea5a41319993af97333c51c8
7
+ data.tar.gz: 06ca6012ee9836b8c0a8fa191c566d1a001b4ca9cf947c44371e24c6f2dd20f889fa5cf13e08b64c433229c800a4521d0e227c43af3b0dfeb5a0d0228f0a1055
@@ -3,4 +3,4 @@ inherit_from:
3
3
  - ./lib/rubocop.rake.yml
4
4
 
5
5
  AllCops:
6
- TargetRubyVersion: 2.6.5
6
+ TargetRubyVersion: 2.7.0
data/Rakefile CHANGED
@@ -21,12 +21,13 @@ end
21
21
 
22
22
  NON_CHECKABLE_COPS = %w[Rails].freeze # NOTE: Global "Rails" cop has only `Enabled` option
23
23
 
24
+ # rubocop:disable Rails/RakeEnvironment
24
25
  namespace :armitage_rubocop do
25
26
  desc 'Full armitage-rubocop build (code style, cops validation, yaml validation)'
26
27
  task :build do
27
28
  build_processes = {
28
29
  code_style_check:
29
- Open3.popen3('bundle exec rubocop'),
30
+ Open3.popen3('bundle exec rake rubocop'),
30
31
  cops_validation:
31
32
  Open3.popen3('bundle exec rake armitage_rubocop:validation:recognizable_cops'),
32
33
  yaml_validation:
@@ -134,3 +135,4 @@ namespace :armitage_rubocop do
134
135
  end
135
136
 
136
137
  task default: :rubocop
138
+ # rubocop:enable Rails/RakeEnvironment
@@ -4,7 +4,7 @@ lib = File.expand_path('lib', __dir__)
4
4
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
- spec.version = '0.77.0'
7
+ spec.version = '0.78.0'
8
8
 
9
9
  spec.name = 'armitage-rubocop'
10
10
  spec.license = 'MIT'
@@ -22,10 +22,10 @@ Gem::Specification.new do |spec|
22
22
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
23
  end
24
24
 
25
- spec.add_dependency 'rubocop', '= 0.77.0'
26
- spec.add_dependency 'rubocop-performance', '= 1.5.1'
27
- spec.add_dependency 'rubocop-rails', '= 2.4.0'
28
- spec.add_dependency 'rubocop-rspec', '= 1.37.0'
25
+ spec.add_dependency 'rubocop', '= 0.78.0'
26
+ spec.add_dependency 'rubocop-performance', '= 1.5.2'
27
+ spec.add_dependency 'rubocop-rails', '= 2.4.1'
28
+ spec.add_dependency 'rubocop-rspec', '= 1.37.1'
29
29
  spec.add_dependency 'rubocop-rake', '= 0.5.0'
30
30
 
31
31
  spec.add_development_dependency 'bundler'
@@ -201,6 +201,20 @@ Layout/LeadingCommentSpace:
201
201
  Enabled: true
202
202
  AllowDoxygenCommentStyle: false
203
203
 
204
+ Layout/LineLength:
205
+ Enabled: true
206
+ AutoCorrect: true
207
+ Max: 100
208
+ AllowHeredoc: true
209
+ AllowURI: true
210
+ URISchemes:
211
+ - http
212
+ - https
213
+ IgnoreCopDirectives: false
214
+ IgnoredPatterns: []
215
+ Exclude:
216
+ - Gemfile
217
+
204
218
  Layout/MultilineArrayBraceLayout:
205
219
  Enabled: true
206
220
  EnforcedStyle: symmetrical
@@ -274,6 +288,7 @@ Layout/SpaceAroundKeyword:
274
288
  Layout/SpaceAroundOperators:
275
289
  Enabled: true
276
290
  AllowForAlignment: true
291
+ EnforcedStyleForExponentOperator: no_space
277
292
 
278
293
  Layout/SpaceBeforeBlockBraces:
279
294
  Enabled: true
@@ -116,6 +116,9 @@ Lint/NestedPercentLiteral:
116
116
  Lint/NextWithoutAccumulator:
117
117
  Enabled: true
118
118
 
119
+ Lint/NonDeterministicRequireOrder:
120
+ Enabled: false
121
+
119
122
  Lint/NonLocalExitFromIterator:
120
123
  Enabled: false
121
124
 
@@ -26,20 +26,6 @@ Metrics/CyclomaticComplexity:
26
26
  Enabled: true
27
27
  Max: 10
28
28
 
29
- Metrics/LineLength:
30
- Enabled: true
31
- AutoCorrect: true
32
- Max: 100
33
- AllowHeredoc: true
34
- AllowURI: true
35
- URISchemes:
36
- - http
37
- - https
38
- IgnoreCopDirectives: false
39
- IgnoredPatterns: []
40
- Exclude:
41
- - Gemfile
42
-
43
29
  Metrics/MethodLength:
44
30
  Enabled: true
45
31
  Max: 25
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: armitage-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.77.0
4
+ version: 0.78.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-30 00:00:00.000000000 Z
11
+ date: 2019-12-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.77.0
19
+ version: 0.78.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.77.0
26
+ version: 0.78.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop-performance
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 1.5.1
33
+ version: 1.5.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 1.5.1
40
+ version: 1.5.2
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rubocop-rails
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.4.0
47
+ version: 2.4.1
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.4.0
54
+ version: 2.4.1
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.37.0
61
+ version: 1.37.1
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 1.37.0
68
+ version: 1.37.1
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rubocop-rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -178,7 +178,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
178
178
  - !ruby/object:Gem::Version
179
179
  version: '0'
180
180
  requirements: []
181
- rubygems_version: 3.0.3
181
+ rubygems_version: 3.1.2
182
182
  signing_key:
183
183
  specification_version: 4
184
184
  summary: A set of rubocop settings