quickbase_client 1.0.14 → 1.0.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.rdoc +4 -0
  2. data/lib/QuickBaseClient.rb +4 -4
  3. metadata +3 -3
@@ -29,6 +29,10 @@ More information about the QuickBase Client is available here -
29
29
 
30
30
  == Change History
31
31
 
32
+ 1.0.15 - 06/02/2011 - Fixed downloadFile problem caused by httpclient update.
33
+
34
+ 1.0.14 - 05/29/2011 - Added support for new List-User field type.
35
+
32
36
  1.0.13 - 05/10/2011 - Added getRecords(): get an array of records using record ids.
33
37
 
34
38
  1.0.12 - 05/08/2011 - Added findRecords and find_records getFilteredRecords aliases.
@@ -2134,13 +2134,13 @@ class Client
2134
2134
  begin
2135
2135
 
2136
2136
  if USING_HTTPCLIENT
2137
- response = @httpConnection.get( @downLoadFileURL, nil, @requestHeaders )
2138
- @responseCode = response.status
2139
- @fileContents = response.body.content if response.body
2137
+ @responseCode = 404
2138
+ @fileContents = @httpConnection.get_content( @downLoadFileURL, nil, @requestHeaders )
2139
+ @responseCode = 200 if @fileContents
2140
2140
  else
2141
2141
  @responseCode, @fileContents = @httpConnection.get( @downLoadFileURL, @requestHeaders )
2142
2142
  end
2143
-
2143
+
2144
2144
  rescue Net::HTTPBadResponse => @lastError
2145
2145
  rescue Net::HTTPHeaderSyntaxError => @lastError
2146
2146
  rescue StandardError => @lastError
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quickbase_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-05-15 00:00:00.000000000Z
12
+ date: 2011-06-02 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: Wraps the QuickBase HTTP API and adds classes and methods to minimize
15
15
  the amount of code need to get useful things done. This is a minimal subset of the
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project: orphans
59
- rubygems_version: 1.8.4
59
+ rubygems_version: 1.8.5
60
60
  signing_key:
61
61
  specification_version: 3
62
62
  summary: Ruby wrapper for the QuickBase HTTP API. This is a minimal subset of the