quickbase_client 1.0.25 → 1.0.26

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGES +2 -0
  3. data/README.rdoc +4 -6
  4. data/lib/QuickBaseClient.rb +11 -0
  5. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 714fce187692d8bb1b7cf91484a8c51da434b657
4
- data.tar.gz: 2c5e045b86ca2413d648f05aaa90a9816e81f26a
2
+ SHA256:
3
+ metadata.gz: a6c94be59ceb86f97e4ad58a141019e7b4ce020804076abe8ce83c521e436573
4
+ data.tar.gz: 44a96bcdee61b2000d72e08b5c69b92e58481401450bc57739b33b0dc6bc239e
5
5
  SHA512:
6
- metadata.gz: 0356a69b2e9e041ada7cff20eab5cea47b2307ac7d2837e94f53cc59afb5dd90a3b2f2205fc77af48f04a081c0b4b5230cce99d4c02c90fe040f1ab37736505a
7
- data.tar.gz: 7fccba5e7ee75a48d5bbad2fee098ad28f0688403dbf0eeac6a4b84365db59a91114f045a30e54a8850a438674f791a19f3d0a642880ea5585ebd240e3e444ef
6
+ metadata.gz: 23a4fc3ad31932a04945885e3a18d935a11101b5e4fb6d62e5b18c5286d81e6c2fd595595236b62f3eae1893c3d83bb10e8e362dca98b374ee770848ed02fecb
7
+ data.tar.gz: fd18772b539bd970d504fc4ae534066a86c8cbfdf4e722fd90e5cd2316aacf860f035e7cce0da86eb4db7a3267b858ece3913824da00abe245327c84eb924935
data/CHANGES CHANGED
@@ -1,5 +1,7 @@
1
1
  == Change History
2
2
 
3
+ 1.0.26 - 05/24/2017 - Restored 1.0.24 default behavior of def initialize() and added else block for 1.0.25 change.
4
+
3
5
  1.0.25 - 05/24/2017 - Merged in changes. See github.
4
6
 
5
7
  1.0.24 - 03/15/2013 - Improved getRealmForDbid(dbid)
@@ -23,11 +23,11 @@ More information about the QuickBase Client is available here -
23
23
  - QuickBase API Cookbook: https://www.quickbase.com/db/bcdcajmrf
24
24
  - Github: https://github.com/garethlatwork/quickbase_client
25
25
  - Github: https://github.com/garethlatwork/quickbase_client_extras
26
- - Code Intuit Com: https://code.intuit.com/sf/projects/ipp_dev_kits
27
- - ipp_quickbase_devkit: https://code.intuit.com/sf/wiki/do/viewPage/projects.ipp_dev_kits/wiki/RubyDevKit
28
26
 
29
27
  == Change History
30
28
 
29
+ 1.0.26 - 10/02/2019 - Restored 1.0.24 behavior of def initialize(), added else block for 1.0.25 change.
30
+
31
31
  1.0.25 - 05/24/2017 - Merged in changes. See github.
32
32
 
33
33
  1.0.24 - 03/15/2013 - Improved getRealmForDbid(dbid)
@@ -52,17 +52,15 @@ More information about the QuickBase Client is available here -
52
52
 
53
53
  1.0.14 - 05/29/2011 - Added support for new List-User field type.
54
54
 
55
- 1.0.13 - 05/10/2011 - Added getRecords(): get an array of records using record ids.
56
-
57
55
  See CHANGES file for earlier updates.
58
56
 
59
57
  == Questions?
60
58
 
61
- Please submit questions, feedback, suggestions on Intuit's Community Forum at https://quickbase-community-e2e.intuit.com .
59
+ Please submit questions, feedback, suggestions on Intuit's Community Forum at https://community.quickbase.com/home .
62
60
 
63
61
  == License
64
62
 
65
- Copyright (c) 2009-2013 Gareth Lewis
63
+ Copyright (c) 2009-2019 Gareth Lewis
66
64
 
67
65
  All rights reserved. This program and the accompanying materials
68
66
  are made available under the terms of the Eclipse Public License v1.0
@@ -106,12 +106,23 @@ class Client
106
106
  setHTTPConnectionAndqbhost( useSSL, org, domain, proxy_options )
107
107
  debugHTTPConnection() if debugHTTPConnection
108
108
  @standardRequestHeaders = { "Content-Type" => "application/xml" }
109
+ if username and password
110
+ authenticate( username, password )
109
111
  if appname and @errcode == "0"
110
112
  findDBByname( appname )
111
113
  if @dbid and @errcode == "0"
112
114
  getDBInfo( @dbid )
113
115
  getSchema( @dbid )
114
116
  end
117
+ end
118
+ else
119
+ if appname and @errcode == "0"
120
+ findDBByname( appname )
121
+ if @dbid and @errcode == "0"
122
+ getDBInfo( @dbid )
123
+ getSchema( @dbid )
124
+ end
125
+ end
115
126
  end
116
127
  rescue Net::HTTPBadRequest => @lastError
117
128
  rescue Net::HTTPBadResponse => @lastError
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quickbase_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.25
4
+ version: 1.0.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gareth Lewis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-24 00:00:00.000000000 Z
11
+ date: 2019-10-02 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Wraps the QuickBase HTTP API and adds classes and methods to minimize
14
14
  the amount of code needed to get useful things done.
@@ -54,8 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
54
54
  - !ruby/object:Gem::Version
55
55
  version: '0'
56
56
  requirements: []
57
- rubyforge_project: orphans
58
- rubygems_version: 2.6.12
57
+ rubygems_version: 3.0.6
59
58
  signing_key:
60
59
  specification_version: 4
61
60
  summary: Ruby wrapper for the QuickBase HTTP API.