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 +4 -4
- data/lib/quality/rake/task.rb +2 -2
- data/lib/quality/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2caddcab27067c9d69f3fb13a1c379df97114eb9
|
4
|
+
data.tar.gz: 5b681b2ec7f2f30b8c2d44b3bb24243613a97ebd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04dc80a867392f226f529991362bbd100de0d05d820f54d7429e0ba378470b40dc6b8980a8bd1eb22ac1367dbf7452b992d6d6c42f87b3628d499ef3538b3a7f
|
7
|
+
data.tar.gz: f60a8d5e25d307a8b094f7f809e7bf7a24fb421f21d55c3ff325785c5ce5ae6b0f60fc8f7890795bf32ec3cb7871ab7fbe04c881b87fa396966f0dbf28d5a00c
|
data/lib/quality/rake/task.rb
CHANGED
@@ -69,7 +69,7 @@ module Quality
|
|
69
69
|
|
70
70
|
def run_task
|
71
71
|
quality_cane
|
72
|
-
if Gem::Specification.
|
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
|
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|
|
data/lib/quality/version.rb
CHANGED