superset 0.5.1 → 0.5.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/RELEASING.md +32 -0
- data/lib/superset/version.rb +1 -1
- metadata +6 -10
- data/superset.gemspec +0 -61
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 063136fe3a4d039c48ce40c5cf060f212af35a3833c6d24ce9315f5465931c5d
|
|
4
|
+
data.tar.gz: 4310dc351ea932247d997ac2c2a48078c900ca7023845a1859140e4372d1cd8c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e21a7c945bfc292fe86e444b65c14c90dc6a2090554dfe3e2a9a01dd7810a4e3dcaf05aaee39a958523a2343797277163ebcc60d6ff1e3e1e6933fd0355e4a2b
|
|
7
|
+
data.tar.gz: ad56b23990af5c6823c098bcc4798bcb0dff1e2d2a02ee3f41bdec46e7ca637bf57811d0dcee2938ded9ef55c1efc5fd44cda860c9feb649f2cd39db5c941dd4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
## Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.2 - 2026-08-28
|
|
4
|
+
|
|
5
|
+
* Add tag-triggered release workflow (`.github/workflows/release.yml`) that publishes to RubyGems.org via OIDC trusted publishing and to GitHub Packages via the Actions `GITHUB_TOKEN` — no long-lived credentials stored anywhere. Refuses to publish unless the pushed tag's commit is reachable from `develop`. See `RELEASING.md` for the release steps and one-time RubyGems.org Trusted Publisher setup
|
|
6
|
+
* Loosen the `faraday` dependency from `~> 1.10` to `>= 1.10` so consumers aren't held back from newer Faraday releases
|
|
7
|
+
|
|
3
8
|
## 0.5.1 - 2026-08-27
|
|
4
9
|
|
|
5
10
|
* **Fix:** `Superset::Client` and `Superset::GuestToken` raised `NameError: uninitialized constant FaradayMiddleware::ParseJson` on every request. Both connections used `FaradayMiddleware::ParseJson`, but this gem has never declared or required `faraday_middleware` — the constant only reached the bundle transitively via happi, and happi 1.0.0 dropped it. Replaced with Faraday's own `f.response :json`, which is equivalent (same `content_type:` option, same `respond_to?(:to_str)` guard, same `Faraday::ParsingError` on bad bodies)
|
data/RELEASING.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Releasing superset
|
|
2
|
+
|
|
3
|
+
Publishing is only ever done by GitHub Actions (`.github/workflows/release.yml`), triggered by
|
|
4
|
+
a `vX.Y.Z` tag whose commit is reachable from `develop`. Tags on any other branch are rejected by
|
|
5
|
+
the workflow before anything is built. No one needs local publishing credentials — the workflow
|
|
6
|
+
authenticates to RubyGems.org via OIDC trusted publishing and to GitHub Packages via the
|
|
7
|
+
Actions-provided `GITHUB_TOKEN`.
|
|
8
|
+
|
|
9
|
+
## Cutting a release
|
|
10
|
+
|
|
11
|
+
1. Bump `Superset::VERSION` in `lib/superset/version.rb`.
|
|
12
|
+
2. Add a new `## X.Y.Z - YYYY-MM-DD` entry to the top of `CHANGELOG.md` describing the changes.
|
|
13
|
+
3. Commit both changes and get them onto `develop` (PR + merge, as normal).
|
|
14
|
+
4. From an up-to-date `develop`, tag the commit and push the tag:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
git tag vX.Y.Z
|
|
18
|
+
git push origin vX.Y.Z
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
5. Watch the "Release" workflow run in the Actions tab.
|
|
22
|
+
6. Confirm the new version shows up on [rubygems.org](https://rubygems.org/gems/superset) and on
|
|
23
|
+
[GitHub Packages](https://github.com/rdytech/superset-client/pkgs/rubygems/superset).
|
|
24
|
+
|
|
25
|
+
## One-time setup
|
|
26
|
+
|
|
27
|
+
- **RubyGems.org**: an existing owner of the `superset` gem must add a Trusted Publisher for
|
|
28
|
+
`rdytech/superset-client`, workflow `release.yml` (no environment). See
|
|
29
|
+
[Trusted Publishing: adding a publisher](https://guides.rubygems.org/trusted-publishing/adding-a-publisher/).
|
|
30
|
+
Until this is done, the "Publish to RubyGems.org" step will fail.
|
|
31
|
+
- **GitHub Packages**: nothing to configure — the workflow's `packages: write` permission is
|
|
32
|
+
sufficient.
|
data/lib/superset/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: superset
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.2
|
|
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
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: json
|
|
@@ -56,14 +55,14 @@ dependencies:
|
|
|
56
55
|
name: faraday
|
|
57
56
|
requirement: !ruby/object:Gem::Requirement
|
|
58
57
|
requirements:
|
|
59
|
-
- - "
|
|
58
|
+
- - ">="
|
|
60
59
|
- !ruby/object:Gem::Version
|
|
61
60
|
version: '1.10'
|
|
62
61
|
type: :runtime
|
|
63
62
|
prerelease: false
|
|
64
63
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
64
|
requirements:
|
|
66
|
-
- - "
|
|
65
|
+
- - ">="
|
|
67
66
|
- !ruby/object:Gem::Version
|
|
68
67
|
version: '1.10'
|
|
69
68
|
- !ruby/object:Gem::Dependency
|
|
@@ -192,7 +191,6 @@ dependencies:
|
|
|
192
191
|
- - ">="
|
|
193
192
|
- !ruby/object:Gem::Version
|
|
194
193
|
version: '0.14'
|
|
195
|
-
description:
|
|
196
194
|
email:
|
|
197
195
|
- jonathon.batson@gmail.com
|
|
198
196
|
executables: []
|
|
@@ -209,6 +207,7 @@ files:
|
|
|
209
207
|
- Dockerfile
|
|
210
208
|
- LICENSE
|
|
211
209
|
- README.md
|
|
210
|
+
- RELEASING.md
|
|
212
211
|
- Rakefile
|
|
213
212
|
- doc/duplicate_dashboards.md
|
|
214
213
|
- doc/migrating_dashboards_across_environments.md
|
|
@@ -292,12 +291,10 @@ files:
|
|
|
292
291
|
- lib/superset/tag/list.rb
|
|
293
292
|
- lib/superset/version.rb
|
|
294
293
|
- log/README.md
|
|
295
|
-
- superset.gemspec
|
|
296
294
|
homepage: https://github.com/rdytech/superset-client
|
|
297
295
|
licenses:
|
|
298
296
|
- MIT
|
|
299
297
|
metadata: {}
|
|
300
|
-
post_install_message:
|
|
301
298
|
rdoc_options: []
|
|
302
299
|
require_paths:
|
|
303
300
|
- lib
|
|
@@ -312,8 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
312
309
|
- !ruby/object:Gem::Version
|
|
313
310
|
version: '0'
|
|
314
311
|
requirements: []
|
|
315
|
-
rubygems_version: 3.
|
|
316
|
-
signing_key:
|
|
312
|
+
rubygems_version: 3.6.9
|
|
317
313
|
specification_version: 4
|
|
318
314
|
summary: A Ruby Client for Apache Superset API
|
|
319
315
|
test_files: []
|
data/superset.gemspec
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require_relative "lib/superset/version"
|
|
4
|
-
|
|
5
|
-
Gem::Specification.new do |spec|
|
|
6
|
-
spec.name = "superset"
|
|
7
|
-
spec.version = Superset::VERSION
|
|
8
|
-
spec.authors = ["jbat"]
|
|
9
|
-
spec.email = ["jonathon.batson@gmail.com"]
|
|
10
|
-
|
|
11
|
-
spec.summary = "A Ruby Client for Apache Superset API"
|
|
12
|
-
spec.homepage = "https://github.com/rdytech/superset-client"
|
|
13
|
-
spec.license = "MIT"
|
|
14
|
-
spec.required_ruby_version = ">= 3"
|
|
15
|
-
|
|
16
|
-
#spec.metadata["allowed_push_host"] = ""
|
|
17
|
-
|
|
18
|
-
#spec.metadata["homepage_uri"] = spec.homepage
|
|
19
|
-
#spec.metadata["source_code_uri"] = ""
|
|
20
|
-
#spec.metadata["changelog_uri"] = ""
|
|
21
|
-
|
|
22
|
-
# Specify which files should be added to the gem when it is released.
|
|
23
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
24
|
-
spec.files = Dir.chdir(__dir__) do
|
|
25
|
-
`git ls-files -z`.split("\x0").reject do |f|
|
|
26
|
-
(File.expand_path(f) == __FILE__) ||
|
|
27
|
-
f.start_with?(*%w[bin/ test/ spec/ features/ .git appveyor Gemfile])
|
|
28
|
-
end
|
|
29
|
-
end
|
|
30
|
-
|
|
31
|
-
#spec.bindir = "exe"
|
|
32
|
-
#spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
|
|
33
|
-
spec.require_paths = [
|
|
34
|
-
"lib"
|
|
35
|
-
]
|
|
36
|
-
|
|
37
|
-
spec.add_dependency "json", ">= 2.0"
|
|
38
|
-
spec.add_dependency "terminal-table", "~> 4.0"
|
|
39
|
-
spec.add_dependency "require_all", ">= 3.0"
|
|
40
|
-
# >= 1.10 because the connections use Faraday's own `f.response :json`
|
|
41
|
-
# (Faraday::Response::Json), which only ships from 1.10.
|
|
42
|
-
spec.add_dependency "faraday", "~> 1.10"
|
|
43
|
-
spec.add_dependency "faraday-multipart", "~> 1.0"
|
|
44
|
-
spec.add_dependency "faraday-cookie_jar", "~> 0.0.7" # replay the Flask session cookie for CSRF
|
|
45
|
-
spec.add_dependency "enumerate_it", ">= 1.7"
|
|
46
|
-
|
|
47
|
-
# rubyzip is only needed by the dashboard import/export feature, which lazily
|
|
48
|
-
# `require 'zip'` at call time. Kept as a dev dependency so those specs run here,
|
|
49
|
-
# but NOT a runtime dependency — consumers that don't import/export (embedders,
|
|
50
|
-
# read/write API clients) shouldn't inherit its rubyzip >= 3 pin.
|
|
51
|
-
# Apps that DO use import/export must declare rubyzip (>= 3.0) themselves.
|
|
52
|
-
spec.add_development_dependency "rubyzip", ">= 3.0"
|
|
53
|
-
spec.add_development_dependency "dotenv", ">= 2.0"
|
|
54
|
-
spec.add_development_dependency "rake", ">= 13.0"
|
|
55
|
-
spec.add_development_dependency "rspec", ">= 3.0"
|
|
56
|
-
spec.add_development_dependency "rubocop", ">= 1.0"
|
|
57
|
-
spec.add_development_dependency "pry", ">= 0.14"
|
|
58
|
-
|
|
59
|
-
# For more information and examples about making a new gem, check out our
|
|
60
|
-
# guide at: https://bundler.io/guides/creating_gem.html
|
|
61
|
-
end
|