README.rdoc in mysql2xxxx-0.1.1 vs README.rdoc in mysql2xxxx-0.2.0
- old
+ new
@@ -1,12 +1,12 @@
=mysql2xxxx
==Binaries
- mysql2csv --user=dbuser --password=dbpassword --database=dbname [--charset=utf8] [--encoding=UTF-8] --execute="select * from automobile_makes"
- mysql2json --user=dbuser --password=dbpassword --database=dbname [--charset=utf8] [--encoding=UTF-8] --execute="select * from automobile_makes"
- mysql2xml --user=dbuser --password=dbpassword --database=dbname [--charset=utf8] [--encoding=UTF-8] --execute="select * from automobile_makes"
+ mysql2csv --user=dbuser --password=dbpassword --database=dbname --execute="select * from automobile_makes"
+ mysql2json --user=dbuser --password=dbpassword --database=dbname --execute="select * from automobile_makes"
+ mysql2xml --user=dbuser --password=dbpassword --database=dbname --execute="select * from automobile_makes"
To see all options
mysql2csv --help
@@ -23,9 +23,9 @@
a = Mysql2xxxx::JSON.new :execute => "select * from automobile_makes" # no need to specify user, etc. because it's taken from ActiveRecord
==Well-formedness
* CSV output depends on FasterCSV <tt>to_csv</tt>
-* JSON output depends on ActiveSupport <tt>to_json</tt>
+* JSON output depends on Florian Frank's JSON <tt>JSON.generate</tt>
* XML output is written manually, but looks like the output of <tt>mysql [hyphen][hyphen]xml</tt>
Copyright 2011 Seamus Abshere