roxo 0.0.3 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README +17 -0
- data/roxo.gemspec +2 -1
- metadata +3 -2
data/README
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
== What is?
|
2
|
+
|
3
|
+
ROXO (Ruby Objects for XML Objects) is a simple wrapper that uses LibXML to let you traverse an XML document using ruby method calls.
|
4
|
+
|
5
|
+
== How do I make it go?
|
6
|
+
|
7
|
+
require 'roxo'
|
8
|
+
roxo = ROXO.new("<foo bar='zxcv'><qux><quux>corge</quux></qux><qux>grault</qux></foo>")
|
9
|
+
roxo.bar #=> "zxcv"
|
10
|
+
roxo.quxes #=> [#<ROXO:0x03158150>, "grault"]
|
11
|
+
roxo.quxes.first.quux #=> "corge"
|
12
|
+
|
13
|
+
== Is there anything else I need to know?
|
14
|
+
|
15
|
+
No.
|
16
|
+
|
17
|
+
|
data/roxo.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = 'roxo'
|
3
|
-
gem.version = "0.0
|
3
|
+
gem.version = "0.1.0"
|
4
4
|
|
5
5
|
gem.author, gem.email = 'Burke Libbey', "burke@burkelibbey.org"
|
6
6
|
|
@@ -16,6 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
|
17
17
|
gem.files = %w[
|
18
18
|
MIT-LICENSE
|
19
|
+
README
|
19
20
|
lib
|
20
21
|
lib/roxo.rb
|
21
22
|
roxo.gemspec
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
+
- 1
|
7
8
|
- 0
|
8
|
-
|
9
|
-
version: 0.0.3
|
9
|
+
version: 0.1.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Burke Libbey
|
@@ -51,6 +51,7 @@ extra_rdoc_files: []
|
|
51
51
|
|
52
52
|
files:
|
53
53
|
- MIT-LICENSE
|
54
|
+
- README
|
54
55
|
- lib/roxo.rb
|
55
56
|
- roxo.gemspec
|
56
57
|
has_rdoc: true
|