changeset 93:8ea193772cbd draft

ruby21
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 13 Jul 2014 09:12:23 +0900
parents 52a3c4444a4c
children 568f4c467966
files after5.rb
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/after5.rb	Thu Feb 20 12:50:25 2014 +0900
+++ b/after5.rb	Sun Jul 13 09:12:23 2014 +0900
@@ -1,10 +1,10 @@
-#!/usr/local/bin/ruby20
+#!/usr/local/bin/ruby21
 # -*- coding: euc-jp -*-
 #
 # Associative Scheduling Table - after5
-# (C)2003, 2004, 2006, 2008, 2012, 2013 by HIROSE Yuuji [yuuji<at>gentei.org]
+# (C)2003, 2004, 2006, 2008, 2012-2014 by HIROSE Yuuji [yuuji<at>gentei.org]
 # $Id: after5.rb,v 1.20 2012/12/03 15:54:20 yuuji Exp $
-# Last modified Thu Feb 20 12:49:36 2014 on firestorm
+# Last modified Sun Jul 13 09:11:49 2014 on firestorm
 # See http://www.gentei.org/~yuuji/software/after5/
 # このスクリプトはEUCで保存してください。
 $hgid = <<_HGID_.split[1..-2].join(" ")
@@ -1600,7 +1600,7 @@
 		 sprintf(msg('accessfrom'), ENV['REMOTE_ADDR']) +
 		 sprintf(@opt['url']) + "\n" +
 		 sprintf(msg('newpassword'), user, newp) +
-		 sprintf(msg('mischief')))
+		 sprintf("%s\n", msg('mischief')))
 	@O.print @H.p(sprintf(msg('newaccount'), user))
 	@O.print @H.p(@H.a(@myname, msg('login')))
 	throw :auth, nil

yatex.org