basecamp 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/basecamp/base.rb +1 -1
- metadata +4 -4
data/lib/basecamp/base.rb
CHANGED
@@ -25,7 +25,7 @@ module Basecamp
|
|
25
25
|
# Make a raw web-service request to Basecamp. This will return a Hash of
|
26
26
|
# Arrays of the response, and may seem a little odd to the uninitiated.
|
27
27
|
def request(path, parameters = {})
|
28
|
-
response = Basecamp.connection.post(path, convert_body(parameters), "Content-Type" => content_type)
|
28
|
+
response = Basecamp.connection.post(path, StringIO.new(convert_body(parameters)), "Content-Type" => content_type)
|
29
29
|
|
30
30
|
if response.code.to_i / 100 == 2
|
31
31
|
result = XmlSimple.xml_in(response.body, 'keeproot' => true, 'contentkey' => '__content__', 'forcecontent' => true)
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: basecamp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Anibal Cucco
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2012-01-10 00:00:00 -03:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|