tableau_api 6.0.1 → 6.2.0

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: d4e1eef7b397fdefeb4c53dbc64d445e9f492aeb6e395cce9f1ec28064ac2f3c
4
- data.tar.gz: 0b6864d1ced412ce59ef4b2de619aedbf7ed87ea0fd23538beb2c600faa76ff0
3
+ metadata.gz: f6d5bc96087d55f22ab549c29b6e798bf98b4a0918230f428a5665ae4ee5f411
4
+ data.tar.gz: 374d337472e4e277082ccc71fbe3f9d8558913d02733d435f9e8e3927eb04b70
5
5
  SHA512:
6
- metadata.gz: 29c34be961ba92baa80aae788f994d3306cc3b8b3aed4aec9edee4ef691ad1c1d2cb0553b84983db7d9f9db0a5c85f7cae66b5867b4f258f47849c97be760500
7
- data.tar.gz: 3351f0921a4c35d6070df6f4d091d417984ad6d3e143565bbb42b7c5b1fa8de6c4d5b9ca1410a01d4e8b0f2369c654d639f4bb34271fde12c935c5d37aecdd0f
6
+ metadata.gz: d1f88fb7f38f2889eac103d5f5e5cce2c502cdc8ba71eeb9a31f91f0f4263606d3b418e32ba4873d1efe1e35741a0bd43cab61cba0a80ab3b18ebb89c97b032a
7
+ data.tar.gz: 5d83a3d927aa89895902add27b332ee8ec670781060bb227bb44611e8e520eeb46cafe68c83f50f3b4f4e72ce2ea8fba2aeb11a88579b2342e6b39ab634cfbe5
data/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project adheres to [Semantic Versioning](http://semver.org/).
5
5
 
6
+ ## [6.2.0] - 2026-10-21
7
+
8
+ - Added `Users#delete` to remove a user from a site
9
+
10
+ ## [6.1.0] - 2026-10-15
11
+
12
+ - Added support for the Connect, ExtractRefresh, and VizqlDataApiAccess workbook capabilities
13
+
6
14
  ## [6.0.1] - 2026-10-12
7
15
 
8
16
  - Bumped httparty to ~> 0.24 to address a potential SSRF vulnerability that could leak API keys (httparty <= 0.23.2)
@@ -48,6 +48,13 @@ module TableauApi
48
48
 
49
49
  res['tsResponse']['user'] if res.code == 200
50
50
  end
51
+
52
+ def delete(user_id:)
53
+ res = @client.connection.api_delete("sites/#{@client.auth.site_id}/users/#{user_id}")
54
+ return true if res.code == 204
55
+
56
+ raise TableauError, res
57
+ end
51
58
  end
52
59
  end
53
60
  end
@@ -53,8 +53,9 @@ module TableauApi
53
53
  # rubocop:enable Metrics/ParameterLists
54
54
 
55
55
  CAPABILITIES = %w[
56
- AddComment ChangeHierarchy ChangePermissions CreateRefreshMetrics Delete ExportData ExportImage
57
- ExportXml Filter Read RunExplainData ShareView ViewComments ViewUnderlyingData WebAuthoring Write
56
+ AddComment ChangeHierarchy ChangePermissions Connect CreateRefreshMetrics Delete ExportData ExportImage
57
+ ExportXml ExtractRefresh Filter Read RunExplainData ShareView ViewComments ViewUnderlyingData
58
+ VizqlDataApiAccess WebAuthoring Write
58
59
  ].freeze
59
60
 
60
61
  CAPABILITY_MODES = %w[ALLOW DENY].freeze
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module TableauApi
4
- VERSION = '6.0.1'
4
+ VERSION = '6.2.0'
5
5
  end
metadata CHANGED
@@ -1,15 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tableau_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.0.1
4
+ version: 6.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Manning
8
8
  - Matt Brennan
9
9
  - Jonathan Cobian
10
+ autorequire:
10
11
  bindir: exe
11
12
  cert_chain: []
12
- date: 1980-01-02 00:00:00.000000000 Z
13
+ date: 2026-11-10 00:00:00.000000000 Z
13
14
  dependencies:
14
15
  - !ruby/object:Gem::Dependency
15
16
  name: builder
@@ -193,6 +194,7 @@ dependencies:
193
194
  - - "~>"
194
195
  - !ruby/object:Gem::Version
195
196
  version: '3.0'
197
+ description:
196
198
  email:
197
199
  - opensource@civisanalytics.com
198
200
  executables: []
@@ -236,6 +238,7 @@ licenses:
236
238
  - BSD-3-Clause
237
239
  metadata:
238
240
  rubygems_mfa_required: 'true'
241
+ post_install_message:
239
242
  rdoc_options: []
240
243
  require_paths:
241
244
  - lib
@@ -250,7 +253,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
250
253
  - !ruby/object:Gem::Version
251
254
  version: '0'
252
255
  requirements: []
253
- rubygems_version: 3.6.9
256
+ rubygems_version: 3.5.22
257
+ signing_key:
254
258
  specification_version: 4
255
259
  summary: Ruby interface to the Tableau API.
256
260
  test_files: []