ruby/ext/psych
normal 778bbac8ac stdlib: avoid extra calls to eliminate "\n" from Base64
We may use the '0' (zero) to avoid adding the line feed.
Furthermore, the '*' (asterisk) modifier is not needed for
a single-element arrays.

* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_String):
  eliminate chomp
* lib/net/http.rb (connect): eliminate delete
* lib/net/http/header.rb (basic_encode): ditto
* lib/net/imap.rb (authenticate): eliminate gsub
  (self.encode_utf7): shorten delete arg
* lib/net/smtp.rb (base64_encode): eliminate gsub
* lib/open-uri.rb (OpenURI.open_http): eliminate delete
* lib/rss/rss.rb: ditto
* lib/securerandom.rb (base64): ditto
  (urlsafe_base64): eliminate delete!
* lib/webrick/httpauth/digestauth.rb (split_param_value):
  eliminate chop
* lib/webrick/httpproxy.rb (do_CONNECT): eliminate delete
  (setup_upstream_proxy_authentication): ditto
  [ruby-core:72666] [Feature #11938]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-10 00:35:43 +00:00
..
lib stdlib: avoid extra calls to eliminate "\n" from Base64 2016-01-10 00:35:43 +00:00
yaml * ext/psych/*: update psych to 2.0.16 2015-12-07 16:58:10 +00:00
.gitignore * ext/psych/extconf.rb: use embedded libyaml if no system libyaml is 2012-11-28 04:34:41 +00:00
depend * ext/-test-/debug/depend: New file. 2013-04-14 10:48:08 +00:00
extconf.rb handle ext/ as r53141 2015-12-16 05:31:54 +00:00
psych.c ext: protoize no-arguments functions 2014-10-04 23:09:32 +00:00
psych.gemspec * ext/psych/lib/psych.rb: bump version to 2.0.17 2015-12-22 11:25:39 +00:00
psych.h * ext/psych/extconf.rb: use embedded libyaml if no system libyaml is 2012-11-28 04:34:41 +00:00
psych_emitter.c psych_emitter.c: check tags range 2015-12-13 09:28:51 +00:00
psych_emitter.h ext: protoize no-arguments functions 2014-10-04 23:29:24 +00:00
psych_parser.c psych: allocate structs with wrapper 2015-05-29 05:44:01 +00:00
psych_parser.h ext: protoize no-arguments functions 2014-10-04 23:29:24 +00:00
psych_to_ruby.c * ext/psych/lib/psych.rb: Adding Psych.safe_load for loading a user 2013-05-14 17:26:41 +00:00
psych_to_ruby.h * ext/psych/extconf.rb: use embedded libyaml if no system libyaml is 2012-11-28 04:34:41 +00:00
psych_yaml_tree.c * ext/psych/extconf.rb: use embedded libyaml if no system libyaml is 2012-11-28 04:34:41 +00:00
psych_yaml_tree.h * ext/psych/extconf.rb: use embedded libyaml if no system libyaml is 2012-11-28 04:34:41 +00:00