mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@12385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e47f91a9ea
commit
bf4bc85d24
3 changed files with 9 additions and 6 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
Sat May 26 00:05:22 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
|
||||||
Wed May 23 06:51:46 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
|
Wed May 23 06:51:46 2007 URABE Shyouhei <shyouhei@ruby-lang.org>
|
||||||
|
|
||||||
* lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
|
* lib/cgi.rb (CGI#[]): get rid of exceptions being raised.
|
||||||
|
|
|
@ -13,9 +13,8 @@ class TestBeginEndBlock < Test::Unit::TestCase
|
||||||
def test_beginendblock
|
def test_beginendblock
|
||||||
ruby = EnvUtil.rubybin
|
ruby = EnvUtil.rubybin
|
||||||
target = File.join(DIR, 'beginmainend.rb')
|
target = File.join(DIR, 'beginmainend.rb')
|
||||||
io = IO.popen("#{q(ruby)} #{q(target)}")
|
result = IO.popen("#{q(ruby)} #{q(target)}"){|io|io.read}
|
||||||
assert_equal(%w(b1 b2-1 b2 main b3-1 b3 b4 e1 e4 e3 e2 e4-2 e4-1 e1-1 e4-1-1), io.read.split)
|
assert_equal(%w(b1 b2-1 b2 main b3-1 b3 b4 e1 e4 e3 e2 e4-2 e4-1 e1-1 e4-1-1), result.split)
|
||||||
io.close
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_begininmethod
|
def test_begininmethod
|
||||||
|
@ -81,6 +80,7 @@ EOW
|
||||||
f.read
|
f.read
|
||||||
}
|
}
|
||||||
assert_match /Interrupt$/, out
|
assert_match /Interrupt$/, out
|
||||||
|
Process.kill(0, 0) rescue return # check if signal works
|
||||||
assert_nil $?.exitstatus
|
assert_nil $?.exitstatus
|
||||||
assert_equal Signal.list["INT"], $?.termsig
|
assert_equal Signal.list["INT"], $?.termsig
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.8.6"
|
#define RUBY_VERSION "1.8.6"
|
||||||
#define RUBY_RELEASE_DATE "2007-05-23"
|
#define RUBY_RELEASE_DATE "2007-05-26"
|
||||||
#define RUBY_VERSION_CODE 186
|
#define RUBY_VERSION_CODE 186
|
||||||
#define RUBY_RELEASE_CODE 20070523
|
#define RUBY_RELEASE_CODE 20070526
|
||||||
#define RUBY_PATCHLEVEL 5000
|
#define RUBY_PATCHLEVEL 5000
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 6
|
#define RUBY_VERSION_TEENY 6
|
||||||
#define RUBY_RELEASE_YEAR 2007
|
#define RUBY_RELEASE_YEAR 2007
|
||||||
#define RUBY_RELEASE_MONTH 5
|
#define RUBY_RELEASE_MONTH 5
|
||||||
#define RUBY_RELEASE_DAY 23
|
#define RUBY_RELEASE_DAY 26
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue