aboutsummaryrefslogtreecommitdiffstats
path: root/lib/uri.rb
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/uri] Remove RCS keywordsDavid Rodríguez2020-03-261-1/+0
| | | | https://github.com/ruby/uri/commit/1bcb1203ad
* [ruby/uri] Prefer `require_relative` for loading internal codeDavid Rodríguez2020-03-261-10/+10
| | | | | | | So that we don't need to search the LOAD_PATH, given that we know which files we want to load in advance. https://github.com/ruby/uri/commit/cbecefb788
* Revert "Revert "Promote uri to default gems""Hiroshi SHIBATA2019-11-111-5/+1
| | | | | | This reverts commit fdfad905227a0e2e4c224d87181041fb75d5082e. f1f27da6c457684fdbfc0352297e6847f675ce4c resolved this.
* Revert "Promote uri to default gems"Hiroshi SHIBATA2019-11-091-1/+5
| | | | | | | This reverts commit c5b4d2a2592942766dc2789f46105b91eba7026a. This commit affects with activation feature of RubyGems. [Bug #16337][ruby-core:95768]
* Promote uri to default gemsHiroshi SHIBATA2019-11-091-5/+1
|
* Improve docs for URI librarystomar2018-04-211-25/+19
| | | | | | | | | | | | | | | | | | | * lib/uri/generic.rb: [DOC] fix invalid example code to make it syntax highlighted; drop unnecessary `puts', `p'; adapt to current inspect format without Object id; do not display unnecessary return values in examples; fix or prevent unintended description lists; fix broken RDoc; fix grammar and typos. * lib/uri.rb: ditto. * lib/uri/common.rb: ditto. * lib/uri/file.rb: ditto. * lib/uri/ftp.rb: ditto. * lib/uri/http.rb: ditto. * lib/uri/ldap.rb: ditto. * lib/uri/mailto.rb: ditto. * lib/uri/rfc2396_parser.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Introduce URI::File to handle file URI schemenaruse2018-03-151-1/+3
| | | | | | | | | | | * the default value of URI::File's authority is "" (localhost). Both nil and "localhost" is normalized to "" by default. * URI::File ignores setting userinfo and port [Feature #14035] fix https://github.com/ruby/ruby/pull/1719 fic https://github.com/ruby/ruby/pull/1832 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62767 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
* bump URI::VERSION to 0.10.0naruse2014-11-031-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri.rb: Add toplevel documentation. Patch by Vincent Batts.drbrain2011-05-131-4/+86
| | | | | | | [Ruby 1.9 - Bug #4690] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri.rb, lib/uri/ldaps.rb: added LDAPSakira2007-10-251-0/+1
| | | | | | | cheme. [ruby-dev:31896] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/ldap.rb: method hierarchical? should be in URI::LDAP.akira2004-07-171-2/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri.rb: Documented (thanks Dmitry V. Sabanin).gsinclair2004-03-241-25/+11
| | | | | | | | | | | | | * lib/uri/common.rb: Ditto. * lib/uri/ftp.rb: Ditto. * lib/uri/generic.rb: Ditto. * lib/uri/http.rb: Ditto. * lib/uri/https.rb: Ditto. * lib/uri/ldap.rb: Ditto. * lib/uri/mailto.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/ftp.rb, lib/uri/mailto.rb: renamed to #to_s from #to_str.akira2003-10-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb, lib/uri/ldap.rb, lib/uri/mailto.ldap: all foo=()akira2003-02-141-1/+1
| | | | | | | | | | | | | | returns arguments passed by caller. * lib/uri/generic.rb (Generic#to_str, Generic#to_s): removed to_str. Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475]. * lib/uri/generic.rb (Generic#==): should not generate an URI object from argument. Suggested by Tanaka Akira <akr@m17n.org> at [ruby-dev:19475]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * removed URI::Generic#to_ary.akira2002-12-161-1/+1
| | | | | | | * URI::Generic included URI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated uri.rb and uri/*.rb to uri-0.9.7akira2002-10-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merged differences between uri-0.9.6 and uri-0.9.7akira2002-06-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/uri/generic.rb: merge0 shuld return [oth, oth] if oth is absolute URI.akira2002-02-261-1/+1
| | | | | | | * lib/uri/generic.rb: registry part must not be allowed for any schemes for the Internet. (RFC2396, section 3.2.2 and 3.2.1.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* uri-0.9.5akira2002-02-071-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* added uri library (uri-0.9.4)akira2002-01-101-0/+41
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e