anyicon 1.0.2 → 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: 8fad6ac847234839b7b7ef533781d9c0a13d0607fe80089e2a5069b6c2608c37
4
- data.tar.gz: 61c8707518bfc51a8ab2c9cbd50dab7bcf2ba7fa9dd7dc52ea5f8b4046de8d82
3
+ metadata.gz: 3f72fd662c558d005d5707b0d42bff57d58bab8642b220a1997486c45f32553c
4
+ data.tar.gz: f3a4bf9cc2d295817735260d97b716356b4d46c269cd8eaac67f867a70a39a77
5
5
  SHA512:
6
- metadata.gz: 340b55c12a7d91031caff6e434c80f2f5d655c7fe38db0fa98ff43404f680cdf67f34efd0517a0b07dbf0261f925b812fadd5d1ed830d60a54d2c73dc1efd24c
7
- data.tar.gz: 827a61c212f91f165f483f7714bcd93b08462cf442a154a7fab6557b191726918985e04a341f089e1b2083769a6955a16f3499babab9c69af4c6193d44be19c4
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.2'
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.2
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
@@ -154,7 +154,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  - !ruby/object:Gem::Version
155
155
  version: '0'
156
156
  requirements: []
157
- rubygems_version: 3.5.6
157
+ rubygems_version: 3.5.16
158
158
  signing_key:
159
159
  specification_version: 4
160
160
  summary: Rails View Helpers for any icon collections.