quality 39.0.1 → 40.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/quality/command_output_processor.rb +5 -4
- data/lib/quality/config.rb +2 -0
- data/lib/quality/version.rb +3 -1
- data/quality.gemspec +5 -2
- metadata +14 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5524591d0d172a2e3fb667c073281f0269c5ec8279594017fccc6b348d24d84e
|
4
|
+
data.tar.gz: ac05cd2261f1e3845c0429062ce3658966a516a0c97d4e06b0a789ecc96d9929
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5990aef52187b2badca09eade2f20a9e9faf29a148d31126d018f25f82231d6732ff65f0f7f590884b3651bfe66e942bf5aa0b1f831a62c1d87a27e0a4b0e7cf
|
7
|
+
data.tar.gz: aeca668a36e880a185d11b58a0bad679575799825597a0708af5e78c32eeeae0d9cd3cff604c011dddd3b0cc9a027e255dd0f3c628abc131e6b95bb915d09504
|
@@ -44,10 +44,11 @@ module Quality
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def preprocess_line_for_emacs
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
47
|
+
case @current_line
|
48
|
+
when /^ *(\S*.rb:[0-9]*) *(.*)/
|
49
|
+
"#{Regexp.last_match[1]}: #{Regexp.last_match[2]}\n"
|
50
|
+
when /^ *(.*) +(\S*.rb:[0-9]*) *(.*)/
|
51
|
+
"#{Regexp.last_match[2]}: #{Regexp.last_match[1]}\n"
|
51
52
|
else
|
52
53
|
@current_line
|
53
54
|
end
|
data/lib/quality/config.rb
CHANGED
data/lib/quality/version.rb
CHANGED
data/quality.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.summary = 'Code quality ratchet for Ruby'
|
19
19
|
spec.homepage = 'https://github.com/apiology/quality'
|
20
20
|
spec.license = 'MIT license'
|
21
|
-
spec.required_ruby_version = '>= 2.
|
21
|
+
spec.required_ruby_version = '>= 2.7'
|
22
22
|
spec.files = Dir['CODE_OF_CONDUCT.md', 'LICENSE.txt', 'README.md',
|
23
23
|
'{lib}/quality.rb',
|
24
24
|
'{lib}/quality/**/*.rb',
|
@@ -67,7 +67,7 @@ Gem::Specification.new do |spec|
|
|
67
67
|
#
|
68
68
|
# https://github.com/bbatsov/rubocop#installation
|
69
69
|
spec.add_runtime_dependency('mdl')
|
70
|
-
spec.add_runtime_dependency('rubocop', '~> 1.
|
70
|
+
spec.add_runtime_dependency('rubocop', '~> 1.39.0')
|
71
71
|
# 0.2.0 had a fatal bug
|
72
72
|
# 0.3.0 introduces config files
|
73
73
|
spec.add_runtime_dependency('bigfiles', ['>= 0.3.0', '!= 0.2.0'])
|
@@ -88,4 +88,7 @@ Gem::Specification.new do |spec|
|
|
88
88
|
|
89
89
|
# cane has an unadvertised dependency on json
|
90
90
|
spec.add_runtime_dependency('json')
|
91
|
+
spec.metadata = {
|
92
|
+
'rubygems_mfa_required' => 'true',
|
93
|
+
}
|
91
94
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: quality
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 40.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vince Broz
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bump
|
@@ -372,34 +372,34 @@ dependencies:
|
|
372
372
|
requirements:
|
373
373
|
- - "~>"
|
374
374
|
- !ruby/object:Gem::Version
|
375
|
-
version: 1.
|
375
|
+
version: 1.39.0
|
376
376
|
type: :runtime
|
377
377
|
prerelease: false
|
378
378
|
version_requirements: !ruby/object:Gem::Requirement
|
379
379
|
requirements:
|
380
380
|
- - "~>"
|
381
381
|
- !ruby/object:Gem::Version
|
382
|
-
version: 1.
|
382
|
+
version: 1.39.0
|
383
383
|
- !ruby/object:Gem::Dependency
|
384
384
|
name: bigfiles
|
385
385
|
requirement: !ruby/object:Gem::Requirement
|
386
386
|
requirements:
|
387
|
-
- - "!="
|
388
|
-
- !ruby/object:Gem::Version
|
389
|
-
version: 0.2.0
|
390
387
|
- - ">="
|
391
388
|
- !ruby/object:Gem::Version
|
392
389
|
version: 0.3.0
|
390
|
+
- - "!="
|
391
|
+
- !ruby/object:Gem::Version
|
392
|
+
version: 0.2.0
|
393
393
|
type: :runtime
|
394
394
|
prerelease: false
|
395
395
|
version_requirements: !ruby/object:Gem::Requirement
|
396
396
|
requirements:
|
397
|
-
- - "!="
|
398
|
-
- !ruby/object:Gem::Version
|
399
|
-
version: 0.2.0
|
400
397
|
- - ">="
|
401
398
|
- !ruby/object:Gem::Version
|
402
399
|
version: 0.3.0
|
400
|
+
- - "!="
|
401
|
+
- !ruby/object:Gem::Version
|
402
|
+
version: 0.2.0
|
403
403
|
- !ruby/object:Gem::Dependency
|
404
404
|
name: brakeman
|
405
405
|
requirement: !ruby/object:Gem::Requirement
|
@@ -591,7 +591,8 @@ files:
|
|
591
591
|
homepage: https://github.com/apiology/quality
|
592
592
|
licenses:
|
593
593
|
- MIT license
|
594
|
-
metadata:
|
594
|
+
metadata:
|
595
|
+
rubygems_mfa_required: 'true'
|
595
596
|
post_install_message:
|
596
597
|
rdoc_options: []
|
597
598
|
require_paths:
|
@@ -600,14 +601,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
600
601
|
requirements:
|
601
602
|
- - ">="
|
602
603
|
- !ruby/object:Gem::Version
|
603
|
-
version: '2.
|
604
|
+
version: '2.7'
|
604
605
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
605
606
|
requirements:
|
606
607
|
- - ">="
|
607
608
|
- !ruby/object:Gem::Version
|
608
609
|
version: '0'
|
609
610
|
requirements: []
|
610
|
-
rubygems_version: 3.
|
611
|
+
rubygems_version: 3.1.6
|
611
612
|
signing_key:
|
612
613
|
specification_version: 4
|
613
614
|
summary: Code quality ratchet for Ruby
|