heroicon 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/heroicon/icon.rb +1 -1
- data/lib/heroicon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d84d48fe0bd5ee18ae0a8ff4fcb18700b44415bdb6c834b2d606b334635990c
|
4
|
+
data.tar.gz: e34a0b8f7f67ae51c8d0712b28c9592c5a6a40bb1b91a790a2a025f9b18856e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b5ad7a7dd7e3636840d551f75c449ab16da0f43e868abe9e3d5304abefd99fb3dce2651c93d15c1efde4d87a09c9475c28b3c7f6fa1edbb7dc02596f0d0f98c
|
7
|
+
data.tar.gz: 66f0d51350a460c9b23518e3a6f9982a2ac3890ea97e0f3b2c3fb4fc5ee5a2d1afc97e391d34a378fe97662bdc5e86ba4f195abf981c25ad7551141828f455a2
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
[![Build Status](https://github.com/bharget/heroicon/workflows/CI/badge.svg)](https://github.com/bharget/heroicon/actions)
|
3
3
|
[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
|
4
4
|
|
5
|
-
Ruby on Rails view helpers for the beautiful hand-crafted SVG icons,
|
5
|
+
Ruby on Rails view helpers for the beautiful hand-crafted SVG icons, Heroicons. This gem has no official affiliation with Tailwind CSS or the Heroicon team.
|
6
6
|
|
7
7
|
Check out their sites:
|
8
8
|
|
data/lib/heroicon/icon.rb
CHANGED
@@ -31,7 +31,7 @@ module Heroicon
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def file
|
34
|
-
@file ||= Rails.application.
|
34
|
+
@file ||= Rails.application.assets_manifest.find_sources("heroicon/#{variant}/#{name}.svg").first.force_encoding("UTF-8")
|
35
35
|
rescue
|
36
36
|
nil
|
37
37
|
end
|
data/lib/heroicon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: heroicon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benjamin Hargett
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|