aboutsummaryrefslogtreecommitdiffstats
path: root/lib/un.rb
Commit message (Collapse)AuthorAgeFilesLines
* un.rb: support httpsnobu2017-07-051-1/+12
| | | | | | | | * lib/un.rb: add https support. based on the patch by Flavio Castelli <flavio@castelli.name> in [ruby-core:81901]. [Feature #13714] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Octal mode in un.rbnobu2016-06-281-2/+3
| | | | | | | | | * lib/fileutils.rb (FileUtils#symbolic_modes_to_i): revert r55524. * lib/un.rb (install, chmod): support octal mode string. fix up r55513. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* FileUtils#install: symbolic modenobu2016-06-271-1/+1
| | | | | | | * lib/fileutils.rb (FileUtils#install): accecpt symbolic mode, as well as chmod. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* FileUtils#install: owner/group optionsnobu2016-06-271-1/+5
| | | | | | | * lib/fileutils.rb (FileUtils#install): add owner and group options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add frozen_string_literal: false for all filesnaruse2015-12-161-0/+1
| | | | | | When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (help): change the name of a block parameter to avoidshugo2015-10-221-1/+1
| | | | | | 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
* un.rb: cwd by defaultnobu2015-06-181-4/+1
| | | | | | | * 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
* un.rb: HTTP-alt by defaultnobu2015-06-181-0/+1
| | | | | | | * 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
* un.rb: help ordernobu2013-07-051-3/+13
| | | | | | * 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
* un.rb: help messagenobu2013-07-051-1/+14
| | | | | | * 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
* un.rb: refine regexpnobu2013-07-051-1/+1
| | | | | | * 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
* un.rb: nodoc setupnobu2013-07-051-0/+1
| | | | | | * 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
* un.rb: suppress warningnobu2013-02-221-2/+4
| | | | | | * 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
* un.rb: reduce duplicationnobu2012-08-031-5/+5
| | | | | | | * lib/un.rb (httpd): reduce duplicated code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* un.rb: DocumentRootnobu2012-08-031-2/+3
| | | | | | | * 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
* * lib: revert r31635-r31638 and untabify with expand(1).nobu2011-05-191-32/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib: Convert tabs to spaces for ruby files perdrbrain2011-05-181-37/+37
| | | | | | | | | 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
* * lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist.usa2010-08-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]nobu2010-06-241-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]nobu2010-06-241-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (httpd): try to convert port number to integer.nobu2009-12-161-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (httpd): easy WEBrick HTTP server.nobu2009-12-101-1/+38
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, win32/Makefile.sub (RMDIRS): remove directory andnobu2009-01-251-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * lib/un.rb (mkmf): new command to create makefile.nobu2008-06-271-16/+51
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (wait_writable): added help message.nobu2008-06-271-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb (wait_writable): wait until target files can benobu2008-06-021-0/+27
| | | | | | | | | | 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
* * lib/un.rb: use OptionParser instead of getopts.eban2004-02-141-22/+30
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.h (help): new. % ruby -run -e help cpeban2003-08-031-13/+44
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb: add each descriptions for the -v option.eban2003-08-021-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb: add descriptions.eban2003-07-301-21/+103
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (install): support preserve timestamp.eban2003-07-291-0/+101
* 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