summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-03-25lib/rubygem.rb: Weirichnobu
* lib/rubygem.rb: fix spelling of Jim Weirich. [Fixes GH-577] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-21cgi/util.rb: use aliasnobu
* lib/cgi/util.rb (escape_html, unescape_html): make synonyms aliases instead of wrapper methods. * lib/cgi/util.rb (escape_element, unescape_element): ditto. [Fixes GH-573] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-20* lib/csv.rb: Fixed a broken regular expression that was causingjeg2
CSV to miss escaping some special meaning characters when used in parsing. Reported by David Unric [ruby-core:54986] [Bug #8405] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-16* lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]zzak
Based on patch by @stomar [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45349 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-15* lib/gserver.rb: [DOC] Fixed typo in example by @stomar [Bug #9543] [ci skip]zzak
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-03* lib/find.rb (Find#find): should pass ignore_error option to enumerators.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-02find.rb: add ignore_errornobu
* lib/find.rb (Find#find): add "ignore_error" keyword argument defaulted to true. [ruby-core:51025] [Feature #7596] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-01* lib/open3.rb (Open3.capture3): Ignore Errno::EPIPE for writingakr
stdin_data. (Open3.capture2): Ditto. (Open3.capture2e): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-03-01assertions.rb: assert_all? assert_not_all?nobu
* lib/test/unit/assertions.rb (assert_all?, assert_not_all?): new assertions for all iterations. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-27* lib/optparse.rb: [DOC] Add example of generating help with optparse.zzak
Patch by @joelmccracken documenting-ruby/ruby#19 https://github.com/documenting-ruby/ruby/pull/19 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-23* lib/rexml/xmltokens.rb: Add missing non ASCII valid characterskou
to element name characters. Now, REXML name tokens exactly match "[5] Name" in the XML spec and "[4] NCName" in the Namespaces in XML spec. See comment about the details. [Bug #9539] [ruby-core:60901] Reported by Mario Barcala. Thanks!!! * test/rexml/xpath/test_node.rb: Add tests for the above case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-22* lib/resolv.rb (bind_random_port): Rescue EPERM for FreeBSD whichakr
security.mac.portacl.port_high is changed. See mac_portacl(4) for details. Reported by Jakub Szafranski. [ruby-core:60917] [Bug #9544] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-22* lib/rexml/xpath_parser.rb: Fix indent.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-21logger.rb: DSTnobu
* lib/logger.rb (next_rotate_time, previous_period_end): consider DST change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-21logger.rb: fix midnight log rotation missnobu
* lib/logger.rb (Logger::LogDevice#check_shift_log): compare the current time with the time for the next rotation to fix rotation miss when date changed between the comparison and log writing. based on the patch by megayu <yuhg2310 AT gmail.com>. [Fixes GH-539] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-18* lib/test/unit.rb: Requires minitest < 5.0.0 if Gem is available.sorah
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-18* lib/test/unit/test-unit.gemspec: Add minitest < 5.0.0 dependencysorah
* tool/rbinstall.rb: Add empty implementations for `add_dependency`, `add_runtime_dependency`, `add_development_dependency` for Gem::Specification. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-15minor rdoc typoryan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-12httpservlet/filehandler.rb: pass queriesnobu
* lib/webrick/httpservlet/filehandler.rb (set_dir_list): pass the given queries to subdirectories. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-11* lib/logger.rb: [DOC] Fix arg name for Logger.new by @ryotarai [ci skip] ↵hsbt
[fix GH-531] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-08* lib/yaml.rb: [DOC] Add links to syck and psych on github [Bug #9501]zzak
Based on a patch by Giorgos Tsiftsis [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-08* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder#get_labels):akr
Make it iterative. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-08* lib/resolv.rb: Don't set CLOEXEC flag explicitly. (Ruby set it byakr
default.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-08* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder): Raiseakr
DecodeError if no data before the limit. Reported by Will Bryant. [ruby-core:60557] [Bug #9498] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-07* lib/resolv.rb: Ignore name servers which cause EAFNOSUPPORT onakr
socket creation. Reported by Bjoern Rennhak. [ruby-core:60442] [Bug #9477] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-07* lib/open-uri.rb: [DOC] use lower case version of core classes, samezzak
as commit r44878, based on patch by Jonathan Jackson [Bug #9483] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-05* lib/rubygems: Update to RubyGems 2.2.2. Complete history at:drbrain
http://rubygems.rubyforge.org/rubygems-update/History_txt.html#label-2.2.2+%2F+2014-02-05 * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-05assertions.rb: remove extra periodnobu
* lib/test/unit/assertions.rb (assert_raise): remove extra period, which will be appended by `message`. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-05* lib/set.rb: [DOC] Fix grammatical error by @bouk [fix GH-524]hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-04dir.c: glob cases on case-insensitive systemnobu
* dir.c (glob_helper): return the filename with actual cases on the filesystem if it is case-insensitive. [ruby-core:42469] [Feature #5994] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-02-04 * lib/rubygems: Update to RubyGems 2.2.2 prerelease to check fixes todrbrain
CI. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-31* lib/drb/drb.rb: [DOC] Add note about start_service for each processzzak
Based on a patch by @rosenfeld [Fixes GH-514] [ci skip] https://github.com/ruby/ruby/pull/514 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-31* lib/securerandom.rb: [DOC] Add note on require for exampleszzak
Based on a patch by @schneems [Fixes GH-518] [ci skip] https://github.com/ruby/ruby/pull/518 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-28* lib/set.rb: [DOC] Add examples for Set#intersect? and Set#disjoint?zzak
Patch by xavier nayrac [Bug #9331] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-24* lib/racc/rdoc/grammar.en.rdoc: [DOC] Correct grammar and typoszzak
Patch by Giorgos Tsiftsis [Bug #9429] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-23assertions.rb: allow procnobu
* lib/test/unit/assertions.rb (assert_raise): allow a proc as message like as other assertions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-23* lib/fileutils.rb: [DOC] Fix typo in options_of() example [Bug #9392]zzak
Patch by Giorgos Tsiftsis git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-22* fix typo by @rrrene [fix GH-510]hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-21* lib/uri/common.rb: [DOC] Use static w3.org uri [ci skip]zzak
Patch by @ykzts [Fix GH-484] https://github.com/ruby/ruby/pull/484 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-20* lib/rubygems/version.rb: [DOC] Use gender-neutral pronouns [ci skip]zzak
* lib/rubygems/security.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-19* ext/psych/lib/psych.rb: fix typo by @jwworth [fix GH-500]hsbt
* lib/rake/file_list.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-19* lib/cgi/html.rb: fix typo by @windwiny [fix GH-506]hsbt
* lib/net/http.rb: ditto * lib/rexml/attribute.rb: ditto * lib/rexml/element.rb: ditto * lib/rexml/source.rb: ditto * lib/rexml/streamlistener.rb: ditto * lib/rss/xmlparser.rb: ditto * lib/rubygems/commands/generate_index_command.rb: ditto * lib/shell.rb: ditto * lib/uri/common.rb:ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-18* lib/resolv.rb (Resolv::DNS::Resource::TXT#data): Return concatenatedakr
string. Patch by Ryan Brunner. [ruby-core:58220] [Bug #9093] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-18* lib/open-uri.rb: Make proxy disabling working again.akr
Fixed by Christophe Philemotte. [ruby-core:59650] [Bug #9385] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-17delegate.rb: keep special methodsnobu
* lib/delegate.rb (Delegator): keep source information methods which start and end with '__'. [ruby-core:58572] [Bug #9155] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-13* lib/xmlrpc/client.rb: [DOC] Remove note about SSL package on RAAzzak
Since RAA has been deprecated, and the SSL package has been replaced with net/https this statement is entirely false and should be deleted. [Bug #9152] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-13* lib/net/smtp.rb: [DOC] Remove dead link to RAA by Giorgos Tsiftsiszzak
Fixes the following bugs: [Bug #9152] [Bug #9268] [Bug #9394] * lib/open-uri.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-08rubygems/test_case.rb: fix errors in mkmf testsnobu
* lib/rubygems/test_case.rb (Gem#teardown): BASERUBY is not set usually. fix errors in mkmf tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-08lib/timeout.rb: fallback to Timeout::Errornobu
* lib/timeout.rb (Timeout::ExitException.catch): pass arguments for new instance. * lib/timeout.rb (Timeout::ExitException#exception): fallback to Timeout::Error if couldn't throw. [ruby-dev:47872] [Bug #9380] * lib/timeout.rb (Timeout#timeout): initialize ExitException with message for the fallback case. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-01-07timeout.rb: revert r44520nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e