ruumba 0.1.1 → 0.1.2
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/bin/ruumba +16 -0
- 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: 720efab8198b60cdffe7d365d875120915545701
|
4
|
+
data.tar.gz: d110e7fff04bce288f9d1fa3888515d73f41355d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07e940ab956ebaaf848c1e87b729963b2356d8cdd5d153fd5cb3c84da061b3e95a102a8cb12030a9be5b7f8420a81d692eea97a05e141cad3c4d9a4cdd6619eb
|
7
|
+
data.tar.gz: 81bdfa3737493fa3ece728be44f6f7895794132ea5f27a0b008e041134b58f711b4994c31c95592d38d0fd08e0cae78abbb481c86f2d7cf719d8007fab1184de
|
data/bin/ruumba
CHANGED
@@ -36,6 +36,22 @@ opts_parser = OptionParser.new do |opts|
|
|
36
36
|
opts.on('-e', '--disable-ruby-ext', 'Disable auto-append of .rb extension') do
|
37
37
|
options[:disable_rb_extension] = true
|
38
38
|
end
|
39
|
+
|
40
|
+
opts.on('--only [COP1,COP2,...]', 'Run only the given cop(s).') do |cops|
|
41
|
+
options[:arguments] << "--only #{cops}"
|
42
|
+
end
|
43
|
+
|
44
|
+
opts.on('-r', '--require [FILE]', 'Require Ruby file.') do |file|
|
45
|
+
options[:arguments] << "--require #{file}"
|
46
|
+
end
|
47
|
+
|
48
|
+
opts.on('-o', '--out [FILE]', 'Write output to a file instead of STDOUT.') do |file|
|
49
|
+
options[:arguments] << "--out #{file}"
|
50
|
+
end
|
51
|
+
|
52
|
+
opts.on('-f', '--format [FORMAT]', 'Choose an output formatter.') do |format|
|
53
|
+
options[:arguments] << "--format #{format}"
|
54
|
+
end
|
39
55
|
end
|
40
56
|
|
41
57
|
begin opts_parser.parse!
|