[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>
I'll try to be brief so we can discuss all this. tl;dr: RubySpec is
19 messages
2015/01/05
[#67353] Re: Future of test suites for Ruby
— Tanaka Akira <akr@...>
2015/01/05
2015-01-06 7:18 GMT+09:00 Charles Oliver Nutter <headius@headius.com>:
[#67444] [ruby-trunk - Feature #10718] [Open] IO#close should not raise IOError on closed IO objects. — akr@...
Issue #10718 has been reported by Akira Tanaka.
3 messages
2015/01/09
[#67689] Keyword Arguments — Anthony Crumley <anthony.crumley@...>
Please forgive my ignorance as I am new to MRI development and am still
5 messages
2015/01/20
[#67733] [ruby-trunk - Bug #10761] Marshal.dump 100% slower in 2.2.0 vs 2.1.5 — normalperson@...
Issue #10761 has been updated by Eric Wong.
4 messages
2015/01/21
[#67736] Re: [ruby-trunk - Bug #10761] Marshal.dump 100% slower in 2.2.0 vs 2.1.5
— Eric Wong <normalperson@...>
2015/01/22
normalperson@yhbt.net wrote:
[#67772] Preventing Redundant Email Messages — Jeremy Evans <code@...>
For a long time, I've wondered why I sometimes receive redundant email
5 messages
2015/01/23
[ruby-core:67913] [ruby-trunk - Feature #10806] [Open] drop batch installation
From:
nobu@...
Date:
2015-01-31 04:39:32 UTC
List:
ruby-core #67913
Issue #10806 has been reported by Nobuyoshi Nakada.
----------------------------------------
Feature #10806: drop batch installation
https://bugs.ruby-lang.org/issues/10806
* Author: Nobuyoshi Nakada
* Status: Open
* Priority: Normal
* Assignee:
----------------------------------------
We have already dropped Windows 95 support a few years ago.
So I want to drop batch file installation too now.
Does anyone know other platforms using `.bat` files?
~~~diff
commit 1b39c6670064066b1fbf728bf8d9288491fbe246
Author: Nobuyoshi Nakada <nobu@ruby-lang.org>
Date: Sat Jan 31 12:32:56 2015 +0900
rbinstall.rb: no batch installation
* tool/rbinstall.rb (bin-comm): drop batch file installation.
Windows 95 support has not been supported already.
diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb
index 5c420bf..3283e63 100755
--- a/tool/rbinstall.rb
+++ b/tool/rbinstall.rb
@@ -44,7 +44,7 @@ def parse_args(argv = ARGV)
$script_mode = nil
$strip = false
$cmdtype = (if File::ALT_SEPARATOR == '\\'
- File.exist?("rubystub.exe") ? 'exe' : 'bat'
+ File.exist?("rubystub.exe") ? 'exe' : 'cmd'
end)
mflags = []
opt = OptionParser.new
@@ -76,7 +76,7 @@ def parse_args(argv = ARGV)
end
opt.on('--installed-list [FILENAME]') {|name| $installed_list = name}
opt.on('--rdoc-output [DIR]') {|dir| $rdocdir = dir}
- opt.on('--cmd-type=TYPE', %w[bat cmd plain]) {|cmd| $cmdtype = (cmd unless cmd == 'plain')}
+ opt.on('--cmd-type=TYPE', %w[cmd plain]) {|cmd| $cmdtype = (cmd unless cmd == 'plain')}
opt.on('--[no-]strip') {|strip| $strip = strip}
opt.order!(argv) do |v|
@@ -489,16 +489,6 @@ install?(:local, :comm, :bin, :'bin-comm') do
case $cmdtype
when "exe"
stub + shebang + body
- when "bat"
- [<<-"EOH".gsub(/^\s+/, ''), shebang, body, "__END__\n:endofruby\n"].join.gsub(/$/, "\r")
- @echo off
- @if not "%~d0" == "~d0" goto WinNT
- #{ruby_bin} -x "#{cmd}" %1 %2 %3 %4 %5 %6 %7 %8 %9
- @goto endofruby
- :WinNT
- "%~dp0#{ruby_install_name}" -x "%~f0" %*
- @goto endofruby
- EOH
when "cmd"
<<"/EOH" << shebang << body
@"%~dp0#{ruby_install_name}" -x "%~f0" %*
~~~
--
https://bugs.ruby-lang.org/