1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--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
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
racc Grammatical fixes [ci skip] 2015-10-26 13:23:32 +00:00
rbconfig
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
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
yaml
abbrev.rb
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
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
English.rb
erb.rb
fileutils.rb * lib/fileutils.rb: rename tailing to trailing. 2015-10-26 08:30:20 +00:00
find.rb
forwardable.rb forwardable.rb: full qualify names 2015-10-23 22:29:14 +00:00
getoptlong.rb
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
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
mutex_m.rb
observer.rb
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
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
pstore.rb
rdoc.rb
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
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
shellwords.rb
singleton.rb
sync.rb
tempfile.rb * lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash 2015-06-13 02:40:38 +00:00
thwait.rb
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
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
uri.rb
weakref.rb
webrick.rb
xmlrpc.rb
yaml.rb