summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2015-12-27 09:46:03 +0100
committerHans de Graaff <hans@degraaff.org>2015-12-27 09:46:03 +0100
commitf7b4697556ff481411815e174e676c35c59256e7 (patch)
tree03ec2e5df5ab7039f661283cc392c6d262def9c8
parentPatchset for ruby 2.3.0 (diff)
downloadruby-scripts-f7b4697556ff481411815e174e676c35c59256e7.tar.gz
ruby-scripts-f7b4697556ff481411815e174e676c35c59256e7.tar.bz2
ruby-scripts-f7b4697556ff481411815e174e676c35c59256e7.zip
Add ruby23 to target plot
-rw-r--r--ruby-stats/plot1
-rwxr-xr-xruby-stats/ruby_stats.py4
2 files changed, 4 insertions, 1 deletions
diff --git a/ruby-stats/plot b/ruby-stats/plot
index 86edac6..bcefeb4 100644
--- a/ruby-stats/plot
+++ b/ruby-stats/plot
@@ -21,6 +21,7 @@ plot "data.txt" using 1:3 with lines lt 2 title "total", \
"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:12 with lines lt 1 lc 9 title "ruby23", \
"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 ce51e98..25009a7 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', 'ruby_targets_ruby22')
+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', 'ruby_targets_ruby23')
import sys
import time
@@ -43,6 +43,8 @@ def main():
stats['ruby_targets_ruby21'].add(cpv)
if 'ruby_targets_ruby22' in iuse:
stats['ruby_targets_ruby22'].add(cpv)
+ if 'ruby_targets_ruby23' in iuse:
+ stats['ruby_targets_ruby23'].add(cpv)
if 'ruby_targets_jruby' in iuse:
stats['ruby_targets_jruby'].add(cpv)
if 'ruby_targets_ree18' in iuse: