commit: c7189750a842e86753368a3d781e397b79cb2492
Author: Manuel Rüger <manuel <AT> rueg <DOT> eu>
AuthorDate: Sat Dec 27 19:20:33 2014 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sat Dec 27 19:20:33 2014 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/ruby-scripts.git;a=commit;h=c7189750
Fix caf44a1224e944f3ba2f3c81011a2c2504b78195
---
ruby-stats/plot | 3 ++-
ruby-stats/ruby_stats.py | 2 +-
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