quality 21.0.2 → 21.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3fa044a6d47b9df126ba6f4b9a918751a539c1cf
4
- data.tar.gz: 566ee48ae4385b95da12f8069131973c5b2a6da2
3
+ metadata.gz: f14c84ab1dbb8ead9d200ffee8a1454a098d5d72
4
+ data.tar.gz: bc3ada4ea34cf4b429f616c102b5cd3c46bbd14c
5
5
  SHA512:
6
- metadata.gz: 79ddd1727fc367925ffcab1c5185d15ac9599ecdd8b451577900e3cffab53d60e83cfff3378c89977bb71479e372b688c84d1fa8aa5ddbb7bbe50ae14bb4b6c2
7
- data.tar.gz: 93325ec1d66fe10fd249936fa1dbc4739d7b3375e45c1b974dd50020659d9715506dc6d267b322b2592fc6e1dcbf9a7e02ef82b82b4e013ba2f5356e572b49ef
6
+ metadata.gz: a8248e5a8f7405806f91dfcde8ea79752b3aa3c3e348fb41a2788d7342c052f12dbb80b4a7cdd5cc0d36d915b2dbb24c942b2c58437443869a4d9c14785eec95
7
+ data.tar.gz: c47324d31f3e3f9d598f167cb98f9b3b11cbc5ccc7ebc7a9e7cf3ff95170afd98998cf26642f9343d8b91e4e57559602c00d054a7569e114767fa831ab6873c7
@@ -76,7 +76,11 @@ module Quality
76
76
  self.class.ancestors.map do |ancestor|
77
77
  ancestor_name = ancestor.to_s
78
78
  next unless ancestor_name.start_with?('Quality::Tools::')
79
- ancestor_name.split('::').last.underscore
79
+ if ancestor.respond_to? :command_name
80
+ ancestor.command_name
81
+ else
82
+ ancestor_name.split('::').last.underscore
83
+ end
80
84
  end.compact
81
85
  end
82
86
 
@@ -4,6 +4,10 @@ module Quality
4
4
  module BundleAudit
5
5
  private
6
6
 
7
+ def self.command_name
8
+ 'bundle-audit'
9
+ end
10
+
7
11
  def quality_bundle_audit
8
12
  ratchet_quality_cmd('bundle-audit', args: '') do |line|
9
13
  if line =~ /^Name: /
@@ -2,5 +2,5 @@
2
2
  # reek, flog, flay and rubocop and makes sure your numbers don't get
3
3
  # any worse over time.
4
4
  module Quality
5
- VERSION = '21.0.2'.freeze
5
+ VERSION = '21.0.3'.freeze
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quality
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.0.2
4
+ version: 21.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz