shugo
61b8250adc
* lib/net/imap.rb (capability_response): should ignore trailing
...
spaces. Thanks, Peter Kovacs. [ruby-core:55024] [Bug #8415 ]
* test/net/imap/test_imap_response_parser.rb: related test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-05 13:44:17 +00:00
drbrain
091c24d51b
* lib/rubygems: Update to RubyGems 2.0.3
...
* test/rubygems: Tests for the above.
* NEWS: Added RubyGems 2.0.3 note.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-04 21:54:58 +00:00
ayumin
ee9c279e9b
* lib/irb/lc/ja/help-message: update help messages.
...
following r41028. [ruby-dev:46707] [Feature #7510 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-04 15:33:34 +00:00
eregon
5f55e23f9c
* lib/irb/completion.rb: Use %w literal construction for long lists.
...
Patch by Dave Goodchild. [Fixes GH-299]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-04 14:17:17 +00:00
kazu
1739ecda3b
FileUtils.rmdir use remove_tailing_slash
...
* lib/fileutils.rb (FileUtils.rmdir): use remove_tailing_slash.
* test/fileutils/test_fileutils.rb: test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-03 15:01:42 +00:00
ayumin
cef3f2ebd4
* lib/fileutils.rb: fix behavior when mkdir/mkdir_p accepted "/".
...
* test/fileutils/test_fileutils.rb: add test for above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-03 14:20:15 +00:00
xibbar
7a8a7864b1
* lib/cgi/cookie.rb (inspect): add inspect for debug.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-03 02:38:32 +00:00
zzak
012dc9d099
* lib/cgi/util.rb, lib/erb.rb: Use String#b [Feature #8394 ] by znz
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-02 06:06:00 +00:00
zzak
78c04602ad
* lib/irb/lc/help-message: Apply english updates for irb --help #7510
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-02 05:11:16 +00:00
knu
6bdfe415df
* lib/set.rb (Set#freeze, taint, untaint): Save a "self" by
...
utilizing super returning self, and add tests while at it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-01 09:01:16 +00:00
xibbar
c394688567
* lib/cgi.rb: Add a document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-30 06:58:15 +00:00
zzak
20442b9c44
reapply r40839 [Fixes GH-316]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-23 21:46:43 +00:00
zzak
09c3482399
revert forwardable rdoc patch for demo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-23 04:09:42 +00:00
zzak
c249668382
reapply r40839 [Fixes GH-313]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 14:29:55 +00:00
nobu
8fb4108bb7
* lib/webrick/httpservlet/filehandler.rb (set_dir_list): add NameWidth option.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 13:41:21 +00:00
nobu
31c2e85e51
* lib/webrick/httpservlet/filehandler.rb (set_dir_list): use TABLE.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40861 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 13:41:19 +00:00
nobu
b6f42822fd
* lib/webrick/httpservlet/filehandler.rb (set_dir_list): set charset.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 13:41:16 +00:00
nobu
83fa035d24
* lib/webrick/httpservlet/filehandler.rb (set_dir_list): share title and h1.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 13:41:10 +00:00
zzak
57d8faeab4
Revert r40839 for demo
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40858 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 13:33:08 +00:00
knu
dcb4ceeac6
* lib/set.rb (Set#delete_if, Set#keep_if): Avoid blockless call of
...
proc, which is not portable to JRuby. Replace &method() with
faster and simpler literal blocks while at it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 13:28:32 +00:00
zzak
b416c661e8
* lib/e2mmap.rb: Format of E2MM documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 13:01:24 +00:00
zzak
275eb63b1a
* lib/cmath.rb: Remove duplicate RDoc heading from overview
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 11:44:10 +00:00
zzak
e3436d2957
* lib/securerandom.rb: Update position of overview for RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 11:37:04 +00:00
eregon
3786bd6096
* lib/logger.rb (Logger::Application): show namespace in documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 10:35:01 +00:00
zzak
a3672d4bf4
* lib/pp.rb: Revert part of r40834 and nodoc PP::ObjectMixin
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 02:52:29 +00:00
nobu
88bcccd433
webrick: fix non-ascii escape bugs
...
* lib/webrick/htmlutils.rb (WEBrick::HTMLUtils#escape): replace HTML
meta chars even in non-ascii string. [Bug #8425 ] [ruby-core:55052]
* lib/webrick/httputils.rb (WEBrick::HTTPUtils#{_escape,_unescape}):
fix %-escape encodings. [Bug #8425 ] [ruby-core:55052]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 01:40:30 +00:00
nobu
bcddf03238
filehandler.rb: revert r20152
...
* lib/webrick/httpservlet/filehandler.rb (set_dir_list): revert r20152
partially and fix misuse of bytesize and regexp repetition operator.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-20 00:53:40 +00:00
zzak
fdfc521519
* lib/profiler.rb: Document Profiler__ methods
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 23:04:36 +00:00
zzak
caca17a898
* lib/tempfile.rb: nodoc Tempfile#inspect
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40844 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 23:03:25 +00:00
zzak
dbefdb434d
* lib/forwardable.rb: Forwardable examples in overview were broken
...
Based on patch by @joem [Fixes GH-303] [Bug #8392 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 19:58:56 +00:00
zzak
ba84738d44
* lib/optparse.rb: nodoc Object::Version and SPLAT_PROC
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 18:36:37 +00:00
nobu
d6d4573782
* remove trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 18:21:05 +00:00
zzak
18ffba64bd
* lib/pp.rb: Document PP::ObjectMixin [Fixes GH-312]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 18:17:51 +00:00
kazu
c54733e120
fix typos inspired by r40825
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 14:50:47 +00:00
knu
11c7566aa3
* lib/set.rb (Set#delete_if, Set#keep_if): Add comments.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40827 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 08:33:27 +00:00
ktsj
edb98f8b91
fix typos. Patch by k_takata.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-19 03:10:21 +00:00
naruse
53fdb30e7f
* lib/uri/common.rb (URI.decode_www_form): scrub string if decoded
...
bytes are invalid for the encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-18 18:58:13 +00:00
knu
2849ee5d18
* lib/set.rb (Set#delete_if, Set#keep_if): Make Set#delete_if and
...
Set#keep_if more space and time efficient by avoiding to_a.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-18 17:48:18 +00:00
xibbar
612143ddc1
* lib/cgi/util.rb: Constant parameter is faster and economy than
...
string parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 10:26:57 +00:00
xibbar
75cbab7fe1
* lib/cgi/core.rb: Constant parameter is faster and economy than
...
string parameter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 10:14:45 +00:00
xibbar
2829cbacc3
* lib/cgi/util.rb: Use String#b instead of dup.force_encoding("ASCII-8BIT")
...
[Feature #8394 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-16 10:01:07 +00:00
xibbar
3957501d13
* lib/cgi/session.rb: Fix a typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-05 13:27:26 +00:00
xibbar
b35529bb4e
* lib/cgi/util.rb: class methods modulize for using like a function.
...
[Feature #8354 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-03 11:23:23 +00:00
ryan
f8e5c7c79e
Imported minitest 4.7.4 (r8483)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-02 04:48:43 +00:00
zzak
0b9b99c12c
* lib/yaml.rb: nodoc EngineManager, add History doc #8344
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-02 02:24:33 +00:00
zzak
bb35edf33c
* lib/rake/version.rb: Fix RDoc warning with :include: [Bug #8347 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-05-01 03:21:45 +00:00
zzak
c322f10ad9
* lib/benchmark.rb: Update Benchmark results on newer CPU
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-30 14:19:20 +00:00
eregon
bdc8087f33
* lib/yaml.rb: Clarify documentation about YAML being always Psych.
...
Give a tip about using Syck. See #8344 .
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-28 15:40:53 +00:00
eregon
253f49dbc2
* lib/yaml.rb: Use another trick to define the YAML module.
...
https://twitter.com/n0kada/status/328342207511801856
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-28 14:34:22 +00:00
zzak
531d47d6c1
* lib/pp.rb: Update PP module overview by @geopet
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-04-28 14:19:18 +00:00