1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib
kosaki 0a1e7d1568 * lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument.
The patch was written by takkanm. [ruby-core:26029][Feature #2190]

* lib/fileutils.rb (FileUtils#fu_mode): new helper function.
* lib/fileutils.rb (FileUtils#symbolic_modes_to_i): ditto.
* lib/fileutils.rb (FileUtils#mode_mask): ditto.
* lib/fileutils.rb (FileUtils#user_mask): ditto.

* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_symbol_mode):
  new test for the above symbolic mode.
* test/fileutils/test_fileutils.rb (TestFileUtils#test_chmod_R): ditto.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-05-01 16:16:05 +00:00
..
cgi
drb * lib/*.rb: Remove unused variable warnings. 2010-11-08 20:59:01 +00:00
irb * lib/irb/locale.rb (IRB::Locale::#search_file): 2011-01-31 05:46:50 +00:00
minitest lib/minitest/*.rb: Imported minitest 2.0.2 r6207 2011-02-19 20:44:08 +00:00
net * lib/net/http.rb (Net::HTTP#connect): support SNI (Server Name 2011-02-07 13:37:43 +00:00
optparse
racc * lib/racc/parser.rb (do_parse, yyparse): using class eval to define 2010-11-15 02:47:05 +00:00
rake Deprecate Rake::RDocTask in favor of RDoc::Task 2010-12-28 22:22:58 +00:00
rbconfig Import rubygems 1.5.0 (release candidate) 2011-01-19 00:08:49 +00:00
rdoc Upgrade to RDoc 3.5.3. Fixes [Bug #4376] 2011-02-07 07:07:12 +00:00
rexml * lib/rexml/encoding.rb (REXML::Encoding#encoding=): store @encoding 2011-03-02 15:36:48 +00:00
rinda * lib/*.rb: Remove unused variable warnings. 2010-11-08 20:59:01 +00:00
rss * lib/*.rb: Remove unused variable warnings. 2010-11-08 20:59:01 +00:00
rubygems * lib/rubygems/test_case.rb: save current dir to @current_dir 2011-03-22 12:20:52 +00:00
shell * lib/*.rb: Remove unused variable warnings. 2010-11-08 20:59:01 +00:00
test * lib/test/unit.rb (Test::Unit::Options#setup_options): set possible 2011-04-14 13:48:18 +00:00
uri * lib/uri/generic.rb (#route_from_path): Fix a bug where 2011-04-15 06:13:08 +00:00
webrick Fri Apr 1 18:53:06 2011 NAKAMURA, Hiroshi <nahi@ruby-lang.org> 2011-04-01 10:02:03 +00:00
xmlrpc Use Float#finite?. 2011-04-22 13:35:43 +00:00
yaml
.document * ext/date/lib: moved from lib. 2011-03-11 15:07:47 +00:00
abbrev.rb
base64.rb
benchmark.rb * lib/benchmark.rb (Benchmark#bmbm): use ensure clause instead of 2011-02-07 14:01:01 +00:00
cgi.rb
cmath.rb
complex.rb
csv.rb * lib/csv.rb (CSV::open): suppress universal newline decorator. 2011-04-27 21:07:09 +00:00
debug.rb
delegate.rb
drb.rb
e2mmap.rb
English.rb
erb.rb
fileutils.rb * lib/fileutils.rb (FileUtils#chmod): accept symbolic mode argument. 2011-05-01 16:16:05 +00:00
find.rb
forwardable.rb
getoptlong.rb
gserver.rb
ipaddr.rb
irb.rb
logger.rb * lib/logger.rb: added RDoc document for logging message escape 2011-01-18 06:11:41 +00:00
mathn.rb
matrix.rb
mkmf.rb * lib/mkmf.rb (find_executable0): should exclude directories. 2011-03-11 09:42:46 +00:00
monitor.rb
mutex_m.rb
observer.rb
open-uri.rb
open3.rb
optparse.rb * lib/optparse.rb (OptionParser#compsys): escape brackets too. 2010-12-26 23:30:33 +00:00
ostruct.rb
pp.rb
prettyprint.rb
prime.rb
profile.rb
profiler.rb
pstore.rb * lib/pstore.rb: Fix don't raise "nested transaction" when thread_safe 2011-03-13 07:14:07 +00:00
rake.rb
rational.rb
rdoc.rb Upgrade to RDoc 3.5.3. Fixes [Bug #4376] 2011-02-07 07:07:12 +00:00
README * ext/date/lib: moved from lib. 2011-03-11 15:07:47 +00:00
resolv-replace.rb
resolv.rb * resolv.rb (Resolv::DNS): use the same DNS server when retry using TCP. 2010-11-27 09:03:26 +00:00
rss.rb
rubygems.rb Import rubygems 1.6.2 (release candidate @ 2026fbb5) 2011-03-09 22:32:29 +00:00
scanf.rb
securerandom.rb
set.rb
shell.rb
shellwords.rb
singleton.rb
sync.rb * lib/*.rb: Remove unused variable warnings. 2010-11-08 20:59:01 +00:00
tempfile.rb cancel subversion backfire. sorry 2011-03-07 08:44:45 +00:00
thread.rb
thwait.rb
time.rb * lib/time.rb: require 'date'. 2011-04-24 18:31:47 +00:00
timeout.rb
tmpdir.rb
tracer.rb
tsort.rb
ubygems.rb
un.rb
uri.rb
weakref.rb
webrick.rb
yaml.rb

English.rb	lets Perl'ish global variables have English names
README		this file
abbrev.rb	abbreviation calculator
base64.rb	Base64 de- and encoder
benchmark.rb	a benchmark utility
cgi.rb		CGI support library
cgi/session.rb	CGI session class
cmath.rb	math support for complex numbers
complex.rb	includes cmath and set complex arithemtic as default (obsolete)
csv.rb		CSV parser/generator
debug.rb	ruby debugger
delegate.rb	delegates messages to other object
drb.rb		distributed Ruby
e2mmap.rb	exception utilities
erb.rb		tiny eRuby library
fileutils.rb	file utilities
find.rb		traverses directory tree
forwardable.rb	explicit delegation library
gauntlet_rubygems.rb 	Gem package validator
getoptlong.rb	GNU getoptlong compatible
gserver.rb	general TCP server
ipaddr.rb	defines the IPAddr class
irb.rb		interactive ruby
logger.rb	simple logging utility
mathn.rb	extended math operation (obsolete)
matrix.rb	matrix calculation library
minitest/unit	minimal drop-in replacement for test-unit	
mkmf.rb		Makefile maker
monitor.rb	exclusive region monitor for thread
mutex_m.rb	mutex mixin
net/ftp.rb	ftp access
net/http.rb	HTTP access
net/https.rb	HTTPS access
net/imap.rb	IMAP4 access
net/pop.rb	POP3 access
net/protocol.rb	abstract class for net library (DO NOT USE)
net/smtp.rb	SMTP access
net/telnet.rb	telnet library
observer.rb	observer desing pattern library (provides Observable)
open-uri.rb	easy-to-use network interface using URI and Net
open3.rb	opens subprocess connection stdin/stdout/stderr
optparse.rb	command line option analysis
ostruct.rb	python style object
pathname.rb	Object-Oriented Pathname Class
pp.rb		pretty print objects
prettyprint.rb	pretty printing algorithm
prime.rb        prime numbers and factorization
profile.rb	runs ruby profiler
profiler.rb	ruby profiler module
pstore.rb	persistent object strage using marshal
racc/parser.rb	racc (Ruby yACC) runtime
rake.rb		Ruby Make
rational.rb	rational number support (obsolete)
rdoc		source-code documentation tool
resolv-replace.rb	replace Socket DNS by resolve.rb
resolv.rb	DNS resolver in Ruby
rexml		an XML parser for Ruby, in Ruby
rinda/rinda.rb	Linda distributed computing paradigm for drb
rinda/ring.rb	RingServer for tuplespace
rinda/tuplespace.rb	tuplespace for drb
rss.rb		RSS parser/generator
rubygems	Ruby package management system
scanf.rb	scanf for Ruby
securerandom.rb	Secure random number generator interface
set.rb		defines the Set class
shell.rb	runs commands and does pipeline operations like shell
shellwords.rb	split into words like shell
singleton.rb	singleton design pattern library
sync.rb		2 phase lock
tempfile.rb	temporary file with automatic removal
test/unit	Ruby Unit Testing Framework
thread.rb	thread support
thwait.rb	thread syncronization class
time.rb		RFC2822, RFC2616, ISO8601 style time formatting/parsing
timeout.rb	provides timeout
tmpdir.rb	retrieve temporary directory path
tracer.rb	execution tracer
tsort.rb	topological sorting
ubygems.rb	command line shortcut for RubyGems
un.rb		Utilities to replace common UNIX commands in Makefiles etc
uri.rb		URI support
uri/ftp.rb	ftp scheme support
uri/http.rb	http scheme support
uri/https.rb	https scheme support
uri/ldap.rb	ldap scheme support
uri/ldaps.rb	ldaps scheme support
uri/mailto.rb	mailto scheme support
weakref.rb	weak reference class
webrick.rb	WEB server toolkit
xmlrpc		XML-RPC implementation
yaml.rb		YAML implementation