superset 0.5.3 → 0.5.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: b8b34598d228f19ee769e3381bb25efdef9104659d5fabce8109521d0344a860
4
- data.tar.gz: a1f4cb502c1e6c11b1c7f965f4d185c155e9a1201398a87915087c8dc12033f4
3
+ metadata.gz: 1bbc188dc9c0b749966c3a8bd6f0fdd4d142efbf547959c3408f4d62909f4125
4
+ data.tar.gz: c96b91064cf76252ccc1c59c7a15bb047bfaba3c4a7eba27f39c20e14582e28c
5
5
  SHA512:
6
- metadata.gz: 9dd45b812b5883faf48b48fd4a111c7baacafee441cdc3da96a8da16f7ddf2a874824cdff178554509da49ae914549a53cafa1e3949909683b6ab7ef43c69174
7
- data.tar.gz: abd065a21a68e4364484f226e5bf58ce78fd0619827b8b1f4ca28e3c6bfac2586c23a14ce0683b95346763b870c7e86ee6c4d57c800377202d8080709e4aa998
6
+ metadata.gz: c0459c247e0f1a52e1e6dbaf822224e56ce30d52305b0bab8c4d157584523bb8c64046e216cf39f8b9a3ccf746f9f541bddc8ea861944a09659615d818e249ef
7
+ data.tar.gz: bf8667266c2ae050fe2a32dd83d5ee3ae74b47434c330fedddc200619a1844da33b7e544445e5c3afeca28ee028dc64751ef3252b5e12677ec359e2a97a59952
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## Changelog
2
2
 
3
+ ## 0.5.4 - 2026-09-23
4
+
5
+ * **Fix:** `require 'enumerate_it'` in `lib/superset.rb`. `require "superset"` raised `RequireAll::LoadError: ... uninitialized constant EnumerateIt` — `ObjectType` (in `lib/superset/enumerations/object_type.rb`) subclasses `EnumerateIt::Base`, and enumerate_it has been a declared gemspec dependency since it was introduced, but nothing ever required it. **0.5.3 installs but cannot be loaded**; upgrade straight to 0.5.4
6
+ * **Fix the reason it was missed:** `spec/spec_helper.rb` required the gem's own dependencies (happi, enumerate_it, faraday, terminal-table) and then loaded `lib/` by globbing `Dir["./lib/**/*.rb"]`, so the suite supplied the requires that `lib/` was missing and never loaded `lib/superset.rb` at all. 341 examples passed against a gem that could not be required. spec_helper now does only `require "superset"`, exactly as a consumer does
7
+ * Add `spec/superset_load_spec.rb`, asserting the public surface resolves from a plain `require "superset"` along with the activesupport, ostruct and enumerate_it core extensions — each of which has caused a load-time `NameError` at some point
8
+ * Add a `package` CI job that builds the gem, installs it standalone and requires it from outside the repo. The spec suite runs with `lib/` on the load path, so it cannot catch a file excluded from `spec.files` or a dependency missing from the gemspec
9
+
3
10
  ## 0.5.3 - 2026-09-23
4
11
 
5
12
  * **Fix:** make the gem actually work on Faraday 2. 0.5.2 loosened the `faraday` constraint from `~> 1.10` to `>= 1.10` but adapted none of the code, so any consumer resolving Faraday 2 hit `NoMethodError: undefined method 'authorization' for an instance of Faraday::Connection` on every request through `Superset::Client` and `Superset::GuestToken`. Replaced `f.authorization :Bearer, token` with `f.request :authorization, 'Bearer', token`, which works on both Faraday 1.10+ and 2.x
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Superset
4
- VERSION = "0.5.3"
4
+ VERSION = "0.5.4"
5
5
  end
data/lib/superset.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  require 'require_all'
4
4
  require 'terminal-table'
5
5
  require 'happi'
6
+ require 'enumerate_it'
6
7
  require 'logger'
7
8
  require 'json'
8
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: superset
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - jbat