octicons_helper 12.0.0.pre.e0e204f → 12.0.0.pre.ec99d7b
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/octicons_helper/helper.rb +3 -3
- data/lib/octicons_helper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1329b8eff4269a7c7ab5d456d0b4d9da03edd6ae45acf3af4d06a65de12ee434
|
4
|
+
data.tar.gz: 92dcd969359bd6b7aac065650648d8cee9e71aece4b8cac618146bfd248e0791
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e071cb022dce8e73da09b29df34ebe4932598727930f90ee46e7f7f9203416b92501d8912248b9751786a28ce0d11e1dec5de50f232beeb1484404401cb57c4
|
7
|
+
data.tar.gz: 0d65654369e2e64f263642708bd93671aa8afc2b9dbbf84925ff102e9617ecddb0270998abeea19f996939775b1ad34bfafde531c756cf627569d54b6a9512c0
|
@@ -9,10 +9,10 @@ module OcticonsHelper
|
|
9
9
|
def octicon(symbol, options = {})
|
10
10
|
return "" if symbol.nil?
|
11
11
|
|
12
|
-
cache_key = [symbol, options]
|
12
|
+
cache_key = [symbol, options]
|
13
13
|
|
14
|
-
if octicons_helper_cache[cache_key]
|
15
|
-
|
14
|
+
if tag = octicons_helper_cache[cache_key]
|
15
|
+
tag
|
16
16
|
else
|
17
17
|
icon = Octicons::Octicon.new(symbol, options)
|
18
18
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octicons_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 12.0.0.pre.
|
4
|
+
version: 12.0.0.pre.ec99d7b
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Inc.
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 12.0.0.pre.
|
19
|
+
version: 12.0.0.pre.ec99d7b
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 12.0.0.pre.
|
26
|
+
version: 12.0.0.pre.ec99d7b
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|