divoxx-patronage 0.0.5 → 0.0.6
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.rdoc +1 -2
- data/VERSION +1 -1
- data/lib/patronage/response.rb +2 -1
- data/patronage.gemspec +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -28,8 +28,7 @@ Supposing there's an API in the address http://example.com/api and you want to p
|
|
28
28
|
* Fork the project.
|
29
29
|
* Make your feature addition or bug fix.
|
30
30
|
* Add tests for it. This is important so I don't break it in a future version unintentionally.
|
31
|
-
* Commit, do not mess with rakefile, version, or history (if you want to have your own version,
|
32
|
-
that is fine but bump version in a commit by itself I can ignore when I pull).
|
31
|
+
* Commit, do not mess with rakefile, version, or history (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull).
|
33
32
|
* Send me a pull request. Bonus points for topic branches.
|
34
33
|
|
35
34
|
== Copyright
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
data/lib/patronage/response.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
module Patronage
|
2
2
|
class Response
|
3
3
|
Parsers = {
|
4
|
-
/^application\/xml/ => lambda { |body| Hash.from_xml(body) }
|
4
|
+
/^application\/xml/ => lambda { |body| Hash.from_xml(body) },
|
5
|
+
/^text\/xml/ => lambda { |body| Hash.from_xml(body) },
|
5
6
|
}
|
6
7
|
|
7
8
|
def initialize(response)
|
data/patronage.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{patronage}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.6"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Rodrigo Kochenburger"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-09-19}
|
13
13
|
s.description = %q{TODO: longer description of your gem}
|
14
14
|
s.email = %q{divoxx@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: divoxx-patronage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rodrigo Kochenburger
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-09-19 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|