[前][次][番号順一覧][スレッド一覧]

ruby-changes:20615

From: nahi <ko1@a...>
Date: Mon, 25 Jul 2011 13:54:22 +0900 (JST)
Subject: [ruby-changes:20615] nahi:r32662 (trunk): * ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition

nahi	2011-07-25 13:49:26 +0900 (Mon, 25 Jul 2011)

  New Revision: 32662

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32662

  Log:
    * ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition 
      introduced in r30152 to x509-internal.rb.

  Modified files:
    trunk/ChangeLog
    trunk/ext/openssl/lib/openssl/x509-internal.rb
    trunk/ext/openssl/lib/openssl/x509.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 32661)
+++ ChangeLog	(revision 32662)
@@ -1,3 +1,8 @@
+Mon Jul 25 13:46:38 2011  Hiroshi Nakamura  <nahi@r...>
+
+	* ext/openssl/lib/openssl/x509.rb: Cosmetic change: move definition
+	  introduced in r30152 to x509-internal.rb.
+
 Mon Jul 25 13:09:42 2011  Hiroshi Nakamura  <nahi@r...>
 
 	* ext/openssl/ossl_ssl.c (ossl_ssl_shutdown): Avoid randomly generated
Index: ext/openssl/lib/openssl/x509-internal.rb
===================================================================
--- ext/openssl/lib/openssl/x509-internal.rb	(revision 32661)
+++ ext/openssl/lib/openssl/x509-internal.rb	(revision 32662)
@@ -148,5 +148,11 @@
         alias parse parse_openssl
       end
     end
+
+    class StoreContext
+      def cleanup
+        warn "(#{caller.first}) OpenSSL::X509::StoreContext#cleanup is deprecated with no replacement" if $VERBOSE
+      end
+    end
   end
 end
Index: ext/openssl/lib/openssl/x509.rb
===================================================================
--- ext/openssl/lib/openssl/x509.rb	(revision 32661)
+++ ext/openssl/lib/openssl/x509.rb	(revision 32662)
@@ -1,9 +1 @@
-module OpenSSL
-  module X509
-    class StoreContext
-      def cleanup
-        warn "(#{caller.first}) OpenSSL::X509::StoreContext#cleanup is deprecated with no replacement" if $VERBOSE
-      end
-    end
-  end
-end
+require 'openssl'

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]