octicons_helper 0.0.0.pre.b0dd47c → 0.0.0.pre.b1a25d5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4.72.22a.75.75 0 011.06 0l1 .999a3.492 3.492 0 012.441 0l.999-1a.75.75 0 111.06 1.061l-.775.776c.616.63.995 1.493.995 2.444v.327c0 .1-.009.197-.025.292.408.14.764.392 1.029.722l1.968-.787a.75.75 0 01.556 1.392L13 7.258V9h2.25a.75.75 0 010 1.5H13v.5c0 .409-.049.806-.141 1.186l2.17.868a.75.75 0 01-.557 1.392l-2.184-.873A4.997 4.997 0 018 16a4.997 4.997 0 01-4.288-2.427l-2.183.873a.75.75 0 01-.558-1.392l2.17-.868A5.013 5.013 0 013 11v-.5H.75a.75.75 0 010-1.5H3V7.258L.971 6.446a.75.75 0 01.558-1.392l1.967.787c.265-.33.62-.583 1.03-.722a1.684 1.684 0 01-.026-.292V4.5c0-.951.38-1.814.995-2.444L4.72 1.28a.75.75 0 010-1.06zM6.173 5h3.654A.173.173 0 0010 4.827V4.5a2 2 0 10-4 0v.327c0 .096.077.173.173.173zM5.25 6.5a.75.75 0 00-.75.75V11a3.5 3.5 0 107 0V7.25a.75.75 0 00-.75-.75h-5.5z"/></svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M11 10h3V9h-3V8l3.17-1.03-.34-.94L11 7V6c0-.55-.45-1-1-1V4c0-.48-.36-.88-.83-.97L10.2 2H12V1H9.8l-2 2h-.59L5.2 1H3v1h1.8l1.03 1.03C5.36 3.12 5 3.51 5 4v1c-.55 0-1 .45-1 1v1l-2.83-.97-.34.94L4 8v1H1v1h3v1L.83 12.03l.34.94L4 12v1c0 .55.45 1 1 1h1l1-1V6h1v7l1 1h1c.55 0 1-.45 1-1v-1l2.83.97.34-.94L11 11v-1zM9 5H6V4h3v1z"/></svg>
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 tag = octicons_helper_cache[cache_key]
15
- tag
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
 
@@ -1,3 +1,3 @@
1
1
  module OcticonsHelper
2
- VERSION = "0.0.0.pre.b0dd47c".freeze
2
+ VERSION = "0.0.0.pre.b1a25d5".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octicons_helper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.0.pre.b0dd47c
4
+ version: 0.0.0.pre.b1a25d5
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-01 00:00:00.000000000 Z
11
+ date: 2021-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: octicons
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.0.0.pre.b0dd47c
19
+ version: 0.0.0.pre.b1a25d5
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: 0.0.0.pre.b0dd47c
26
+ version: 0.0.0.pre.b1a25d5
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -48,8 +48,6 @@ files:
48
48
  - LICENSE
49
49
  - README.md
50
50
  - lib/build/data.json
51
- - lib/build/svg/add-user-16.svg
52
- - lib/build/svg/add-user-24.svg
53
51
  - lib/build/svg/alert-16.svg
54
52
  - lib/build/svg/alert-24.svg
55
53
  - lib/build/svg/archive-16.svg
@@ -93,7 +91,6 @@ files:
93
91
  - lib/build/svg/broadcast-24.svg
94
92
  - lib/build/svg/browser-16.svg
95
93
  - lib/build/svg/bug-16.svg
96
- - lib/build/svg/bug-24.svg
97
94
  - lib/build/svg/calendar-16.svg
98
95
  - lib/build/svg/calendar-24.svg
99
96
  - lib/build/svg/check-16.svg
@@ -294,8 +291,6 @@ files:
294
291
  - lib/build/svg/moon-24.svg
295
292
  - lib/build/svg/mortar-board-16.svg
296
293
  - lib/build/svg/mortar-board-24.svg
297
- - lib/build/svg/multi-select-16.svg
298
- - lib/build/svg/multi-select-24.svg
299
294
  - lib/build/svg/mute-16.svg
300
295
  - lib/build/svg/mute-24.svg
301
296
  - lib/build/svg/no-entry-16.svg
@@ -426,8 +421,8 @@ files:
426
421
  - lib/build/svg/thumbsup-24.svg
427
422
  - lib/build/svg/tools-16.svg
428
423
  - lib/build/svg/tools-24.svg
429
- - lib/build/svg/trash-16.svg
430
424
  - lib/build/svg/trash-24.svg
425
+ - lib/build/svg/trashcan-16.svg
431
426
  - lib/build/svg/triangle-down-16.svg
432
427
  - lib/build/svg/triangle-down-24.svg
433
428
  - lib/build/svg/triangle-left-16.svg
@@ -1,10 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <g clip-path="url(#clip0)">
3
- <path fill-rule="evenodd" clip-rule="evenodd" d="M13.25 0C13.6642 0 14 0.335786 14 0.75V2H15.25C15.6642 2 16 2.33579 16 2.75C16 3.16421 15.6642 3.5 15.25 3.5H14V4.75C14 5.16421 13.6642 5.5 13.25 5.5C12.8358 5.5 12.5 5.16421 12.5 4.75V3.5H11.25C10.8358 3.5 10.5 3.16421 10.5 2.75C10.5 2.33579 10.8358 2 11.25 2H12.5V0.75C12.5 0.335786 12.8358 0 13.25 0ZM5.50002 4C4.39545 4 3.50002 4.89543 3.50002 6C3.50002 7.10457 4.39545 8 5.50002 8C6.60459 8 7.50002 7.10457 7.50002 6C7.50002 4.89543 6.60459 4 5.50002 4ZM7.8993 8.54824C8.57695 7.90996 9.00002 7.00439 9.00002 6C9.00002 4.067 7.43302 2.5 5.50002 2.5C3.56703 2.5 2.00002 4.067 2.00002 6C2.00002 7.00439 2.42309 7.90996 3.10074 8.54824C1.34719 9.39897 0.118806 11.1545 0.00124883 13.2071C-0.0224353 13.6207 0.293602 13.9751 0.707138 13.9988C1.12067 14.0225 1.47511 13.7064 1.49879 13.2929C1.62014 11.1742 3.3584 9.5 5.50002 9.5C7.64164 9.5 9.3799 11.1742 9.50125 13.2929C9.52493 13.7064 9.87937 14.0225 10.2929 13.9988C10.7064 13.9751 11.0225 13.6207 10.9988 13.2071C10.8812 11.1545 9.65285 9.39897 7.8993 8.54824Z" fill="black"/>
4
- </g>
5
- <defs>
6
- <clipPath id="clip0">
7
- <rect width="16" height="16" fill="white"/>
8
- </clipPath>
9
- </defs>
10
- </svg>
@@ -1,3 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path fill-rule="evenodd" clip-rule="evenodd" d="M19.25 0C19.6642 0 20 0.335786 20 0.75V3H22.25C22.6642 3 23 3.33579 23 3.75C23 4.16421 22.6642 4.5 22.25 4.5H20V6.75C20 7.16421 19.6642 7.5 19.25 7.5C18.8358 7.5 18.5 7.16421 18.5 6.75V4.5H16.25C15.8358 4.5 15.5 4.16421 15.5 3.75C15.5 3.33579 15.8358 3 16.25 3H18.5V0.75C18.5 0.335786 18.8358 0 19.25 0ZM9.00006 5C7.06711 5 5.50013 6.56699 5.50013 8.5C5.50013 10.433 7.06711 12 9.00006 12C10.933 12 12.5 10.433 12.5 8.5C12.5 6.56699 10.933 5 9.00006 5ZM4.00013 8.5C4.00013 5.73859 6.23866 3.5 9.00006 3.5C11.7615 3.5 14 5.73859 14 8.5C14 10.1734 13.1779 11.6548 11.9156 12.5624C14.7874 13.7059 16.8374 16.4714 16.9343 19.7277C16.9467 20.1417 16.621 20.4873 16.207 20.4997C15.7929 20.512 15.4473 20.1863 15.435 19.7723C15.3314 16.2908 12.4761 13.5 8.96917 13.5C5.46228 13.5 2.60695 16.2908 2.50334 19.7723C2.49101 20.1863 2.14539 20.512 1.73136 20.4997C1.31733 20.4873 0.991678 20.1417 1.004 19.7277C1.10137 16.4563 3.16993 13.6803 6.06271 12.5466C4.81273 11.6377 4.00013 10.1638 4.00013 8.5Z" fill="black"/>
3
- </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="M7.72.22a.75.75 0 011.06 0l1.204 1.203A4.983 4.983 0 0112 1c.717 0 1.4.151 2.016.423L15.22.22a.75.75 0 011.06 1.06l-.971.972A4.988 4.988 0 0117 6v1.104a2.755 2.755 0 011.917 1.974l1.998-.999a.75.75 0 01.67 1.342L19 10.714V13.5l3.25.003a.75.75 0 110 1.5L19 15.001V16a7.02 7.02 0 01-.204 1.686.833.833 0 01.04.018l2.75 1.375a.75.75 0 11-.671 1.342l-2.638-1.319A7 7 0 0112 23a7 7 0 01-6.197-3.742l-2.758 1.181a.75.75 0 11-.59-1.378l2.795-1.199A7.007 7.007 0 015 16v-.996H1.75a.75.75 0 010-1.5H5v-2.79L2.415 9.42a.75.75 0 01.67-1.342l1.998.999A2.755 2.755 0 017 7.104V6a4.99 4.99 0 011.69-3.748l-.97-.972a.75.75 0 010-1.06zM8.5 7h7V6a3.5 3.5 0 10-7 0v1zm-2 3.266V9.75c0-.69.56-1.25 1.25-1.25h8.5c.69 0 1.25.56 1.25 1.25V16a5.5 5.5 0 01-11 0v-5.734z"/></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>