• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javaandroidc++linuxc#objective-ccocoa誰得qtrubypythongamewindowsbathyscaphephpguic翻訳omegattwitterframeworktestbtronarduinovb.net計画中(planning stage)directxpreviewerゲームエンジンdom

hanzubon2


Commit MetaInfo

修订版f473f5005e9635cfe3a2670e9a54a73126763a02 (tree)
时间2009-11-07 05:34:44
作者ishikawa <ishikawa@d141...>
Commiterishikawa

Log Message

POE version dependency drop (related ticket: #19294, #19079)

git-svn-id: file:///home/ishikawa/tmp/TEST/SVN/keitairc/trunk@333 d1410196-9ac4-404c-8836-01155b1afb10

更改概述

差异

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
1+2009-11-07 ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
2+ * keitairc, Makefile.PL, t/00_required_modules.t, doc/environment.html:
3+ check 'POE have the has_forked method' before call it, so POE version
4+ dependency is now not needed. POE version check and documentation
5+ update.
6+
17 2009-10-22 ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
28 * Makefile.PL, t/00_required_modules.t, doc/environment.html:
39 Check/Describe POE version (require 1.007 or later)
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -1,5 +1,5 @@
11 # -*-perl-*-
2-# $Id: Makefile.PL,v 1.7 2009-10-22 11:28:15 ishikawa Exp $
2+# $Id: Makefile.PL,v 1.8 2009-11-06 20:34:44 ishikawa Exp $
33 # $Source: /home/ishikawa/tmp/TEST/CVS/keitairc/Makefile.PL,v $
44
55 use 5.8.0;
@@ -17,7 +17,7 @@ WriteMakefile(
1717 AUTHOR => 'Jun Morimoto <morimoto@mrmt.net>',
1818 LICENSE => 'GPL2',
1919 PREREQ_PM => {
20- 'POE' => "1.007",
20+ 'POE' => 0,
2121 'POE::Component::Server::TCP' => 0,
2222 'POE::Filter::HTTPD' => 0,
2323 'POE::Component::IRC' => 0,
--- a/doc/environment.html
+++ b/doc/environment.html
@@ -53,7 +53,7 @@
5353 </p>
5454
5555 <ul>
56- <li>POE (バージョン 1.007 以上)</li>
56+ <li>POE</li>
5757 <li>POE::Component::Server::TCP</li>
5858 <li>POE::Filter::HTTPD</li>
5959 <li>POE::Component::IRC</li>
--- a/keitairc
+++ b/keitairc
@@ -1,7 +1,7 @@
11 #!/usr/bin/perl
22 # -*- mode: perl; coding: utf-8 -*-
33 # keitairc
4-# $Id: keitairc,v 1.75 2009-10-21 14:35:50 matusita Exp $
4+# $Id: keitairc,v 1.76 2009-11-06 20:34:44 ishikawa Exp $
55 # $Source: /home/ishikawa/tmp/TEST/CVS/keitairc/keitairc,v $
66 #
77 # Copyright (c) 2003-2008 Jun Morimoto <morimoto@mrmt.net>
@@ -15,7 +15,7 @@
1515 # Depends: libxml-simple-perl
1616
1717 use Encode;
18-use POE 1.007;
18+use POE;
1919 use POE::Filter::HTTPD;
2020 use POE::Component::IRC;
2121 use POE::Component::Server::TCP;
@@ -52,7 +52,7 @@ if($cf->daemonize()){
5252 close(PID);
5353 }
5454 }
55- $poe_kernel->has_forked;
55+ $poe_kernel->has_forked if ($poe_kernel->can(has_forked));
5656 }
5757
5858 # create irc component
--- a/t/00_required_modules.t
+++ b/t/00_required_modules.t
@@ -1,5 +1,5 @@
11 # -*- mode: perl; coding: utf-8 -*-
2-# $Id: 00_required_modules.t,v 1.2 2009-10-22 11:28:15 ishikawa Exp $
2+# $Id: 00_required_modules.t,v 1.3 2009-11-06 20:34:44 ishikawa Exp $
33 # $Source: /home/ishikawa/tmp/TEST/CVS/keitairc/t/00_required_modules.t,v $
44 # Copyright (c) 2003-2008 Jun Morimoto <morimoto@mrmt.net>
55 # This program is covered by the GNU General Public License 2
@@ -12,7 +12,7 @@ use lib "$FindBin::Bin/../lib";
1212 # check required modules
1313 use_ok('AppConfig');
1414 use_ok('Encode');
15-use_ok('POE 1.007');
15+use_ok('POE');
1616 use_ok('POE::Filter::HTTPD');
1717 use_ok('POE::Component::IRC');
1818 use_ok('POE::Component::Server::TCP');