openclacky 1.5.0 → 1.5.1

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: 85707cf41b28f7283581fde4a77cbdf136ac525d9671743c13cfe268cf71c230
4
- data.tar.gz: f2ccf13cf87f8aeb4e9ac2a27a7f7d3f1c8be53f196d52b39d412ae54bbd791a
3
+ metadata.gz: b195de6fb8b38aed47ef40aa59fa0e33aa3b993f52cc584d5c12bd27bd15b55c
4
+ data.tar.gz: 25b4a406f7f4985e4bdad2cd63c28c2af8875bed7ddf59baae33a94d9ebbe46b
5
5
  SHA512:
6
- metadata.gz: 33a52baaf3983e25e121d6e5200424d57b20d50af5226168df47b730e202add9ab296ecf9d480dc1380302d95b24273ad399b808290954875a139748c4879de8
7
- data.tar.gz: c06c55d0765c8f657606dae02f214aeb938dc484522af5698bcd408b34379160e2bd850a9abdc91a82d4bf3f9925a20b698c3973a35839bb8886170f10d4215d
6
+ metadata.gz: 15a21c8d7aa23bbccc4a8255cb2caa14a937ff92ec90cbf20fac58a71675acfdd1f64be47723151841f860ed069add58e43abdccb48b31233cde8351ab9fad23
7
+ data.tar.gz: 3fbaadab5fcf374369ece22818f2739839ebf974d91a0ecf1dba9aa9e0530e27a801e4366ab2f6403c222501601e4e76f736d73d81eb667ee275e150364d21a1
data/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
 
7
+ ## [1.5.1] - 2026-07-24
8
+
9
+ ### Fixed
10
+ - Extension marketplace detail page now opens correctly for brand users when clicking public extensions
11
+ - Uninstall script now properly removes all installed openclacky gem versions
12
+
7
13
  ## [1.5.0] - 2026-07-23
8
14
 
9
15
  ### Added
@@ -2553,10 +2553,14 @@ module Clacky
2553
2553
  end
2554
2554
 
2555
2555
  brand = Clacky::BrandConfig.load
2556
- # Brand-private extensions (origin=self) are not visible via the public
2557
- # /api/v1/extensions/:id endpoint. Activated brand users must use the
2558
- # license-gated POST /api/v1/licenses/extension instead.
2559
- result = brand.activated? ? brand.brand_extension_detail!(id) : brand.extension_detail!(id)
2556
+ # Always try the public endpoint first it covers all marketplace
2557
+ # extensions regardless of brand status. Only fall back to the
2558
+ # license-gated brand endpoint when the public lookup fails (e.g. for
2559
+ # origin=self brand-private extensions not exposed on the public API).
2560
+ result = brand.extension_detail!(id)
2561
+ if !result[:success] && brand.activated?
2562
+ result = brand.brand_extension_detail!(id)
2563
+ end
2560
2564
 
2561
2565
  if result[:success] && result[:extension]
2562
2566
  ext = result[:extension]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Clacky
4
- VERSION = "1.5.0"
4
+ VERSION = "1.5.1"
5
5
  end
@@ -34,7 +34,7 @@ uninstall_gem() {
34
34
  command_exists gem || return 1
35
35
  if gem list -i openclacky >/dev/null 2>&1; then
36
36
  print_step "Uninstalling via RubyGems..."
37
- gem uninstall openclacky -x
37
+ gem uninstall openclacky -a -x
38
38
  else
39
39
  print_info "Gem 'openclacky' not found (already removed)"
40
40
  fi
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openclacky
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - windy