aq1018-rforce 0.5.1 → 0.5.2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -1,3 +1,2 @@
1
1
  .DS_Store
2
- rforce.tmproj
3
-
2
+ pkg
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.1
1
+ 0.5.2
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{aq1018-rforce}
8
- s.version = "0.5.1"
8
+ s.version = "0.5.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ian Dees", "Logan (henriquez)", "Aaron Qian", "Moritz Heidkamp"]
12
- s.date = %q{2010-12-02}
12
+ s.date = %q{2010-12-13}
13
13
  s.description = %q{Rather than enforcing adherence to the sforce.com schema, RForce assumes you are familiar with the API. Ruby method names become SOAP method names. Nested Ruby hashes become nested XML elements.}
14
14
  s.email = %q{aq1018@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -239,9 +239,10 @@ module RForce
239
239
  def encode(request)
240
240
  return request if show_debug
241
241
  begin
242
- ostream = StringIO.new
242
+ ostream = StringIO.new("", "w:BINARY")
243
243
  gzw = Zlib::GzipWriter.new(ostream)
244
244
  gzw.write(request)
245
+ gzw.flush
245
246
  ostream.string
246
247
  ensure
247
248
  gzw.close
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 1
9
- version: 0.5.1
8
+ - 2
9
+ version: 0.5.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ian Dees
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-12-02 00:00:00 -08:00
20
+ date: 2010-12-13 00:00:00 -08:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency