quality 39.0.1 → 40.0.1
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: ac57e7089120b378e31716facd11a33ef07a84d47846b8ea82d49f26d68bd9a6
|
4
|
+
data.tar.gz: f1d68d1e39a1dc61d915ddad8844b677d25b70818b88e8abdf230fa92c33b08f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e63364894183a8fbc5a0cfa0a29102e59fe103d6713794d7e561f32b8f11649b1575b75d4dbddad045975ea637d1b994bef40547e9c233679b5ec8e3c0cd7baf
|
7
|
+
data.tar.gz: 12883595951dc20fb1b8b00098ff18bda495c4ab862f6e45bf7b33014d53d1c7b40082ffc5d3b84c587a4137ea18c8324449a9b3aaa64a9b3a171d17b1c49222
|
@@ -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.1
|
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
|