Skip to content

Commit

Permalink
merge revision(s) 66401: [Backport #15412]
Browse files Browse the repository at this point in the history
	Move autoload to toplevel

	So that classes which uses Net::HTTP with https can use OpenSSL
	namespace for example exception classes like OpenSSL::SSL::SSLError.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_5@66877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nagachika committed Jan 20, 2019
1 parent d6ea20f commit 4c42629
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/net/http.rb
Expand Up @@ -22,9 +22,9 @@

require_relative 'protocol'
require 'uri'
autoload :OpenSSL, 'openssl'

module Net #:nodoc:
autoload :OpenSSL, 'openssl'

# :stopdoc:
class HTTPBadResponse < StandardError; end
Expand Down
2 changes: 1 addition & 1 deletion version.h
@@ -1,6 +1,6 @@
#define RUBY_VERSION "2.5.4"
#define RUBY_RELEASE_DATE "2019-01-20"
#define RUBY_PATCHLEVEL 132
#define RUBY_PATCHLEVEL 133

#define RUBY_RELEASE_YEAR 2019
#define RUBY_RELEASE_MONTH 1
Expand Down

0 comments on commit 4c42629

Please sign in to comment.