quality 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: c679b2b55278d8b14074c127f1b494586cd2f365
4
- data.tar.gz: 5eb645ec2e37965db3d7f8dcf8106e3a2506968c
3
+ metadata.gz: 2caddcab27067c9d69f3fb13a1c379df97114eb9
4
+ data.tar.gz: 5b681b2ec7f2f30b8c2d44b3bb24243613a97ebd
5
5
  SHA512:
6
- metadata.gz: ad4536a9dd586f4dc8e5b2cc10526c27784c7daf1aee9c09ff1a6e435913cda77deabea48e29644df22648ef24c62032b284ab2911175502915bdd1d8fb6fb23
7
- data.tar.gz: b28a0411709ff81018f4db8c347b9ee8bcfb4427929f998474baf4e8b8d38db8df7bfafd0262b4eeb84ca1f75578a12e912691a23963e684a894df7005557959
6
+ metadata.gz: 04dc80a867392f226f529991362bbd100de0d05d820f54d7429e0ba378470b40dc6b8980a8bd1eb22ac1367dbf7452b992d6d6c42f87b3628d499ef3538b3a7f
7
+ data.tar.gz: f60a8d5e25d307a8b094f7f809e7bf7a24fb421f21d55c3ff325785c5ce5ae6b0f60fc8f7890795bf32ec3cb7871ab7fbe04c881b87fa396966f0dbf28d5a00c
@@ -69,7 +69,7 @@ module Quality
69
69
 
70
70
  def run_task
71
71
  quality_cane
72
- if Gem::Specification.find_by_name("reek").any?
72
+ if Gem::Specification.find_all_by_name("reek").any?
73
73
  quality_reek
74
74
  end
75
75
  quality_flog
@@ -131,7 +131,7 @@ module Quality
131
131
 
132
132
  def quality_cane
133
133
  if ! File.exist?(".cane")
134
- File.open(".cane", "w") {|f| f.write("-f {lib,test,.}/*.rb")}
134
+ File.open(".cane", "w") {|f| f.write("-f **/*.rb")}
135
135
  end
136
136
  ratchet_quality_cmd("cane",
137
137
  emacs_format: true) { |line|
@@ -1,3 +1,3 @@
1
1
  module Quality
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  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: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vince Broz