rubicons 0.1.0 → 0.1.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: c9e4c5ce07f0794e6841297eda04d913a51e2b9ca0c40a081c8a0ef4c678debc
4
- data.tar.gz: 4a8710365a5447fef33e4e423f2305d33ba8d0e7cf9a4997c2240daf33c87bed
3
+ metadata.gz: 56b5ea75374ded865f7a9b6884df7ec28e1a9c9101c0e6b888bb449b2ad158cf
4
+ data.tar.gz: 79c79aa0aea5a3ae5a50c9693607801fd55a4b6e30256e5a091e5bfe2402fa73
5
5
  SHA512:
6
- metadata.gz: a50aa5c367600f74a003d83d33d177d637f676e610d08a108c4c6a43208dfa70ce120fc10f5a5323ef6b1a0d14554d8635514b7a527ddb7d67b4c09278890b9a
7
- data.tar.gz: 25c93242112c3b5a3c427250f3ef7e2645164f85ed86a82e356a7f4a857e92f41a7cafc0461ea7c10651d140cc023bfb942e6e03fc88fba14a960027b111cb09
6
+ metadata.gz: 163093a30485d7014fb3c94adb1083efb95fbe5f016807ebc714bf38304bf58c5a0d35d0b329f9d5cb30f3a4c523a418549bd45f0af36faa7af8aa92891aa962
7
+ data.tar.gz: 9abd362735f5ad31f2ab2fa525c786574b05b73454194562b1ae12081ed7d8a721a59ad11108e0a2d769951977aea2fecf28b64520dadc33ab312c1ca7f2bb8b
@@ -5,7 +5,7 @@ module Rubicons
5
5
  # Rails view helper for Lucide icons
6
6
  module RailsHelper
7
7
  def lucide_icon(name, options = {})
8
- Rubicons::Lucide.icon(name, **options)
8
+ Rubicons::Lucide.icon(name, **options).html_safe
9
9
  end
10
10
  end
11
11
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rubicons
4
- VERSION = '0.1.0'
4
+ VERSION = '0.1.1'
5
5
  end
data/lib/rubicons.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'rubicons/railtie'
4
3
  require 'rubicons/version'
4
+ require 'rubicons/railtie' if defined?(Rails)
5
5
 
6
6
  module Rubicons
7
7
  autoload :Lucide, 'rubicons/lucide'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubicons
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - insomnius