railsglyphs 1.0.3 → 1.0.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: 0c2e2a36ebf8a54be464c451c3b03d23c06e28dbd0aa1541f4cb48a7472408f1
4
- data.tar.gz: 187280f31c859ae0bf61a5dc9c8fabe264bf56be445a33dfd19cd3faef9bd661
3
+ metadata.gz: 4bb99be82d4343ff81334cf1b7fbc28e37ea3e90ea2e9da2e5eedca98154dd20
4
+ data.tar.gz: 0ff59d58dcce3068cc41af4a524c3f26f6ace3aad8ef8551f80a771e78f23cbd
5
5
  SHA512:
6
- metadata.gz: 415a7ba3dbef10220a1cacc842cd7493445ee66627f4cf84c6fe17728c5da9a11bd0362c70c134132cf6ab8ca98661a239ba5c5ac58726810a9ef8d370d16ff8
7
- data.tar.gz: 797874b7cbe55b243d2aba23a44bb1fd2b6c861ba9a27b4f07d6b0dc58db24d4e29f67ac4495ab139ba3fd34c7b968ade2801585e8ee17466cf1dac2bada9a85
6
+ metadata.gz: 6cacf9ad784dbf9485fefc8caa1448686571b460983dbf4f1022de3030d8a53bee902cf858fe605ebc1329e907c78383ba7f01c4c97b655064e4340aa282ecac
7
+ data.tar.gz: adcd92be20c16bcb7c76fd0aa2f9600db12ed57a7d4c20bab2a6cc8d72ecf800913d89231b27bf20c71f777893a69830558ca5ce0974925e85e868be3e6d92ad
@@ -42,7 +42,7 @@ module RailsGlyphs
42
42
  end
43
43
 
44
44
  html_options[:class] = html_options[:class].strip if html_options[:class]
45
- html_options['aria-hidden'] ||= true
45
+ html_options['aria-hidden'] = true unless html_options.key?('aria-hidden')
46
46
 
47
47
  html = content_tag(:i, svg_content, html_options)
48
48
  html << ' '.html_safe << text.to_s unless text.blank?
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsGlyphs
4
- VERSION = "1.0.3"
4
+ VERSION = "1.0.4"
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railsglyphs
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Victor S. Keenan
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-06-11 00:00:00.000000000 Z
10
+ date: 2025-06-12 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: rails
@@ -710,6 +710,8 @@ metadata:
710
710
  homepage_uri: https://www.victorkeenan.com/projects/railsglyphs/
711
711
  source_code_uri: https://github.com/VictorSK/railsglyphs/
712
712
  changelog_uri: https://github.com/VictorSK/railsglyphs/blob/main/CHANGELOG.md
713
+ bug_tracker_uri: https://github.com/VictorSK/railsglyphs/issues/
714
+ documentation_uri: https://github.com/VictorSK/railsglyphs/blob/main/README.md
713
715
  rubygems_mfa_required: 'true'
714
716
  rdoc_options: []
715
717
  require_paths: