quiet_quality 1.3.0 → 1.3.1

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: 921a945aaedb335246c6944ae8f460505357a73d20f4f1cf2ae3dba3e9fe9041
4
- data.tar.gz: fab1f3330661738cc146e26590d489bb9fff0cc0c0318a5e9529fb9fd0802038
3
+ metadata.gz: 7049c44ac27b14f8f599dfcb080dcd7d6aadceed0cee69f0d9f460ccb23bd66c
4
+ data.tar.gz: 6ec55838027c9bd81659109807e27e50199b5c54e1e17d04b2b0727819851d89
5
5
  SHA512:
6
- metadata.gz: 84a082f31fb8a6ae290399a97fdb5918bd91c2eaa701ec7b3909fe27e2d66845ceae7db7bcf9a59dd6696c71bfe99b4cc189f1d529bea49f5f82ba849c8fb553
7
- data.tar.gz: 222a7432405df57d2739c0799bc5844b1a916c76febf34c798891ee39e17ce79c17dedaec15928488a819261fdc35d3d746276109455cba7d490b2140c5d31c4
6
+ metadata.gz: 1cac5b2196f3409ab37252830b115cf7ec54b0cc21e2e5a25062cb4cd79615f7378a6ac4bd2d4fd39a0c1ff6882948fa2e6e1f7029dd88b1b9989fb8910aa0b6
7
+ data.tar.gz: e48380c23c35946e11c011bb1bdb694f6731d93828fa06a4d725a9d9a9c347e3f8ee5a8687904593905da9be74c5d8903b09f72c815f2dbdcb5fdedcc5f8e69f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## Release 1.3.1
4
+
5
+ * Fix a bug around the logging of nil commands when runners are skipped (#104
6
+ resolves #103)
7
+
3
8
  ## Release 1.3.0
4
9
 
5
10
  * Support (and enable by default) colorizing the console stderr output from
@@ -1,10 +1,14 @@
1
+ module QuietQuality
2
+ module Annotators
3
+ Unrecognized = Class.new(Error)
4
+ end
5
+ end
6
+
1
7
  glob = File.expand_path("../annotators/*.rb", __FILE__)
2
8
  Dir.glob(glob).sort.each { |f| require(f) }
3
9
 
4
10
  module QuietQuality
5
11
  module Annotators
6
- Unrecognized = Class.new(Error)
7
-
8
12
  ANNOTATOR_TYPES = {
9
13
  github_stdout: Annotators::GithubStdout
10
14
  }.freeze
@@ -54,7 +54,8 @@ module QuietQuality
54
54
  end
55
55
 
56
56
  def log_runner(r)
57
- info("Runner #{r.tool_name} command: `#{r.command.join(" ")}`")
57
+ command_string = r.command ? "`#{r.command.join(" ")}`" : "(skipped)"
58
+ info("Runner #{r.tool_name} command: #{command_string}")
58
59
  debug("Full command for #{r.tool_name}", data: r.command)
59
60
  end
60
61
 
@@ -1,3 +1,3 @@
1
1
  module QuietQuality
2
- VERSION = "1.3.0"
2
+ VERSION = "1.3.1"
3
3
  end
@@ -42,4 +42,5 @@ Gem::Specification.new do |spec|
42
42
  spec.add_development_dependency "rubocop", "~> 1.50"
43
43
  spec.add_development_dependency "debug", "~> 1.7"
44
44
  spec.add_development_dependency "mdl", "~> 0.12"
45
+ spec.add_development_dependency "rspec-cover_it", "~> 0.1.0"
45
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quiet_quality
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Mueller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git
@@ -150,6 +150,20 @@ dependencies:
150
150
  - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0.12'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rspec-cover_it
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: 0.1.0
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: 0.1.0
153
167
  description: |
154
168
  Allow your CI to notice and/or annotate new quality issues, despite the presences of
155
169
  many pre-existing issues in your codebase.