shades 0.12 → 0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/bin/histo +7 -1
- data/shades.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YmQ0OWUzYTVjZDZhMzMyYTczNjU3YWU1NDU4NTc2ZGFmZDQzODc1NQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTFmM2JhMGZlNmNmNWU4MmJmYTFjMWM5OTgyNjY2OTA3MjMxNGI5NA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmViYmEyNjUwOWI0N2MxZDJiY2Q2MjU2MjA0M2RkMmRmMDUzMTY4MjhmNjY1
|
10
|
+
OTNjZTgxNjQzNDMyMWIyYjNlNTNlMGRmNmQ2MjU4YmZlMDRiMzRlM2Y0OGMy
|
11
|
+
ZGFmYmQ3YWExNTY3NDU1NWE3NTAwMWVhZDQ2OWRmOWQwMjIwODk=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTRkZDA2N2I1N2NmMjZkY2U2NmFmOGFmNGU5ZjFiNWMyMTgzN2YzYTU5NjBm
|
14
|
+
OTVhNGU3Mzk5MmI3YTU4ZDMyM2FmODU1OWE1YWI5ODdhZTczYWU2ZDc4MzUy
|
15
|
+
NzY4Nzg2YjM5M2M5OTUwMWFlOTRiYTJmYjM1NGZmMjI5N2Q0Njc=
|
data/bin/histo
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
#/ -p <measure> : Parse shades formatted data and histogram a specific measure given as the last argument
|
4
4
|
#/ -n <num> : the max number of bins to include in the output (default = 10)
|
5
5
|
#/ -w <width> : the width of the histogram bars (default = 30)
|
6
|
-
#/ -l
|
6
|
+
#/ -l <logbase> : output ascii art on a log scale (default is linear).
|
7
7
|
#/ : tip: if the value distribution looks linear using this option then you're dealing with a power law.
|
8
8
|
#/ -h : show this usage
|
9
9
|
$: << File.realpath(File.dirname(__FILE__) + "/../lib")
|
@@ -80,5 +80,11 @@ opts.each do |opt, arg|
|
|
80
80
|
end
|
81
81
|
end
|
82
82
|
|
83
|
+
# if no measure was specified but the last argument is a word, then use
|
84
|
+
# that as the measure to parse
|
85
|
+
if measure.nil? && ARGV.length > 0 && !ARGV[-1].start_with?("-")
|
86
|
+
measure = ARGV[-1]
|
87
|
+
end
|
88
|
+
|
83
89
|
main(measure, max_bins, ascii_width, log_base)
|
84
90
|
|
data/shades.gemspec
CHANGED