anyicon 1.0.1 → 1.0.3

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: e768dfe35064ef90d05f9cbf8df01bc1d89c6ad8cf1a3bf165c8f355c6049198
4
- data.tar.gz: 23056f37dd001e4b12095bc8e04a59dfaa658629f7a1582055af71b68b216a94
3
+ metadata.gz: 3f72fd662c558d005d5707b0d42bff57d58bab8642b220a1997486c45f32553c
4
+ data.tar.gz: f3a4bf9cc2d295817735260d97b716356b4d46c269cd8eaac67f867a70a39a77
5
5
  SHA512:
6
- metadata.gz: 1bbfba2b8bbb63280abb4c9ac60104d20f00be8d8493a89f7be82aa1a5de484e8870eecd65247f0098c8ae3f33cb99608942abbd2f8cf0ca54c6566a0f979b1f
7
- data.tar.gz: ca08c198d7db376bb3a8a163103cbe75ab460c6cde6781a15d18d4ec1dcded64ca86f6aa127be65047b030bf91531679ab6788f94df7cc7bf69266fd9b7a6448
6
+ metadata.gz: e32588d33dd2178c2ebbf91306c1a72ecce49af1c4b9c7f32410fbabfe70aca1f237bda6e1a7e16f92bde8c2112ffb754fe2a6529402d5d2880aea1912cb357d
7
+ data.tar.gz: ce2ae69a8c52fe073b155f12e85f1fcfb73913ceab1ad977e9f74b4c6b1e7ab22994b2dfff56729c97a71ba53060c93432482768abe02e9eede8e52f346ae0e6
data/lib/anyicon/icon.rb CHANGED
@@ -23,7 +23,7 @@ module Anyicon
23
23
  # @param props [Hash] additional properties to apply to the SVG element
24
24
  def initialize(icon:, **props)
25
25
  super()
26
- @icons = icon.split(',').map { |i| i.split(':') }
26
+ @icons = icon.to_s.split(',').map { |i| i.split(':') }
27
27
  @props = props
28
28
  end
29
29
 
@@ -1,5 +1,3 @@
1
- # frozen_string_literal: true
2
-
3
1
  module Anyicon
4
- VERSION = '1.0.1'
2
+ VERSION = "1.0.3"
5
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anyicon
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arthur Molina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-29 00:00:00.000000000 Z
11
+ date: 2025-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -132,7 +132,13 @@ files:
132
132
  homepage: https://github.com/arthurmolina/anyicon
133
133
  licenses:
134
134
  - MIT
135
- metadata: {}
135
+ metadata:
136
+ homepage_uri: https://github.com/arthurmolina/anyicon
137
+ documentation_uri: https://rubydoc.info/github/arthurmolina/anyicon
138
+ changelog_uri: https://github.com/arthurmolina/anyicon/blob/main/docs/CHANGELOG.md
139
+ source_code_uri: https://github.com/arthurmolina/anyicon
140
+ bug_tracker_uri: https://github.com/arthurmolina/anyicon/issues
141
+ wiki_uri: https://github.com/arthurmolina/anyicon/wiki
136
142
  post_install_message:
137
143
  rdoc_options: []
138
144
  require_paths:
@@ -148,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
154
  - !ruby/object:Gem::Version
149
155
  version: '0'
150
156
  requirements: []
151
- rubygems_version: 3.5.6
157
+ rubygems_version: 3.5.16
152
158
  signing_key:
153
159
  specification_version: 4
154
160
  summary: Rails View Helpers for any icon collections.