mysql-xml 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/README.rdoc +19 -12
  2. metadata +4 -4
@@ -1,12 +1,19 @@
1
- #Provides an easy way to parse XML output from mysql -X.
2
- #MySQLXML::parse takes an IO object for the XML and a block that gets called
3
- #once for each record. The records are represented as hashes keyed by string
4
- #representations of column names.
5
- #
6
- #Example:
7
- # MySQLXML::parse(File.new('test.xml')) do |record|
8
- # puts record['username']
9
- # end
10
- #
11
- #This uses REXML's stream parser, so it should be reasonably
12
- #memory efficient.
1
+ = MySQL XML
2
+
3
+ == About
4
+
5
+ Provides an easy way to parse XML output from mysql -X.
6
+ MySQLXML::parse takes an IO object for the XML and a block that gets called
7
+ once for each record. The records are represented as hashes keyed by string
8
+ representations of column names.
9
+
10
+ Example:
11
+ MySQLXML::parse(File.new('test.xml')) do |record|
12
+ puts record['username']
13
+ end
14
+
15
+ This uses REXML's stream parser, so it should be reasonably memory efficient.
16
+
17
+ == Install
18
+ From Gemcutter
19
+ gem install mysql-xml
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql-xml
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.1"
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Cholakian
@@ -9,11 +9,11 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-16 00:00:00 -08:00
12
+ date: 2010-01-23 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: Provides a simple, fast way of parsing XML dumps of MySQL data.
16
+ description: Provides a simple, fast way of parsing XML dumps of MySQL data, uses the REXML stream parser making it suitable for use on datasets of arbitrary length.
17
17
  email: andrew@andrewvc.com
18
18
  executables: []
19
19
 
@@ -27,7 +27,7 @@ files:
27
27
  - LICENSE
28
28
  - lib/mysql-xml.rb
29
29
  has_rdoc: true
30
- homepage: http://www.andrewvc.com/mysql-xml
30
+ homepage: http://github.com/andrewvc/mysql-xml
31
31
  licenses: []
32
32
 
33
33
  post_install_message: