plutonium 0.60.4 → 0.60.5

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: 568ae7840b71f121ba9030df8d2f86bc55f255044cb7a3afc80ce2402d3a9ac7
4
- data.tar.gz: 370a72081edd283a4e29ec3e70213f520bdb446ced8ca5e14c5aa68382823c19
3
+ metadata.gz: 004004c1342357f78b64e9ebc65c138438f3f84bad76c4f4af5c6875d7200821
4
+ data.tar.gz: 2e4fa5789c30c0bb39227b7ce9577f95eaf6166d116ec9670f23735a269c9a9d
5
5
  SHA512:
6
- metadata.gz: 73072f27303433c4bd23109e02f224b19d7cd326396fef6c5f459725348d0ecc69e1ed6f023dee24b55423d73a361baf7cef9b676e0c7719d89231b1f9809cf7
7
- data.tar.gz: 7dbb14cb4360d8478f04c559a2fd029eb3ce7ed3be9bf3c3c84040fd81385127acb3720ee802ece48e9dc071760f43339473434e1e134269bcb1088f0bc24358
6
+ metadata.gz: 36909e8c72456b74db2d941331b8bfb54dba04925ab53365bf188978dad45a9d699aabb6c16892951dfe5000aa40cc97fd1df2102e8e07026456e65de0af2b3d
7
+ data.tar.gz: 1962eab914ff635d489a75f9bb7c06a69c0ac382128f79e6a5caeac368010d9af84b834a568e61597b1279297a7438ca79408f32f2116a09064b2f8b3a31a0dd
data/.yarnrc.yml CHANGED
@@ -1 +1,8 @@
1
+ approvedGitRepositories:
2
+ - "**"
3
+
4
+ enableScripts: true
5
+
1
6
  nodeLinker: node-modules
7
+
8
+ npmMinimalAgeGate: 0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [0.60.5] - 2026-06-30
2
+
3
+ ### 🐛 Bug Fixes
4
+
5
+ - *(ui)* Coerce ActiveStorage::Filename to String for HTML title attributes
6
+
7
+ ### ⚙️ Miscellaneous Tasks
8
+
9
+ - Update yarn.lock and .yarnrc.yml after yarn install
1
10
  ## [0.60.4] - 2026-06-15
2
11
 
3
12
  ### 🚀 Features
@@ -14,7 +14,7 @@ module Plutonium
14
14
 
15
15
  div(
16
16
  class: "p-2 w-full",
17
- title: attachment.filename,
17
+ title: attachment.filename.to_s,
18
18
  data: {
19
19
  controller: "attachment-preview",
20
20
  attachment_preview_mime_type_value: attachment.content_type,
@@ -63,7 +63,7 @@ module Plutonium
63
63
  return if attributes[:caption] == false
64
64
 
65
65
  div(class: "w-full p-2 text-sm text-[var(--pu-text-muted)] truncate text-center") do
66
- caption = attributes[:caption] || attachment.filename
66
+ caption = attributes[:caption] || attachment.filename.to_s
67
67
  a(
68
68
  href: attachment.url,
69
69
  class: "hover:text-primary-600 dark:hover:text-primary-400 transition-colors duration-200",
@@ -75,7 +75,7 @@ module Plutonium
75
75
  attachment_preview_thumbnail_url_value: attachment_thumbnail_url(attachment),
76
76
  attachment_preview_target: "thumbnail"
77
77
  },
78
- title: attachment.filename
78
+ title: attachment.filename.to_s
79
79
  ) do
80
80
  # Hidden field to preserve the uploaded file
81
81
  input(type: :hidden, name: input_name, multiple: attributes[:multiple], value: attachment.signed_id, autocomplete: "off", hidden: true)
@@ -111,7 +111,7 @@ module Plutonium
111
111
  def render_filename(attachment)
112
112
  div(
113
113
  class: "px-2 py-1.5 text-sm text-[var(--pu-text-muted)] border-t border-[var(--pu-border)] truncate text-center bg-[var(--pu-surface)]",
114
- title: attachment.filename
114
+ title: attachment.filename.to_s
115
115
  ) do
116
116
  plain attachment.filename.to_s
117
117
  end
@@ -1,5 +1,5 @@
1
1
  module Plutonium
2
- VERSION = "0.60.4"
2
+ VERSION = "0.60.5"
3
3
  NEXT_MAJOR_VERSION = VERSION.split(".").tap { |v|
4
4
  v[1] = v[1].to_i + 1
5
5
  v[2] = 0
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@radioactive-labs/plutonium",
3
- "version": "0.60.4",
3
+ "version": "0.60.5",
4
4
  "description": "Build production-ready Rails apps in minutes, not days. Convention-driven, fully customizable, AI-ready.",
5
5
  "type": "module",
6
6
  "main": "src/js/core.js",
data/yarn.lock CHANGED
@@ -2,7 +2,7 @@
2
2
  # Manual changes might be lost - proceed with caution!
3
3
 
4
4
  __metadata:
5
- version: 8
5
+ version: 10
6
6
  cacheKey: 10c0
7
7
 
8
8
  "@algolia/abtesting@npm:1.13.0":
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plutonium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.60.4
4
+ version: 0.60.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Froelich
8
8
  bindir: exe
9
9
  cert_chain: []
10
- date: 2026-06-15 00:00:00.000000000 Z
10
+ date: 2026-06-30 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: zeitwerk