smacks-apricoteatsgorilla 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +11 -1
- data/lib/apricoteatsgorilla.rb +1 -0
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -7,7 +7,12 @@ also doesn't follow the BadgerFish convention.
|
|
7
7
|
== Install
|
8
8
|
|
9
9
|
$ sudo gem sources -a http://gems.github.com
|
10
|
-
$ sudo gem install smacks-apricoteatsgorilla
|
10
|
+
$ sudo gem install smacks-apricoteatsgorilla
|
11
|
+
$ sudo gem install hpricot
|
12
|
+
|
13
|
+
== Dependencies
|
14
|
+
|
15
|
+
Hpricot 0.6.164 (also available for JRuby)
|
11
16
|
|
12
17
|
== An example
|
13
18
|
|
@@ -32,6 +37,7 @@ Let's assume you receive the following SOAP response message:
|
|
32
37
|
|
33
38
|
Just pass in the raw XML string like this:
|
34
39
|
|
40
|
+
require 'rubygems'
|
35
41
|
require 'apricoteatsgorilla'
|
36
42
|
hash = ApricotEatsGorilla.soap_response_to_hash(xml)
|
37
43
|
|
@@ -53,3 +59,7 @@ And it gets converted into a nice little hash:
|
|
53
59
|
* All attributes are ignored and won't be included in the hash.
|
54
60
|
* The value of empty element nodes will be nil.
|
55
61
|
* Values of "true" or "false" will be converted to boolean objects.
|
62
|
+
|
63
|
+
== For more information
|
64
|
+
|
65
|
+
Take a look at the tests to see some more examples.
|
data/lib/apricoteatsgorilla.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smacks-apricoteatsgorilla
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Harrington
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
version_requirement:
|
19
19
|
version_requirements: !ruby/object:Gem::Requirement
|
20
20
|
requirements:
|
21
|
-
- - "
|
21
|
+
- - "="
|
22
22
|
- !ruby/object:Gem::Version
|
23
23
|
version: 0.6.164
|
24
24
|
version:
|