basecamp 0.0.7 → 0.0.8

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.
Files changed (2) hide show
  1. data/lib/basecamp/base.rb +1 -1
  2. metadata +4 -4
@@ -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: 17
4
+ hash: 15
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 7
10
- version: 0.0.7
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: 2011-11-23 00:00:00 -03:00
19
+ date: 2012-01-10 00:00:00 -03:00
20
20
  default_executable:
21
21
  dependencies:
22
22
  - !ruby/object:Gem::Dependency