octicons_helper 12.0.0.pre.f8ed7c4 → 12.0.0.pre.f6726ed
Sign up to get free protection for your applications and to get access to all the features.
File without changes
|
@@ -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].to_s
|
13
13
|
|
14
|
-
if
|
15
|
-
|
14
|
+
if octicons_helper_cache[cache_key]
|
15
|
+
octicons_helper_cache[cache_key]
|
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.f6726ed
|
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.f6726ed
|
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.f6726ed
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -292,8 +292,6 @@ files:
|
|
292
292
|
- lib/build/svg/moon-24.svg
|
293
293
|
- lib/build/svg/mortar-board-16.svg
|
294
294
|
- lib/build/svg/mortar-board-24.svg
|
295
|
-
- lib/build/svg/multi-select-16.svg
|
296
|
-
- lib/build/svg/multi-select-24.svg
|
297
295
|
- lib/build/svg/mute-16.svg
|
298
296
|
- lib/build/svg/mute-24.svg
|
299
297
|
- lib/build/svg/no-entry-16.svg
|
@@ -424,8 +422,8 @@ files:
|
|
424
422
|
- lib/build/svg/thumbsup-24.svg
|
425
423
|
- lib/build/svg/tools-16.svg
|
426
424
|
- lib/build/svg/tools-24.svg
|
427
|
-
- lib/build/svg/trash-16.svg
|
428
425
|
- lib/build/svg/trash-24.svg
|
426
|
+
- lib/build/svg/trashcan-16.svg
|
429
427
|
- lib/build/svg/triangle-down-16.svg
|
430
428
|
- lib/build/svg/triangle-down-24.svg
|
431
429
|
- lib/build/svg/triangle-left-16.svg
|
@@ -1 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M1.75 2.5a.75.75 0 000 1.5h6.5a.75.75 0 000-1.5h-6.5zm4 5a.75.75 0 000 1.5h7.5a.75.75 0 000-1.5h-7.5zm0 5a.75.75 0 000 1.5h7.5a.75.75 0 000-1.5h-7.5zM3 8a1 1 0 11-2 0 1 1 0 012 0zm-1 6a1 1 0 100-2 1 1 0 000 2z"/><path d="M13.314 4.918L11.07 2.417A.25.25 0 0111.256 2h4.488a.25.25 0 01.186.417l-2.244 2.5a.25.25 0 01-.372 0z"/></svg>
|
@@ -1 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill-rule="evenodd" d="M3.75 5.5a.75.75 0 000 1.5h10a.75.75 0 000-1.5h-10zm5 6a.75.75 0 000 1.5h11.5a.75.75 0 000-1.5H8.75zm0 6a.75.75 0 000 1.5h11.5a.75.75 0 000-1.5H8.75zM5 12a1 1 0 11-2 0 1 1 0 012 0zm-1 7a1 1 0 100-2 1 1 0 000 2z"/><path d="M19.309 7.918l-2.245-2.501A.25.25 0 0117.25 5h4.49a.25.25 0 01.185.417l-2.244 2.5a.25.25 0 01-.372 0z"/></svg>
|