advantage_quickbase 0.9.1 → 0.9.2
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 +7 -0
- data/lib/table.rb +7 -0
- metadata +8 -12
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: fd366c3a279fcb2861f93f8c890dc99df62f452e
|
|
4
|
+
data.tar.gz: 4dd90cbfd622ceee2304e0bdbdbca94338754ba7
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: d377c102f5fbe0921e325ef2bc16516433e0825f8686982108ed84ad01da9b5f20b4890c09d5db6b8c74f5b3a9135eaefc5018726c11c6581f544cd7938ec0f7
|
|
7
|
+
data.tar.gz: db0844aff222c011a89e341967c01244b3da818fadc2637d3a756255bc39931e3fd3ccef4ab85143163dfa95b36ed3fd38c464ea3997a13c528400b6050d0c85
|
data/lib/table.rb
CHANGED
|
@@ -22,6 +22,13 @@ module AdvantageQuickbase
|
|
|
22
22
|
}
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
def get_key(db_id)
|
|
26
|
+
result = send_request( :doQuery, db_id, { :options => "num-1", :fmt => "structured" } )
|
|
27
|
+
|
|
28
|
+
table = result.css('table')
|
|
29
|
+
key = get_tag_value(table, :key_fid) || "3"
|
|
30
|
+
end
|
|
31
|
+
|
|
25
32
|
def get_role_info(db_id)
|
|
26
33
|
roles = []
|
|
27
34
|
result = send_request( :GetRoleInfo, db_id, {})
|
metadata
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: advantage_quickbase
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.9.
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.9.2
|
|
6
5
|
platform: ruby
|
|
7
6
|
authors:
|
|
8
7
|
- Ben Roux
|
|
@@ -14,17 +13,15 @@ dependencies:
|
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: nokogiri
|
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
|
17
|
-
none: false
|
|
18
16
|
requirements:
|
|
19
|
-
- -
|
|
17
|
+
- - '>='
|
|
20
18
|
- !ruby/object:Gem::Version
|
|
21
19
|
version: '0'
|
|
22
20
|
type: :runtime
|
|
23
21
|
prerelease: false
|
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
|
-
none: false
|
|
26
23
|
requirements:
|
|
27
|
-
- -
|
|
24
|
+
- - '>='
|
|
28
25
|
- !ruby/object:Gem::Version
|
|
29
26
|
version: '0'
|
|
30
27
|
description: Fast, concise implementation of select Quickbase API functions
|
|
@@ -39,26 +36,25 @@ files:
|
|
|
39
36
|
homepage: https://github.com/AdvantageIntegratedSolutions/Quickbase-Gem
|
|
40
37
|
licenses:
|
|
41
38
|
- MIT
|
|
39
|
+
metadata: {}
|
|
42
40
|
post_install_message:
|
|
43
41
|
rdoc_options: []
|
|
44
42
|
require_paths:
|
|
45
43
|
- lib
|
|
46
44
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
47
|
-
none: false
|
|
48
45
|
requirements:
|
|
49
|
-
- -
|
|
46
|
+
- - '>='
|
|
50
47
|
- !ruby/object:Gem::Version
|
|
51
48
|
version: '0'
|
|
52
49
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
|
-
none: false
|
|
54
50
|
requirements:
|
|
55
|
-
- -
|
|
51
|
+
- - '>='
|
|
56
52
|
- !ruby/object:Gem::Version
|
|
57
53
|
version: '0'
|
|
58
54
|
requirements: []
|
|
59
55
|
rubyforge_project:
|
|
60
|
-
rubygems_version:
|
|
56
|
+
rubygems_version: 2.2.2
|
|
61
57
|
signing_key:
|
|
62
|
-
specification_version:
|
|
58
|
+
specification_version: 4
|
|
63
59
|
summary: Quickbase API gem
|
|
64
60
|
test_files: []
|