solidus_admin 0.4.0 → 0.4.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: ad8d6194f5a37ead1b362139f65c296fa6c7485807e79be11122d4689db00e9f
4
- data.tar.gz: 17f079ab01043b7529e013eff1b613c95de6385c2e85e6664a8476e42c7ff940
3
+ metadata.gz: 8d55713c30957b2581baa47e77a5fa3bcabc12d7898ed7e0e1db4a294a6d6017
4
+ data.tar.gz: 3fa56921c2f6036c3e46d0baec1117ce1f5f5152e9e300316706b3bb607d11ed
5
5
  SHA512:
6
- metadata.gz: c60e10eceed8c821298dee0ad21cf3c0069953f7269a0b483a5c5778f3532bd8e6ba84a46531082eb774682b59fb6a631fd654eaa78033b800cb30a87e7a6bcb
7
- data.tar.gz: 837117c43cc7618445d41b2d500a2e9c79eb4f5b7c4f485ce21d4f2ab3dc816cdace1ad930208b970ab22096deda3e0c4a0e43a4f472caee39b21c048b7f0b77
6
+ metadata.gz: f6f89074bcd33a6b8a283d0850d2687b8b8041f1b2092ec62de4f5666eb1da00faa7342e001c61de1812cdff7dd21c9c336df9c42ffdd351bdb43e79ffdd3ac8
7
+ data.tar.gz: 113f291ed1bcb6982b5dabd1177ab826a5f4ddf5b691b705e22c9b31c9374f2a0f438531d70fb270877c3a6467cf6feb35a0bb03d80c12819135889bd714bb03
@@ -109,7 +109,7 @@
109
109
  }
110
110
 
111
111
  /*
112
- ! tailwindcss v3.4.17 | MIT License | https://tailwindcss.com
112
+ ! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
113
113
  */
114
114
 
115
115
  /*
@@ -160,11 +160,8 @@ class SolidusAdmin::Users::Items::Component < SolidusAdmin::BaseComponent
160
160
  content = []
161
161
  content << item.product.name
162
162
  content << "(#{item.variant.options_text})" if item.variant.option_values.any?
163
- content << "<strong>#{t('spree.sku')}:</strong> #{item.variant.sku}" if item.variant.sku.present?
163
+ content << safe_join([tag.strong("#{t('spree.sku')}:"), " ", item.variant.sku]) if item.variant.sku.present?
164
164
 
165
- # The `.html_safe` is required for the description to display as desired.
166
- # rubocop:disable Rails/OutputSafety
167
- safe_join([content_tag(:div, content.join("<br>").html_safe, class: "text-sm")])
168
- # rubocop:enable Rails/OutputSafety
165
+ content_tag(:div, safe_join(content, tag.br), class: "text-sm")
169
166
  end
170
167
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SolidusAdmin
4
- VERSION = "0.4.0"
4
+ VERSION = "0.4.1"
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solidus_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Solidus Team
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-02-21 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: geared_pagination
@@ -538,7 +538,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
538
538
  - !ruby/object:Gem::Version
539
539
  version: 1.8.23
540
540
  requirements: []
541
- rubygems_version: 3.6.3
541
+ rubygems_version: 4.0.10
542
542
  specification_version: 4
543
543
  summary: Admin interface for the Solidus e-commerce framework.
544
544
  test_files: []