quality 0.0.2 → 0.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 +4 -4
- data/README.md +1 -1
- data/lib/quality/rake/task.rb +3 -0
- 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: 084fe3fc08270424439f80723b246afd52195ba6
|
|
4
|
+
data.tar.gz: c931c4f2f5c550ecfa9574398d107eb56caf6dca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7a7a5cde09d84a35aa3a676ce6b492950a11e861f11be01e238491ad912e0d8557b176131edfbc69d6a7d0446a68ccf2479b05c9c807a092f35b0782183e5411
|
|
7
|
+
data.tar.gz: 271447c0a38f690bdf83e7d5cc0821d16b067a0b5a5cdfccc10aafe0c856927b857a5e72dbe8ad5c564bcc520af67a3727de9e70003901fc08cbbf1e8a2bb482
|
data/README.md
CHANGED
|
@@ -41,5 +41,5 @@ Quality makes use of the following other gems, which do the actual checking:
|
|
|
41
41
|
|
|
42
42
|
### Learn More
|
|
43
43
|
|
|
44
|
-
* Browse the code or install the latest development version from [https://github.com/
|
|
44
|
+
* Browse the code or install the latest development version from [https://github.com/apiology/quality/tree](https://github.com/apiology/quality/tree)
|
|
45
45
|
|
data/lib/quality/rake/task.rb
CHANGED
|
@@ -123,6 +123,9 @@ module Quality
|
|
|
123
123
|
end
|
|
124
124
|
|
|
125
125
|
def quality_cane
|
|
126
|
+
if ! File.exist?(".cane")
|
|
127
|
+
File.open(".cane", "w") {|f| f.write("-f *.rb lib/*.rb test/*.rb")}
|
|
128
|
+
end
|
|
126
129
|
quality_quality_cmd("cane",
|
|
127
130
|
emacs_format: true) { |line|
|
|
128
131
|
if line =~ /\(([0-9]*)\):$/
|
data/lib/quality/version.rb
CHANGED