superset 0.2.6 → 0.3.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 +4 -4
- data/.rubocop.yml +1 -1
- data/.ruby-version +1 -1
- data/CHANGELOG.md +16 -0
- data/Dockerfile +2 -2
- data/README.md +6 -3
- data/doc/duplicate_dashboards.md +45 -6
- data/lib/superset/base_put_request.rb +4 -4
- data/lib/superset/chart/bulk_delete.rb +1 -1
- data/lib/superset/chart/delete.rb +1 -1
- data/lib/superset/chart/get.rb +7 -11
- data/lib/superset/chart/list.rb +5 -5
- data/lib/superset/chart/put.rb +2 -2
- data/lib/superset/dashboard/bulk_delete.rb +1 -1
- data/lib/superset/dashboard/cascade_ownership/add_new_owner.rb +54 -0
- data/lib/superset/dashboard/datasets/list.rb +15 -15
- data/lib/superset/dashboard/delete.rb +1 -1
- data/lib/superset/dashboard/list.rb +35 -9
- data/lib/superset/dashboard/put.rb +7 -24
- data/lib/superset/dashboard/warm_up_cache.rb +1 -1
- data/lib/superset/database/get_catalogs.rb +38 -0
- data/lib/superset/database/list.rb +2 -2
- data/lib/superset/dataset/bulk_delete.rb +1 -1
- data/lib/superset/dataset/delete.rb +1 -1
- data/lib/superset/dataset/get.rb +8 -4
- data/lib/superset/dataset/list.rb +2 -2
- data/lib/superset/dataset/put.rb +2 -2
- data/lib/superset/dataset/update_schema.rb +4 -2
- data/lib/superset/display.rb +19 -10
- data/lib/superset/request.rb +6 -4
- data/lib/superset/security/permissions_resources/list.rb +2 -2
- data/lib/superset/security/user/list.rb +2 -2
- data/lib/superset/services/duplicate_dashboard.rb +72 -26
- data/lib/superset/services/import_dashboard_across_environment.rb +3 -0
- data/lib/superset/tag/add_to_object.rb +5 -5
- data/lib/superset/tag/list.rb +1 -1
- data/lib/superset/version.rb +1 -1
- data/superset.gemspec +12 -13
- metadata +63 -65
metadata
CHANGED
|
@@ -1,43 +1,28 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: superset
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jbat
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: dotenv
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - "~>"
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '2.7'
|
|
20
|
-
type: :runtime
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - "~>"
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '2.7'
|
|
27
12
|
- !ruby/object:Gem::Dependency
|
|
28
13
|
name: json
|
|
29
14
|
requirement: !ruby/object:Gem::Requirement
|
|
30
15
|
requirements:
|
|
31
|
-
- - "
|
|
16
|
+
- - ">="
|
|
32
17
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '2.
|
|
18
|
+
version: '2.0'
|
|
34
19
|
type: :runtime
|
|
35
20
|
prerelease: false
|
|
36
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
22
|
requirements:
|
|
38
|
-
- - "
|
|
23
|
+
- - ">="
|
|
39
24
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '2.
|
|
25
|
+
version: '2.0'
|
|
41
26
|
- !ruby/object:Gem::Dependency
|
|
42
27
|
name: terminal-table
|
|
43
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -53,49 +38,49 @@ dependencies:
|
|
|
53
38
|
- !ruby/object:Gem::Version
|
|
54
39
|
version: '4.0'
|
|
55
40
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
41
|
+
name: require_all
|
|
57
42
|
requirement: !ruby/object:Gem::Requirement
|
|
58
43
|
requirements:
|
|
59
|
-
- - "
|
|
44
|
+
- - ">="
|
|
60
45
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
46
|
+
version: '3.0'
|
|
62
47
|
type: :runtime
|
|
63
48
|
prerelease: false
|
|
64
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
50
|
requirements:
|
|
66
|
-
- - "
|
|
51
|
+
- - ">="
|
|
67
52
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
53
|
+
version: '3.0'
|
|
69
54
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
55
|
+
name: rubyzip
|
|
71
56
|
requirement: !ruby/object:Gem::Requirement
|
|
72
57
|
requirements:
|
|
73
|
-
- - "
|
|
58
|
+
- - ">="
|
|
74
59
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '3
|
|
60
|
+
version: '1.3'
|
|
76
61
|
type: :runtime
|
|
77
62
|
prerelease: false
|
|
78
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
64
|
requirements:
|
|
80
|
-
- - "
|
|
65
|
+
- - ">="
|
|
81
66
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '3
|
|
67
|
+
version: '1.3'
|
|
83
68
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name:
|
|
69
|
+
name: faraday
|
|
85
70
|
requirement: !ruby/object:Gem::Requirement
|
|
86
71
|
requirements:
|
|
87
72
|
- - "~>"
|
|
88
73
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '
|
|
74
|
+
version: '1.0'
|
|
90
75
|
type: :runtime
|
|
91
76
|
prerelease: false
|
|
92
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
78
|
requirements:
|
|
94
79
|
- - "~>"
|
|
95
80
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '
|
|
81
|
+
version: '1.0'
|
|
97
82
|
- !ruby/object:Gem::Dependency
|
|
98
|
-
name:
|
|
83
|
+
name: faraday-multipart
|
|
99
84
|
requirement: !ruby/object:Gem::Requirement
|
|
100
85
|
requirements:
|
|
101
86
|
- - "~>"
|
|
@@ -109,90 +94,103 @@ dependencies:
|
|
|
109
94
|
- !ruby/object:Gem::Version
|
|
110
95
|
version: '1.0'
|
|
111
96
|
- !ruby/object:Gem::Dependency
|
|
112
|
-
name:
|
|
97
|
+
name: enumerate_it
|
|
113
98
|
requirement: !ruby/object:Gem::Requirement
|
|
114
99
|
requirements:
|
|
115
|
-
- - "
|
|
100
|
+
- - ">="
|
|
116
101
|
- !ruby/object:Gem::Version
|
|
117
|
-
version: '1.
|
|
102
|
+
version: '1.7'
|
|
118
103
|
type: :runtime
|
|
119
104
|
prerelease: false
|
|
120
105
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
106
|
requirements:
|
|
122
|
-
- - "
|
|
107
|
+
- - ">="
|
|
123
108
|
- !ruby/object:Gem::Version
|
|
124
|
-
version: '1.
|
|
109
|
+
version: '1.7'
|
|
125
110
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name:
|
|
111
|
+
name: dotenv
|
|
127
112
|
requirement: !ruby/object:Gem::Requirement
|
|
128
113
|
requirements:
|
|
129
|
-
- - "
|
|
114
|
+
- - ">="
|
|
130
115
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: '
|
|
132
|
-
type: :
|
|
116
|
+
version: '2.0'
|
|
117
|
+
type: :development
|
|
133
118
|
prerelease: false
|
|
134
119
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
120
|
requirements:
|
|
136
|
-
- - "
|
|
121
|
+
- - ">="
|
|
137
122
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: '
|
|
123
|
+
version: '2.0'
|
|
139
124
|
- !ruby/object:Gem::Dependency
|
|
140
|
-
name:
|
|
125
|
+
name: rake
|
|
141
126
|
requirement: !ruby/object:Gem::Requirement
|
|
142
127
|
requirements:
|
|
143
|
-
- - "
|
|
128
|
+
- - ">="
|
|
144
129
|
- !ruby/object:Gem::Version
|
|
145
|
-
version:
|
|
146
|
-
type: :
|
|
130
|
+
version: '13.0'
|
|
131
|
+
type: :development
|
|
147
132
|
prerelease: false
|
|
148
133
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
134
|
requirements:
|
|
150
|
-
- - "
|
|
135
|
+
- - ">="
|
|
151
136
|
- !ruby/object:Gem::Version
|
|
152
|
-
version:
|
|
137
|
+
version: '13.0'
|
|
153
138
|
- !ruby/object:Gem::Dependency
|
|
154
139
|
name: rspec
|
|
155
140
|
requirement: !ruby/object:Gem::Requirement
|
|
156
141
|
requirements:
|
|
157
|
-
- - "
|
|
142
|
+
- - ">="
|
|
158
143
|
- !ruby/object:Gem::Version
|
|
159
144
|
version: '3.0'
|
|
160
145
|
type: :development
|
|
161
146
|
prerelease: false
|
|
162
147
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
148
|
requirements:
|
|
164
|
-
- - "
|
|
149
|
+
- - ">="
|
|
165
150
|
- !ruby/object:Gem::Version
|
|
166
151
|
version: '3.0'
|
|
167
152
|
- !ruby/object:Gem::Dependency
|
|
168
153
|
name: rubocop
|
|
169
154
|
requirement: !ruby/object:Gem::Requirement
|
|
170
155
|
requirements:
|
|
171
|
-
- - "
|
|
156
|
+
- - ">="
|
|
172
157
|
- !ruby/object:Gem::Version
|
|
173
|
-
version: '1.
|
|
158
|
+
version: '1.0'
|
|
174
159
|
type: :development
|
|
175
160
|
prerelease: false
|
|
176
161
|
version_requirements: !ruby/object:Gem::Requirement
|
|
177
162
|
requirements:
|
|
178
|
-
- - "
|
|
163
|
+
- - ">="
|
|
179
164
|
- !ruby/object:Gem::Version
|
|
180
|
-
version: '1.
|
|
165
|
+
version: '1.0'
|
|
181
166
|
- !ruby/object:Gem::Dependency
|
|
182
167
|
name: pry
|
|
183
168
|
requirement: !ruby/object:Gem::Requirement
|
|
184
169
|
requirements:
|
|
185
|
-
- - "
|
|
170
|
+
- - ">="
|
|
186
171
|
- !ruby/object:Gem::Version
|
|
187
172
|
version: '0.14'
|
|
188
173
|
type: :development
|
|
189
174
|
prerelease: false
|
|
190
175
|
version_requirements: !ruby/object:Gem::Requirement
|
|
191
176
|
requirements:
|
|
192
|
-
- - "
|
|
177
|
+
- - ">="
|
|
193
178
|
- !ruby/object:Gem::Version
|
|
194
179
|
version: '0.14'
|
|
195
|
-
|
|
180
|
+
- !ruby/object:Gem::Dependency
|
|
181
|
+
name: rollbar
|
|
182
|
+
requirement: !ruby/object:Gem::Requirement
|
|
183
|
+
requirements:
|
|
184
|
+
- - ">="
|
|
185
|
+
- !ruby/object:Gem::Version
|
|
186
|
+
version: '3.0'
|
|
187
|
+
type: :development
|
|
188
|
+
prerelease: false
|
|
189
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
190
|
+
requirements:
|
|
191
|
+
- - ">="
|
|
192
|
+
- !ruby/object:Gem::Version
|
|
193
|
+
version: '3.0'
|
|
196
194
|
email:
|
|
197
195
|
- jonathon.batson@gmail.com
|
|
198
196
|
executables: []
|
|
@@ -233,6 +231,7 @@ files:
|
|
|
233
231
|
- lib/superset/credential/embedded_user.rb
|
|
234
232
|
- lib/superset/dashboard/bulk_delete.rb
|
|
235
233
|
- lib/superset/dashboard/bulk_delete_cascade.rb
|
|
234
|
+
- lib/superset/dashboard/cascade_ownership/add_new_owner.rb
|
|
236
235
|
- lib/superset/dashboard/charts/list.rb
|
|
237
236
|
- lib/superset/dashboard/compare.rb
|
|
238
237
|
- lib/superset/dashboard/copy.rb
|
|
@@ -249,6 +248,7 @@ files:
|
|
|
249
248
|
- lib/superset/dashboard/warm_up_cache.rb
|
|
250
249
|
- lib/superset/database/export.rb
|
|
251
250
|
- lib/superset/database/get.rb
|
|
251
|
+
- lib/superset/database/get_catalogs.rb
|
|
252
252
|
- lib/superset/database/get_schemas.rb
|
|
253
253
|
- lib/superset/database/list.rb
|
|
254
254
|
- lib/superset/dataset/bulk_delete.rb
|
|
@@ -292,7 +292,6 @@ homepage: https://github.com/rdytech/superset-client
|
|
|
292
292
|
licenses:
|
|
293
293
|
- MIT
|
|
294
294
|
metadata: {}
|
|
295
|
-
post_install_message:
|
|
296
295
|
rdoc_options: []
|
|
297
296
|
require_paths:
|
|
298
297
|
- lib
|
|
@@ -300,15 +299,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
300
299
|
requirements:
|
|
301
300
|
- - ">="
|
|
302
301
|
- !ruby/object:Gem::Version
|
|
303
|
-
version:
|
|
302
|
+
version: '3'
|
|
304
303
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
305
304
|
requirements:
|
|
306
305
|
- - ">="
|
|
307
306
|
- !ruby/object:Gem::Version
|
|
308
307
|
version: '0'
|
|
309
308
|
requirements: []
|
|
310
|
-
rubygems_version: 3.
|
|
311
|
-
signing_key:
|
|
309
|
+
rubygems_version: 3.6.7
|
|
312
310
|
specification_version: 4
|
|
313
311
|
summary: A Ruby Client for Apache Superset API
|
|
314
312
|
test_files: []
|