[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debian JP master SVN www commits (rev.1030)
=======================================================
Repository: /org/svn.debian.or.jp/repos
Revision: 1030
Commiter: yasu
Date: 2010-05-16 21:33:42 +0900 (日, 16 5月 2010)
=======================================================
Log:
ruby gae-surrogates.rb http://debiancdn.appspot.com/json/alive
=======================================================
Changed:
U cdn/trunk/gae-surrogates.rb
Modified: cdn/trunk/gae-surrogates.rb
===================================================================
--- cdn/trunk/gae-surrogates.rb 2010-05-07 13:20:33 UTC (rev 1029)
+++ cdn/trunk/gae-surrogates.rb 2010-05-16 12:33:42 UTC (rev 1030)
@@ -10,19 +10,22 @@
# = DEPENDENCY
#
# rubygems, json, open-uri.
-# You can install json by 'gem install json'.
+# You can install json by 'gem install json'.
+# or
+# get from http://www.ping.de/~flori/json-1.4.3.tgz and ruby install.rb.
#
# = SYNOPSIS
#
# == How to run this script
#
+# ruby gae-surrogates.rb http://debiancdn.appspot.com/json/alive
# ruby gae-surrogates.rb http://localhost:8080/json/alive
# OR
# ruby gae-surrogates.rb local_file.json
#
# Then, this script makes './addr'.
-require 'rubygems'
+#require 'rubygems'
require 'json'
require 'open-uri'