shugo
e4d925bf3a
* lib/un.rb (help): change the name of a block parameter to avoid
...
a warning when the command line option -w of ruby is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-10-22 15:51:07 +00:00
nobu
0b9d86f29b
un.rb: cwd by default
...
* lib/un.rb (httpd): set DocumentRoot to the current working
directory by default.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-18 13:58:26 +00:00
nobu
82c290983f
un.rb: HTTP-alt by default
...
* lib/un.rb (httpd): changed default port number to 8080 (HTTP
Alternate), which does not need root privilege.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-06-18 13:45:26 +00:00
nobu
eb06e8d3ad
un.rb: help order
...
* lib/un.rb (UN#help): show help messages in the given order.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-05 13:43:25 +00:00
nobu
0fc3541664
un.rb: help message
...
* lib/un.rb (setup): show help message by help method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-05 13:43:22 +00:00
nobu
4d076e91c8
un.rb: refine regexp
...
* lib/un.rb (help): refine regexp to extract method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-05 13:43:19 +00:00
nobu
ed0cba79ca
un.rb: nodoc setup
...
* lib/un.rb (setup): nodoc for internal use method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-05 13:43:16 +00:00
nobu
d0a4131709
un.rb: suppress warning
...
* lib/un.rb (wait_writable): show error messages only if -v is given.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-02-22 00:05:55 +00:00
nobu
7ed6c4eec8
un.rb: reduce duplication
...
* lib/un.rb (httpd): reduce duplicated code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03 08:23:18 +00:00
nobu
a580c01dc0
un.rb: DocumentRoot
...
* lib/un.rb (httpd): document root is mandatory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-03 08:22:45 +00:00
nobu
d371e3583e
* lib: revert r31635-r31638 and untabify with expand(1).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-19 00:07:25 +00:00
drbrain
7bbf2f3085
* lib: Convert tabs to spaces for ruby files per
...
http://redmine.ruby-lang.org/projects/ruby/wiki/DeveloperHowto#coding-style
Patch by Steve Klabnik [Ruby 1.9 - Bug #4730 ]
Patch by Jason Dew [Ruby 1.9 - Feature #4718 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 21:19:18 +00:00
usa
073ac4ff5a
* lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-10 02:29:04 +00:00
nobu
4fcc6f1ef1
* lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24 21:15:33 +00:00
nobu
a4d3911503
* lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24 20:49:37 +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
nobu
9689308994
* lib/un.rb (httpd): easy WEBrick HTTP server.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 05:19:11 +00:00
nobu
287a34ae0d
* {ext,lib,test}/**/*.rb: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06 03:56:38 +00:00
nobu
97de7d1081
* Makefile.in, win32/Makefile.sub (RMDIRS): remove directory and
...
parents.
* Makefile.in, win32/Makefile.sub (distclean-rdoc): added to remove
temprary rdoc.
* Makefile.in, win32/Makefile.sub (distclean): removes extout
directory.
* Makefile.in, win32/Makefile.sub (clean-ext): skips non-existent
directories.
* common.mk (clean, distclean): cleans rdoc.
* configure.in (RMDIRS, RMALL): added to clean extout.
* lib/fileutils.rb (FileUtils#rmdir): added :parents option.
* lib/mkmf.rb (create_makefile): cleans installed files at clean
instead of distclean.
* lib/mkmf.rb (create_makefile): added clean-so and clean-rb.
* lib/mkmf.rb (def init_mkmf): added DISTCLEANDIRS.
* lib/un.rb (rmdir): added -p option.
* tool/rmdirs, win32/rmdirs.bat: removes directory and the parents.
* win32/rm.bat: added -r option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25 02:06:29 +00:00
nobu
73567dc103
* lib/un.rb (mkmf): new command to create makefile.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27 03:29:00 +00:00
nobu
3d5cfe9a32
* lib/un.rb (wait_writable): added help message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27 02:06:08 +00:00
nobu
eaa3ffbae8
* lib/un.rb (wait_writable): wait until target files can be
...
written actually.
* win32/Makefile.sub (LDSHARED_0, LINK_SO): get rid of failure of
mt.exe.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16754 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-02 09:51:30 +00:00
eban
e8262c8f04
* lib/un.rb: use OptionParser instead of getopts.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-02-14 14:27:43 +00:00
eban
d6653222e9
* lib/un.h (help): new. % ruby -run -e help cp
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-03 09:32:23 +00:00
eban
9b5701bc6f
* lib/un.rb: add each descriptions for the -v option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02 04:21:10 +00:00
eban
32fcbb5b6b
* lib/un.rb: add descriptions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30 08:59:47 +00:00
eban
3fbbec0c39
* lib/fileutils.rb (install): support preserve timestamp.
...
* instruby.rb (install): use FileUtils::install preserve mode.
* lib/un.rb: new. % ruby -run -e cp -- -p foo bar
* lib/mkmf.rb: use un.rb instead of ftools.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29 10:24:28 +00:00