svn
cc58ec90b8
* 2009-12-24
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24 01:32:04 +00:00
marcandre
b3c3dda3f4
* lib/object.c (rb_obj_cmp): Default <=> operator returns 0 if objects are == [ruby-core:24063]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-24 01:32:01 +00:00
nobu
e6a8408c2c
* iseq.c (iseq_s_disasm): return nil for native methods.
...
[ruby-core:27226], [Bug#2499]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 06:22:48 +00:00
nobu
d3fc1d3e3a
* test/drb/drbtest.rb (DRbService.add_service_command): quotes
...
rubybin only, not including -d.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26157 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 01:31:37 +00:00
nobu
99bf251b69
* test/ruby/test_thread.rb (test_priority): removed not-guaranteed result.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 01:24:33 +00:00
nobu
738515d12b
* test/cgi: check by Encoding.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 00:14:48 +00:00
nobu
da861d79b7
* test/cgi/test_cgi_multipart.rb (CGIMultipartTest#_prepare):
...
always must be binary mode. c.f. Bug#2341
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-23 00:12:33 +00:00
svn
833afaa2cc
* 2009-12-22
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-22 14:02:14 +00:00
akr
8d7677b498
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-22 14:02:13 +00:00
naruse
3da3230f0c
* encoding.c (Init_Encoding): undef Encoding.new because
...
a class which is rb_undef_alloc-func-ed can't call new method.
[ruby-dev:39862]
* vm.c (Init_VM): undef RubyVM.new and RubyVM::Env.new.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21 10:12:21 +00:00
naruse
35230b1a78
Add a test for [ruby-core:27247]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21 09:17:55 +00:00
naruse
ebc6950631
* regcomp.c (optimize_node_left): include equal on the condition of for-loop.
...
This bug also affects original Oniguruma. [ruby-core:27247]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21 09:13:28 +00:00
naruse
de341005c8
* regcomp.c (print_enc_string): follow enclen's change.
...
* regcomp.c (onig_print_compiled_byte_code): ditto.
* regcomp.c (onig_print_compiled_byte_code): change prototype.
* regint.c (onig_print_compiled_byte_code): comment out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-21 01:11:15 +00:00
marcandre
dbf07b09fd
* object.c: BasicObject#initialize accepts any number of arguments [ruby-core:27080]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 23:05:07 +00:00
svn
4ea2a8f1d2
* 2009-12-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 17:47:05 +00:00
mame
052f7f27f2
* vm_eval.c (rb_iterate): remove SEGV (retry).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 17:47:02 +00:00
mame
c8b20d0877
* vm_eval.c (rb_iterate): remove SEGV (use the original patch).
...
[ruby-dev:39874]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 14:20:46 +00:00
svn
ff26cb8252
* 2009-12-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 12:31:31 +00:00
mame
ae8dc9b722
* vm_eval.c (rb_iterate): pass current block when the argument bl_proc
...
is NULL. This behavior can be used to make enumerator faster
[ruby-dev:39874]
* enumerator.c (enumerator_each): pass current block directly instead
of trampoline block (enumerator_each_i).
* io.c (argf_each_line, argf_each_byte, argf_each_char): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-20 12:31:26 +00:00
matz
0208837f08
* gem_prelude.rb (Kernel#gem): should make gem private. a patch
...
from Sho Hashimoto in [ruby-dev:39838].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 08:02:51 +00:00
matz
b85f286833
* lib/webrick/config.rb (WEBrick::Config): typo fixed. a patch
...
from Sho Hashimoto in [ruby-dev:39835].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 08:01:19 +00:00
marcandre
fad1e8c761
* lib/matrix.rb (each2,collect2,map2): Fix enumerator [ruby-core:27225]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 02:07:00 +00:00
nobu
93278f2387
* vm_eval.c (check_funcall): reset method_missing_reason before
...
trying the call. based on a patch from Yehuda Katz in
[ruby-core:27219].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 00:58:13 +00:00
svn
6a875fc724
* 2009-12-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 00:29:57 +00:00
marcandre
a88cc058f0
* lib/set.rb: Add checks that passed argument is Enumerable. [ruby-core:23844]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-19 00:29:54 +00:00
svn
25bccc44d4
* 2009-12-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-17 19:37:59 +00:00
tenderlove
eadda0002a
* test/yaml/test_boolean.rb (test_n): fixing test name
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-17 19:37:54 +00:00
nobu
7b7d8f8732
* test/yaml/test_set.rb: svn:eol-style.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-17 07:03:47 +00:00
svn
412da9c039
* 2009-12-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 21:08:27 +00:00
tenderlove
08c7cde986
* test/yaml/test_set.rb (**) Adding test coverage for YAML::Set
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 21:08:25 +00:00
kazu
f4109ec1c7
* test/ruby/envutil.rb: fix a typo in assert message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 11:29:54 +00:00
nobu
6547a2bcbb
* lib/un.rb (httpd): try to convert port number to integer.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 07:58:01 +00:00
eban
db9e8351f3
* configure.in(MINIRUBY): use "$BASERUBY" as a default ruby executable name.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 02:21:59 +00:00
akr
6aafca91db
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 17:21:09 +00:00
svn
79933d6669
* 2009-12-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 15:54:37 +00:00
akr
9ab779aad1
* lib/find.rb (Find.find): rescue more exceptions which is possible to
...
occur by other process change the directory tree.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 15:54:34 +00:00
usa
d698bd8ad0
* test_find.rb: close temporary files before removing them.
...
* test_find.rb: skip symlink tests if not implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 00:16:48 +00:00
svn
36863793fd
* 2009-12-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 00:06:41 +00:00
nobu
0d9340f223
* lib/find.rb (Find.find): get rid of race condition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 00:06:36 +00:00
akr
779aba2d01
* lib/find.rb (Find.find): rescue only ENOENT and EACCES for lstat.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 13:34:09 +00:00
akr
92e9bf7a59
* lib/find.rb (Find.find): narrow rescue region.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 12:50:13 +00:00
akr
4df4a74308
add tests.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 11:56:03 +00:00
naruse
315cab1249
Explicitly use FileUtils.rm_f. [ruby-dev:39345]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 03:19:51 +00:00
nobu
cc744ef9b8
* lib/find.rb (Find.find): removed already unnecessary code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 00:20:56 +00:00
akr
b3ea5a1789
add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 22:48:13 +00:00
svn
3f07a79c9c
* 2009-12-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 16:00:34 +00:00
akr
8dc14638ea
new test file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 16:00:33 +00:00
akr
c48a4c2936
* lib/find.rb (Find.find): sort directory entries. [ruby-dev:39847]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 14:48:54 +00:00
naruse
f62310ac62
doc fix: mutex.lock => self [ruby-core:27115]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 14:08:37 +00:00
akr
71ab182911
* test/ruby/envutil.rb (invoke_ruby): call to_str for stdin_data to
...
reject non-string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 11:56:37 +00:00