diff options
author | Hans de Graaff <hans@degraaff.org> | 2022-12-25 14:19:50 +0100 |
---|---|---|
committer | Hans de Graaff <hans@degraaff.org> | 2023-04-09 09:36:28 +0200 |
commit | 112d2da0d92f7284d9bce3916409c594c917ed67 (patch) | |
tree | 19c3af1b1f3cbf6272b21ce952074660047a497b | |
parent | Add support for ruby 3.1 (diff) | |
download | ruby-scripts-112d2da0d92f7284d9bce3916409c594c917ed67.tar.gz ruby-scripts-112d2da0d92f7284d9bce3916409c594c917ed67.tar.bz2 ruby-scripts-112d2da0d92f7284d9bce3916409c594c917ed67.zip |
Add support for ruby31
Signed-off-by: Hans de Graaff <hans@degraaff.org>
-rw-r--r-- | ruby-stats/plot | 3 | ||||
-rwxr-xr-x | ruby-stats/ruby_stats.py | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ruby-stats/plot b/ruby-stats/plot index c97a738..1aeeca0 100644 --- a/ruby-stats/plot +++ b/ruby-stats/plot @@ -28,4 +28,5 @@ plot "data.txt" using 1:3 with lines lt 2 title "total", \ "data.txt" using 1:14 with lines lt 1 lc 11 title "ruby25", \ "data.txt" using 1:15 with lines lt 1 lc 12 title "ruby26", \ "data.txt" using 1:16 with lines lt 1 lc 13 title "ruby27", \ - "data.txt" using 1:17 with lines lt 1 lc 13 title "ruby30" + "data.txt" using 1:17 with lines lt 1 lc 13 title "ruby30", \ + "data.txt" using 1:18 with lines lt 1 lc 13 title "ruby31" diff --git a/ruby-stats/ruby_stats.py b/ruby-stats/ruby_stats.py index 83f115b..ff6f8a5 100755 --- a/ruby-stats/ruby_stats.py +++ b/ruby-stats/ruby_stats.py @@ -8,7 +8,8 @@ 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', 'ruby_targets_ruby24', 'ruby_targets_ruby25', - 'ruby_targets_ruby26', 'ruby_targets_ruby27', 'ruby_targets_ruby30') + 'ruby_targets_ruby26', 'ruby_targets_ruby27', 'ruby_targets_ruby30', + 'ruby_targets_ruby31') import sys import time @@ -60,6 +61,8 @@ def main(): stats['ruby_targets_ruby27'].add(cpv) if 'ruby_targets_ruby30' in iuse: stats['ruby_targets_ruby30'].add(cpv) + if 'ruby_targets_ruby31' in iuse: + stats['ruby_targets_ruby31'].add(cpv) if 'ruby_targets_jruby' in iuse: stats['ruby_targets_jruby'].add(cpv) if 'ruby_targets_ree18' in iuse: |