aq1018-rforce 0.5.1 → 0.5.2
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/.gitignore +1 -2
- data/VERSION +1 -1
- data/aq1018-rforce.gemspec +2 -2
- data/lib/rforce/binding.rb +2 -1
- metadata +3 -3
data/.gitignore
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.2
|
data/aq1018-rforce.gemspec
CHANGED
|
@@ -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.
|
|
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-
|
|
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 = [
|
data/lib/rforce/binding.rb
CHANGED
|
@@ -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
|
-
-
|
|
9
|
-
version: 0.5.
|
|
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-
|
|
20
|
+
date: 2010-12-13 00:00:00 -08:00
|
|
21
21
|
default_executable:
|
|
22
22
|
dependencies:
|
|
23
23
|
- !ruby/object:Gem::Dependency
|