tableau_server_client 0.4.3 → 0.4.4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a9fcfc2f4fb4ee9d576bc4049b462fa7127c3a12116f1b789a0ca65839311960
|
|
4
|
+
data.tar.gz: 9769ba75f0c2f1e70314cd92296fbedeb24d2a255f2dd060310e970f83ad77ba
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c286496bc37d8d01a1d9871b6b4f30e1c7d4abba5287173bc89874c106259baeddb0399a3627fa554f7a5143096a47afea21f225782fc7f7a1bdd5e282a78387
|
|
7
|
+
data.tar.gz: a35dc1650c7b3806c031580a2f720542b7d7b936f3eebdd90d916cc50cd2fed52b0451c29d50e70edc67440fcd7744960b5020413a5bc93972690e0deb2884f8
|
data/CHANGELOG.md
ADDED
|
@@ -9,7 +9,7 @@ module TableauServerClient
|
|
|
9
9
|
class Datasource < Resource
|
|
10
10
|
include Downloadable
|
|
11
11
|
|
|
12
|
-
attr_reader :id, :name, :webpage_url, :content_url, :type, :created_at, :updated_at, :is_certified
|
|
12
|
+
attr_reader :id, :name, :webpage_url, :content_url, :type, :created_at, :updated_at, :is_certified, :project_id, :owner_id
|
|
13
13
|
attr_writer :owner
|
|
14
14
|
|
|
15
15
|
def self.from_response(client, path, xml)
|
|
@@ -16,7 +16,7 @@ module TableauServerClient
|
|
|
16
16
|
|
|
17
17
|
def self.from_response(client, path, xml)
|
|
18
18
|
attrs = extract_attributes(xml)
|
|
19
|
-
attrs['project_id'] = xml.
|
|
19
|
+
attrs['project_id'] = xml.at_xpath("xmlns:project")&.[]('id')
|
|
20
20
|
attrs['owner_id'] = xml.xpath("xmlns:owner")[0]['id']
|
|
21
21
|
attrs['tags'] = xml.xpath("xmlns:tags/xmlns:tag").map {|t| t['label'] }
|
|
22
22
|
new(client, path, attrs)
|
|
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{Tableau Server REST API Client}
|
|
13
13
|
spec.description = %q{REST API Client for Tableau Server.}
|
|
14
|
-
spec.homepage = "https://github.com/
|
|
14
|
+
spec.homepage = "https://github.com/cookpad/tableau-server-client"
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
|
17
17
|
spec.files = `git ls-files -z`.split("\x0").reject do |f|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tableau_server_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- shimpeko
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2022-07-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -131,6 +131,7 @@ extensions: []
|
|
|
131
131
|
extra_rdoc_files: []
|
|
132
132
|
files:
|
|
133
133
|
- ".gitignore"
|
|
134
|
+
- CHANGELOG.md
|
|
134
135
|
- Gemfile
|
|
135
136
|
- README.md
|
|
136
137
|
- Rakefile
|
|
@@ -159,11 +160,11 @@ files:
|
|
|
159
160
|
- lib/tableau_server_client/token.rb
|
|
160
161
|
- lib/tableau_server_client/version.rb
|
|
161
162
|
- tableau_server_client.gemspec
|
|
162
|
-
homepage: https://github.com/
|
|
163
|
+
homepage: https://github.com/cookpad/tableau-server-client
|
|
163
164
|
licenses:
|
|
164
165
|
- MIT
|
|
165
166
|
metadata: {}
|
|
166
|
-
post_install_message:
|
|
167
|
+
post_install_message:
|
|
167
168
|
rdoc_options: []
|
|
168
169
|
require_paths:
|
|
169
170
|
- lib
|
|
@@ -178,8 +179,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
178
179
|
- !ruby/object:Gem::Version
|
|
179
180
|
version: '0'
|
|
180
181
|
requirements: []
|
|
181
|
-
rubygems_version: 3.
|
|
182
|
-
signing_key:
|
|
182
|
+
rubygems_version: 3.3.8
|
|
183
|
+
signing_key:
|
|
183
184
|
specification_version: 4
|
|
184
185
|
summary: Tableau Server REST API Client
|
|
185
186
|
test_files: []
|