quickbase_client 1.0.13 → 1.0.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1018,7 +1018,7 @@ class Client
1018
1018
  # Returns whether a given string represents a valid QuickBase field type.
1019
1019
  def isValidFieldType?( type )
1020
1020
  @validFieldTypes ||= %w{ checkbox dblink date duration email file fkey float formula currency
1021
- lookup phone percent rating recordid text timeofday timestamp url userid icalendarbutton }
1021
+ lookup multiuserid phone percent rating recordid text timeofday timestamp url userid icalendarbutton }
1022
1022
  @validFieldTypes.include?( type )
1023
1023
  end
1024
1024
 
@@ -3219,9 +3219,9 @@ class Client
3219
3219
  # To delete ALL records, call deleteRecords() with no parameters. This is the
3220
3220
  # same as calling _purgeRecords.
3221
3221
  def deleteRecords( fieldNameToTest = nil, test = nil, fieldValueToTest = nil)
3222
+ numRecsDeleted = 0
3222
3223
  if @dbid and @fields and fieldNameToTest and test and fieldValueToTest
3223
3224
 
3224
- numRecsDeleted = 0
3225
3225
  numRecs = _getNumRecords
3226
3226
 
3227
3227
  if numRecs > "0"
data/lib/QuickBaseMisc.rb CHANGED
@@ -91,6 +91,14 @@ module QuickBase
91
91
  end
92
92
  ret
93
93
  end
94
+
95
+ def Misc.listUserToArray(listUser)
96
+ listUser.split(/;/)
97
+ end
98
+
99
+ def Misc.arrayToListUser(array)
100
+ array.join(";")
101
+ end
94
102
 
95
103
  end
96
104
  end
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.13
4
+ version: 1.0.14
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-10 00:00:00.000000000Z
12
+ date: 2011-05-15 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
@@ -24,9 +24,9 @@ files:
24
24
  - .yardopts
25
25
  - LICENSE
26
26
  - README.rdoc
27
- - lib/quickbase_client.rb
28
27
  - lib/QuickBaseClient.rb
29
28
  - lib/QuickBaseMisc.rb
29
+ - lib/quickbase_client.rb
30
30
  homepage: https://code.intuit.com/sf/projects/ipp_dev_kits
31
31
  licenses: []
32
32
  post_install_message:
@@ -39,6 +39,7 @@ rdoc_options:
39
39
  - ! 'quickbase: Ruby client for database applications on www.quickbase.com'
40
40
  - lib/QuickBaseClient.rb
41
41
  - lib/QuickBaseMisc.rb
42
+ - lib/quickbase_client.rb
42
43
  require_paths:
43
44
  - lib
44
45
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -55,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
56
  version: '0'
56
57
  requirements: []
57
58
  rubyforge_project: orphans
58
- rubygems_version: 1.8.1
59
+ rubygems_version: 1.8.4
59
60
  signing_key:
60
61
  specification_version: 3
61
62
  summary: Ruby wrapper for the QuickBase HTTP API. This is a minimal subset of the