1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
Commit graph

14 commits

Author SHA1 Message Date
shugo
03b60c7068 * lib/net/ftp.rb (set_socket): new method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-18 02:52:48 +00:00
matz
be1d2c5f68 * string.c (rb_str_slice_bang): if there's no corresponding
substring, slice! should return nil without exception.

* array.c (rb_ary_insert): type fixed.

* string.c (rb_str_split_m): accept separator value nil as well.

* string.c (rb_str_become): was leaking memory.

* class.c (rb_include_module): should not alter other
  classes/modules by inclusion.  by this fix, local order may not
  be preserved for some cases.

* class.c (include_class_new): module may be T_ICLASS; retrieve
  original module information.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-11 08:22:18 +00:00
shugo
8e346d8cb1 * lib/net/ftp.rb (get): new method.
* lib/net/ftp.rb (putt): ditto.
* lib/net/ftp.rb (binary): ditto.
* lib/net/ftp.rb (binary=): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-03 05:28:01 +00:00
shugo
9620b20227 * lib/net/ftp.rb (getbinaryfile): the second argument (localfile)
is now optional.
* lib/net/ftp.rb (gettextfile): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-03 04:59:24 +00:00
shugo
f930648ae5 * lib/net/ftp.rb: use &block and yield for speed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-07-03 04:49:54 +00:00
shugo
a5fd4cec84 * lib/net/ftp.rb (noop): new method.
* lib/net/ftp.rb (site): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-06-11 04:20:11 +00:00
shugo
31c53aaa7d shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-12-21 06:35:05 +00:00
matz
fbcc6dea0c matz: 1.6.0 final (hopufully)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-09-12 05:37:38 +00:00
shugo
468df0e2d4 Added default blocksize to Net::FTP#getbinaryfile
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-17 03:14:22 +00:00
matz
82178a5529 matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-08-15 09:04:32 +00:00
matz
c67a74570d matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-07-10 04:49:24 +00:00
shugo
4b4cad81e7 *** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-06-22 05:37:12 +00:00
matz
73d2362580 2000-03-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-03-06 06:32:08 +00:00
shugo
25be6ce9b5 *** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2000-02-08 06:03:42 +00:00