1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/rss
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
..
content Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
dublincore Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
maker Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
0.9.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
1.0.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
2.0.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
atom.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
content.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
converter.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
dublincore.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
image.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
itunes.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
maker.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
parser.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rexmlparser.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
rss.rb stdlib: avoid extra calls to eliminate "\n" from Base64 2016-01-10 00:35:43 +00:00
slash.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
syndication.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
taxonomy.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
trackback.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
utils.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xml-stylesheet.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xml.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xmlparser.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00
xmlscanner.rb Add frozen_string_literal: false for all files 2015-12-16 05:07:31 +00:00