summaryrefslogtreecommitdiff
path: root/lib/un.rb
AgeCommit message (Collapse)Author
2020-01-21DocumentRoot is optionalKazuhiro NISHIYAMA
since 2.3.0 https://github.com/ruby/ruby/commit/0b9d86f29be8e3d4fa0958bf3db41907e21ad1a0
2019-08-31Use double splat for keyword args by a hash object in lib/un.rbaycabta
2018-12-04Use delete_prefix instead of `sub(/\Afixed-pattern/, '')`kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-26un.rb: add more options for httpd to help message [ci skip]kazu
see r65965 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-25un.rb: more options for httpdnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-07-05un.rb: use OpenSSL::PKey.read instead of OpenSSL::PKey::RSA.newrhe
Also, error out if --ssl-private-key option is not given, since specifying only the certificate makes no sense. [Feature #13714] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-07-05un.rb: support httpsnobu
* 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
2016-06-28Octal mode in un.rbnobu
* 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
2016-06-27FileUtils#install: symbolic modenobu
* 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
2016-06-27FileUtils#install: owner/group optionsnobu
* 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
2015-12-16Add frozen_string_literal: false for all filesnaruse
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
2015-10-22* lib/un.rb (help): change the name of a block parameter to avoidshugo
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-06-18un.rb: cwd by defaultnobu
* 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-18un.rb: HTTP-alt by defaultnobu
* 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
2013-07-05un.rb: help ordernobu
* 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-05un.rb: help messagenobu
* 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-05un.rb: refine regexpnobu
* 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-05un.rb: nodoc setupnobu
* 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-02-22un.rb: suppress warningnobu
* 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
2012-08-03un.rb: reduce duplicationnobu
* 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-03un.rb: DocumentRootnobu
* 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
2011-05-19* lib: revert r31635-r31638 and untabify with expand(1).nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-18 * lib: Convert tabs to spaces for ruby files perdrbrain
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
2010-08-10* lib/un.rb (httpd): SIGQUIT and SIGHUP are not guaranteed to exist.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24* lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-24* lib/un.rb (setup): fix of word splitting. [ruby-dev:41723]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16* lib/un.rb (httpd): try to convert port number to integer.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10* lib/un.rb (httpd): easy WEBrick HTTP server.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-06* {ext,lib,test}/**/*.rb: removed trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-01-25* Makefile.in, win32/Makefile.sub (RMDIRS): remove directory andnobu
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
2008-06-27* lib/un.rb (mkmf): new command to create makefile.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-27* lib/un.rb (wait_writable): added help message.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-02 * lib/un.rb (wait_writable): wait until target files can benobu
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
2004-02-14* lib/un.rb: use OptionParser instead of getopts.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-03* lib/un.h (help): new. % ruby -run -e help cpeban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-08-02* lib/un.rb: add each descriptions for the -v option.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-30* lib/un.rb: add descriptions.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-07-29* lib/fileutils.rb (install): support preserve timestamp.eban
* 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