quickbase_client 1.0.16 → 1.0.17
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/.yardopts +4 -0
- data/CHANGES +2 -0
- data/README.rdoc +1 -17
- data/lib/QuickBaseClient.rb +6 -1
- metadata +5 -5
data/CHANGES
CHANGED
data/README.rdoc
CHANGED
@@ -45,23 +45,7 @@ More information about the QuickBase Client is available here -
|
|
45
45
|
|
46
46
|
1.0.10 - 03/27/2011 - Can now use require 'quickbase_client' instead of require 'QuickBaseClient'.
|
47
47
|
|
48
|
-
|
49
|
-
|
50
|
-
1.0.8 - 03/11/2011 - Fixed a problem with getApplicationVariables().
|
51
|
-
|
52
|
-
1.0.7 - 03/06/2011 - Fixed a problem with formatTimeOfDay().
|
53
|
-
|
54
|
-
1.0.5 - 02/22/2011 - Updated API_GetUserRole for optional inclgrps parameter.
|
55
|
-
|
56
|
-
1.0.4 - 12/24/2010 - Fixed formatDate() error.
|
57
|
-
|
58
|
-
1.0.3 - 12/07/2010 - Various small method improvements.
|
59
|
-
|
60
|
-
1.0.2 - 12/05/2010 - Added removeFileAttachment().
|
61
|
-
|
62
|
-
1.0.1 - 11/26/2010 - Will now use HTTPClient instead of Net::HTTP, if you already have HTTPClient.
|
63
|
-
|
64
|
-
1.0.0 - 11/21/2010 - First push to RubyGems.org.
|
48
|
+
See CHANGES file for earlier updates.
|
65
49
|
|
66
50
|
|
67
51
|
== Questions?
|
data/lib/QuickBaseClient.rb
CHANGED
@@ -1942,7 +1942,7 @@ class Client
|
|
1942
1942
|
def copyMasterDetail( dbid, destrid, sourcerid, copyfid = nil, recurse = nil, relfids = nil )
|
1943
1943
|
|
1944
1944
|
raise "copyfid must be specified when destrid is 0." if destrid == "0" and copyfid.nil?
|
1945
|
-
|
1945
|
+
|
1946
1946
|
@dbid, @destrid, @sourcerid, @copyfid, @recurse, @relfids = dbid, destrid, sourcerid, copyfid, recurse, relfids
|
1947
1947
|
|
1948
1948
|
xmlRequestData = toXML( :destrid, @destrid)
|
@@ -4532,6 +4532,11 @@ class Client
|
|
4532
4532
|
uploadFile( @dbid, filename, fileAttachmentFieldName )
|
4533
4533
|
end
|
4534
4534
|
|
4535
|
+
# Get the URL string for downloading a file from a File Attachment field
|
4536
|
+
def getFileDownloadURL(dbid, rid, fid, vid = "0",org="www",domain="quickbase",ssl="s")
|
4537
|
+
"http#{ssl}://#{org}.#{domain}.com/up/#{dbid}/a/r#{rid}/e#{fid}/v#{vid}"
|
4538
|
+
end
|
4539
|
+
|
4535
4540
|
# Update the file attachment in an existing record in a table.
|
4536
4541
|
# Additional field values can optionally be set.
|
4537
4542
|
# e.g. updateFile( "dhnju5y7", "6", "contacts.txt", "Contacts File", { "Notes" => "#{Time.now}" }
|
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.
|
4
|
+
version: 1.0.17
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-09-05 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Wraps the QuickBase HTTP API and adds classes and methods to minimize
|
15
|
-
the amount of code
|
16
|
-
ipp_quickbase_devkit.
|
15
|
+
the amount of code needed to get useful things done. This is a minimal subset of
|
16
|
+
the ipp_quickbase_devkit.
|
17
17
|
email:
|
18
18
|
executables: []
|
19
19
|
extensions: []
|
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
58
58
|
version: '0'
|
59
59
|
requirements: []
|
60
60
|
rubyforge_project: orphans
|
61
|
-
rubygems_version: 1.8.
|
61
|
+
rubygems_version: 1.8.10
|
62
62
|
signing_key:
|
63
63
|
specification_version: 3
|
64
64
|
summary: Ruby wrapper for the QuickBase HTTP API. This is a minimal subset of the
|