diff options
author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 05:20:09 +0000 |
---|---|---|
committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-12 05:20:09 +0000 |
commit | ae04e36638f6f3ada402b12b9994ec404c26b184 (patch) | |
tree | f80c3d21bacb86a3d93e9218d57ba5af07a040ff | |
parent | 08795f9cebf686f6caa2cd7f4791cc6b9ed8a78b (diff) | |
download | ruby-ae04e36638f6f3ada402b12b9994ec404c26b184.tar.gz |
* lib/net/https.rb: supress syntax warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | lib/net/https.rb | 2 |
2 files changed, 10 insertions, 1 deletions
@@ -1,3 +1,12 @@ +Tue Aug 12 14:19:53 2008 Minero Aoki <aamine@loveruby.net> + + * lib/net/https.rb: supress syntax warning. + +Tue Aug 12 14:15:51 2008 Minero Aoki <aamine@loveruby.net> + + * lib/net/http.rb (Net::HTTP#initialize): initialize net/https + variables to supress syntax warning. + Tue Aug 12 14:15:13 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * ext/dl/cptr.c (rb_dlptr_s_to_ptr): fixed shadowing variable. diff --git a/lib/net/https.rb b/lib/net/https.rb index 7477df1780..897bbb744b 100644 --- a/lib/net/https.rb +++ b/lib/net/https.rb @@ -124,7 +124,7 @@ module Net ssl_version key cert ca_file ca_path cert_store ciphers verify_mode verify_callback verify_depth ssl_timeout ) - attr_accessor *SSL_ATTRIBUTES + attr_accessor(*SSL_ATTRIBUTES) def peer_cert if not use_ssl? or not @socket |