ruby/lib
normal f2b9563bb4 lib/uri/generic.rb: enable frozen_string_literal
* lib/uri/generic.rb: enable frozen_string_literal
  (split_userinfo): remove explicit .freeze for string literals
  (check_path): ditto
  (query): ditto
  (fragment): ditto
  (to_s): ditto
  [ruby-core:71910] [Bug #11759]

Patch-by: Colin Kelley <colindkelley@gmail.com>

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-12-08 21:28:26 +00:00
..
cgi session.rb: SHA512 2015-09-03 12:12:14 +00:00
drb * lib/drb/drb.rb: revert r52442 because it was for debugging, and after this 2015-11-10 03:08:41 +00:00
irb * lib/drb/drb.rb: use attr_reader instead of Module#attr. 2014-08-27 12:10:21 +00:00
matrix * lib/matrix/eigenvalue_decomposition.rb (tridiagonalize): fix 2015-10-23 02:09:03 +00:00
net fixup! * lib/net/http.rb (connect): detect closed connection and reconnect If the server closes a keep-alive http connection, the client socket reaches EOF. To avoid an EOFError, detect the closed connection and reconnect. Added test to ensure HTTP#post succeeds even if the keep-alive-connection has been closed by the server. by Kristian Hanekamp <kris.hanekamp@gmail.com> https://github.com/ruby/ruby/pull/1089 fix GH-1089 2015-11-27 15:03:24 +00:00
optparse * lib/cgi/core.rb: remove unused variables. 2014-07-27 11:04:28 +00:00
racc Grammatical fixes [ci skip] 2015-10-26 13:23:32 +00:00
rbconfig * tool/mkconfig.rb: remove not to require rbconfig/obsolete.rb. 2014-07-07 02:07:01 +00:00
rdoc * lib/rdoc/*: Update rdoc master(cfffed5) 2015-08-28 07:05:17 +00:00
rexml * lib/rexml/source.rb (REXML::IOSource#scan): Fix a typo in 2015-06-14 01:14:38 +00:00
rinda Revert "* lib/rinda/ring.rb: Linux's SO_REUSEPORT is not for multicast." 2015-10-28 02:52:31 +00:00
rss * lib/rss/syndication.rb: Add nodoc marker for #validate_sy_updatePeriod. 2015-11-20 03:44:12 +00:00
rubygems * lib/rubygems: Update to RubyGems 2.5.0+ HEAD(fdab4c4). 2015-12-04 06:21:53 +00:00
shell * lib/shell/process-controller.rb: removed commented-out code. 2014-08-26 02:44:26 +00:00
unicode_normalize * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
uri lib/uri/generic.rb: enable frozen_string_literal 2015-12-08 21:28:26 +00:00
webrick * lib/webrick/httpauth/basicauth.rb: fix a typo. 2015-11-16 03:11:20 +00:00
xmlrpc * lib/xmlrpc/parser.rb: added new parser class using libxml-ruby gem. 2014-10-13 08:53:16 +00:00
yaml * lib/yaml/dbm.rb: [DOC] Document call-seq for YAML::DBM 2013-08-12 04:29:49 +00:00
English.rb * lib/English.rb: [DOC] $LOADED_FEATURES moved to load.c [Fixes GH-620] 2014-05-31 19:54:55 +00:00
abbrev.rb * lib/abbrev.rb: remove executable. 2014-07-11 08:16:05 +00:00
base64.rb * lib/base64.rb: Fix rdoc-formatting for padding argument. 2015-05-20 14:24:58 +00:00
benchmark.rb lib/benchmark.rb: just use Process::CLOCK_MONOTONIC 2015-06-02 00:08:25 +00:00
cgi.rb * lib/cgi.rb: remove needless condition for old ruby version. 2014-08-07 06:14:29 +00:00
cmath.rb * lib/cmath.rb: methods which has suffix '!' are now deprecated. 2015-11-22 13:09:41 +00:00
csv.rb csv.rb: fix encoding 2015-12-02 02:40:02 +00:00
debug.rb * lib/debug.rb: Add documentation for #thread_list_all. 2015-11-04 08:33:29 +00:00
delegate.rb * lib/delegate.rb: Remove backtrace cleaning for delegated methods 2015-09-09 02:12:52 +00:00
drb.rb
e2mmap.rb * lib/e2mmap.rb: remove needless instance variables. 2014-08-24 07:16:25 +00:00
erb.rb erb: set variables from the command line 2014-12-12 10:48:57 +00:00
fileutils.rb * lib/fileutils.rb: rename tailing to trailing. 2015-10-26 08:30:20 +00:00
find.rb * lib/find.rb (Find.find): Call to_path for arguments to obtain 2014-10-13 07:34:23 +00:00
forwardable.rb forwardable.rb: full qualify names 2015-10-23 22:29:14 +00:00
getoptlong.rb fix typos inspired by r40825 2013-05-19 14:50:47 +00:00
ipaddr.rb * lib/ipaddr.rb, test/test_ipaddr.rb: Reject invalid address contained 2015-10-23 07:35:14 +00:00
irb.rb * lib/irb.rb: Ignored assignment of STDOUT.sync = true 2015-10-23 08:55:35 +00:00
logger.rb * lib/logger.rb: expose logger mutex 2015-11-20 14:16:56 +00:00
mathn.rb lib/mathn.rb: remove built-in methods 2014-08-26 12:07:57 +00:00
matrix.rb * lib/matrix.rb: added documentation for Matrix#empty and Matrix#/ 2015-05-21 08:29:32 +00:00
mkmf.rb Drop support for BeOS 2015-11-24 00:17:11 +00:00
monitor.rb * lib/monitor.rb (mon_try_enter, mon_enter): should reset @mon_count 2015-05-18 04:56:22 +00:00
mutex_m.rb * lib/mutex_m.rb: Add rdoc for Mutex_m module 2013-02-20 02:51:51 +00:00
observer.rb * lib/drb/acl.rb: Removed meaningless #to_s methods in interpolation. 2014-08-27 12:21:41 +00:00
open-uri.rb * lib/net/ftp.rb (initialize): Connections are in passive mode per 2015-11-11 03:48:45 +00:00
open3.rb * lib/open3.rb: Specify frozen_string_literal: true. 2015-11-14 07:43:23 +00:00
optionparser.rb lib/optionparser.rb 2014-05-26 03:25:38 +00:00
optparse.rb optparse.rb: Fix typo [ci skip] 2015-12-08 01:19:04 +00:00
ostruct.rb OpenStruct#dig 2015-11-17 05:36:03 +00:00
pp.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
prettyprint.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
prime.rb * lib/prime.rb: Add basic argument checking to Prime.prime? 2015-10-20 03:19:44 +00:00
profile.rb
profiler.rb * lib/profiler.rb: Document Profiler__ methods 2013-05-19 23:04:36 +00:00
pstore.rb * lib/pstore.rb: split executable code into sample directory. 2014-07-23 19:31:18 +00:00
rdoc.rb * lib/rdoc: Update to RDoc 4.2.0. 2014-12-07 01:22:37 +00:00
resolv-replace.rb * lib/resolv-replace.rb: Specify frozen_string_literal: true. 2015-11-14 08:25:30 +00:00
resolv.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
rss.rb * lib/csv.rb: fix a typo. 2011-05-11 10:22:16 +00:00
rubygems.rb * lib/rubygems: Update to RubyGems 2.5.0+ HEAD(db78980). 2015-11-12 04:50:06 +00:00
scanf.rb * lib/scanf.rb: fixed double words typo. 2015-12-03 06:39:26 +00:00
securerandom.rb * lib/securerandom.rb (SecureRandom::gen_random): use /dev/urandom 2015-11-30 20:29:22 +00:00
set.rb * lib/set.rb: Enable frozen_string_literal. 2015-11-16 07:41:30 +00:00
shell.rb * lib/e2mmap.rb: remove needless instance variables. 2014-08-24 07:16:25 +00:00
shellwords.rb * lib/shellwords.rb: proofreading documentation. 2014-09-05 10:00:46 +00:00
singleton.rb * lib: remove trailing spaces. 2011-05-18 14:09:38 +00:00
sync.rb fix typos. Patch by k_takata. 2013-05-19 03:10:21 +00:00
tempfile.rb * lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash 2015-06-13 02:40:38 +00:00
thwait.rb * lib/drb/drb.rb: use attr_reader instead of Module#attr. 2014-08-27 12:10:21 +00:00
time.rb * lib/time.rb: Use "<<" to reduce string allocation. 2015-11-14 12:45:30 +00:00
timeout.rb timeout.rb: freeze a string message 2015-08-13 13:49:44 +00:00
tmpdir.rb * lib/open-uri.rb: Remove indicator for "frozen_string_literal: true". 2015-11-10 11:48:14 +00:00
tracer.rb * lib/cgi.rb: [DOC] Capitalize "Ruby" in documentation [Fixes GH-341] 2013-07-18 13:50:32 +00:00
tsort.rb * lib/tsort.rb: Specify frozen_string_literal: true. 2015-11-14 08:46:11 +00:00
ubygems.rb
un.rb * lib/un.rb (help): change the name of a block parameter to avoid 2015-10-22 15:51:07 +00:00
unicode_normalize.rb * lib/unicode_normalize.rb: typo fix. [ci skip] 2014-12-29 23:57:46 +00:00
uri.rb bump URI::VERSION to 0.10.0 2014-11-03 00:33:44 +00:00
weakref.rb * lib/weakref.rb: split executable code into sample directory. 2014-07-26 17:12:11 +00:00
webrick.rb * lib/webrick.rb: [DOC] fix grammar in WEBrick overview [Fixes GH-413] 2013-10-05 23:39:32 +00:00
xmlrpc.rb * lib/xmlrpc.rb: [DOC] fix typo. 2013-12-12 03:09:19 +00:00
yaml.rb * lib/yaml.rb: fix typo. [ci skip][fix GH-890] 2015-05-03 12:59:52 +00:00