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

ruby-changes:58617

From: Hiroshi <ko1@a...>
Date: Thu, 7 Nov 2019 17:10:47 +0900 (JST)
Subject: [ruby-changes:58617] 3c252651e1 (master): Fixed test failure related Net::Protocol

https://git.ruby-lang.org/ruby.git/commit/?id=3c252651e1

From 3c252651e1ee28d015dbe1648dfdf0140232b733 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Thu, 7 Nov 2019 17:09:22 +0900
Subject: Fixed test failure related Net::Protocol


diff --git a/lib/net/pop/version.rb b/lib/net/pop/version.rb
index 4857d4d..ef5c295c 100644
--- a/lib/net/pop/version.rb
+++ b/lib/net/pop/version.rb
@@ -1,5 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/net/pop/version.rb#L1
 module Net
-  class POP3
+  class Protocol; end
+  class POP3 < Protocol
     VERSION = "0.1.0"
   end
 end
diff --git a/lib/net/smtp/version.rb b/lib/net/smtp/version.rb
index e134ec0..7f5aaaa 100644
--- a/lib/net/smtp/version.rb
+++ b/lib/net/smtp/version.rb
@@ -1,5 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/lib/net/smtp/version.rb#L1
 module Net
-  class SMTP
+  class Protocol; end
+  class SMTP < Protocol
     VERSION = "0.1.0"
   end
 end
-- 
cgit v0.10.2


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

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