quickbase_client 1.0.25 → 1.0.26
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.
- checksums.yaml +5 -5
- data/CHANGES +2 -0
- data/README.rdoc +4 -6
- data/lib/QuickBaseClient.rb +11 -0
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a6c94be59ceb86f97e4ad58a141019e7b4ce020804076abe8ce83c521e436573
|
4
|
+
data.tar.gz: 44a96bcdee61b2000d72e08b5c69b92e58481401450bc57739b33b0dc6bc239e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23a4fc3ad31932a04945885e3a18d935a11101b5e4fb6d62e5b18c5286d81e6c2fd595595236b62f3eae1893c3d83bb10e8e362dca98b374ee770848ed02fecb
|
7
|
+
data.tar.gz: fd18772b539bd970d504fc4ae534066a86c8cbfdf4e722fd90e5cd2316aacf860f035e7cce0da86eb4db7a3267b858ece3913824da00abe245327c84eb924935
|
data/CHANGES
CHANGED
data/README.rdoc
CHANGED
@@ -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://
|
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-
|
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
|
data/lib/QuickBaseClient.rb
CHANGED
@@ -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.
|
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:
|
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
|
-
|
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.
|