summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <manuel@rueg.eu>2014-12-27 20:20:33 +0100
committerManuel Rüger <manuel@rueg.eu>2014-12-27 20:20:33 +0100
commitc7189750a842e86753368a3d781e397b79cb2492 (patch)
tree8fcb61c8dad377267447cb4f2ce7f4d53eb06796 /ruby-stats
parentAdd ruby 2.2 to eselect module. (diff)
downloadruby-scripts-c7189750a842e86753368a3d781e397b79cb2492.tar.gz
ruby-scripts-c7189750a842e86753368a3d781e397b79cb2492.tar.bz2
ruby-scripts-c7189750a842e86753368a3d781e397b79cb2492.zip
Fix caf44a1224e944f3ba2f3c81011a2c2504b78195
Diffstat (limited to 'ruby-stats')
-rw-r--r--ruby-stats/plot3
-rwxr-xr-xruby-stats/ruby_stats.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/ruby-stats/plot b/ruby-stats/plot
index 4528f26..b160d36 100644
--- a/ruby-stats/plot
+++ b/ruby-stats/plot
@@ -6,7 +6,7 @@ set output "targets.svg"
set object 1 rect from screen 0, 0, 0 to screen 1, 1, 0 behind
set object 1 rect fc rgb "white" fillstyle solid 1.0
-set title "RUBY\\_TARGETS support in Gentoo\n{/*0.7 based on latest version per slot \\@ `cat $(portageq portdir 2>/dev/null)/metadata/timestamp`}"
+set title "RUBY\\_TARGETS support in Gentoo\n{/*0.7 based on latest stable amd64 version per slot \\@ `cat $(portageq portdir 2>/dev/null)/metadata/timestamp`}"
set ylabel "Packages"
set xlabel "Time"
set xdata time
@@ -20,6 +20,7 @@ plot "data.txt" using 1:3 with lines lt 2 title "total", \
"data.txt" using 1:5 with lines lt 1 lc 2 title "ruby19", \
"data.txt" using 1:6 with lines lt 1 lc 3 title "ruby20", \
"data.txt" using 1:10 with lines lt 1 lc 7 title "ruby21", \
+ "data.txt" using 1:11 with lines lt 1 lc 8 title "ruby22", \
"data.txt" using 1:7 with lines lt 1 lc 4 title "jruby", \
"data.txt" using 1:8 with lines lt 1 lc 5 title "ree18", \
"data.txt" using 1:9 with lines lt 1 lc 6 title "rbx"
diff --git a/ruby-stats/ruby_stats.py b/ruby-stats/ruby_stats.py
index b7ab3e0..d60b153 100755
--- a/ruby-stats/ruby_stats.py
+++ b/ruby-stats/ruby_stats.py
@@ -4,7 +4,7 @@
# 2010-01-21 180 144 142 68 52
date_fmt = "%Y-%m-%d"
-bins = ('ruby', 'ruby-ng', 'ruby_targets_ruby18', 'ruby_targets_ruby19', 'ruby_targets_ruby20', 'ruby_targets_jruby', 'ruby_targets_ree18', 'ruby_targets_rbx', 'ruby_targets_ruby21')
+bins = ('ruby', 'ruby-ng', 'ruby_targets_ruby18', 'ruby_targets_ruby19', 'ruby_targets_ruby20', 'ruby_targets_jruby', 'ruby_targets_ree18', 'ruby_targets_rbx', 'ruby_targets_ruby21', 'ruby_targets_ruby22')
import sys
import time