From 67305e790df68b4009862e7a971fa7c075de5cea Mon Sep 17 00:00:00 2001 From: usa Date: Thu, 31 Jan 2019 10:55:37 +0000 Subject: [PATCH] merge revision(s) 66401: [Backport #15412] 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_4@66964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/http.rb | 2 +- version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/net/http.rb b/lib/net/http.rb index 5a22fc0015..3ff0ebceee 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -22,9 +22,9 @@ require 'net/protocol' require 'uri' +autoload :OpenSSL, 'openssl' module Net #:nodoc: - autoload :OpenSSL, 'openssl' # :stopdoc: class HTTPBadResponse < StandardError; end diff --git a/version.h b/version.h index f638b9ea3e..57e7d2a0aa 100644 --- a/version.h +++ b/version.h @@ -1,6 +1,6 @@ #define RUBY_VERSION "2.4.6" #define RUBY_RELEASE_DATE "2019-01-31" -#define RUBY_PATCHLEVEL 339 +#define RUBY_PATCHLEVEL 340 #define RUBY_RELEASE_YEAR 2019 #define RUBY_RELEASE_MONTH 1