octicons_helper 0.0.0.pre.5353fb0 → 0.0.0.pre.5476cec

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.
@@ -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.5353fb0".freeze
2
+ VERSION = "0.0.0.pre.5476cec".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.5353fb0
4
+ version: 0.0.0.pre.5476cec
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-06 00:00:00.000000000 Z
11
+ date: 2021-02-04 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.5353fb0
19
+ version: 0.0.0.pre.5476cec
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.5353fb0
26
+ version: 0.0.0.pre.5476cec
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -91,7 +91,6 @@ files:
91
91
  - lib/build/svg/broadcast-24.svg
92
92
  - lib/build/svg/browser-16.svg
93
93
  - lib/build/svg/bug-16.svg
94
- - lib/build/svg/bug-24.svg
95
94
  - lib/build/svg/calendar-16.svg
96
95
  - lib/build/svg/calendar-24.svg
97
96
  - lib/build/svg/check-16.svg
@@ -142,8 +141,6 @@ files:
142
141
  - lib/build/svg/dash-24.svg
143
142
  - lib/build/svg/database-16.svg
144
143
  - lib/build/svg/database-24.svg
145
- - lib/build/svg/dependabot-16.svg
146
- - lib/build/svg/dependabot-24.svg
147
144
  - lib/build/svg/desktop-download-16.svg
148
145
  - lib/build/svg/desktop-download-24.svg
149
146
  - lib/build/svg/device-camera-16.svg
@@ -426,8 +423,8 @@ files:
426
423
  - lib/build/svg/thumbsup-24.svg
427
424
  - lib/build/svg/tools-16.svg
428
425
  - lib/build/svg/tools-24.svg
429
- - lib/build/svg/trash-16.svg
430
426
  - lib/build/svg/trash-24.svg
427
+ - lib/build/svg/trashcan-16.svg
431
428
  - lib/build/svg/triangle-down-16.svg
432
429
  - lib/build/svg/triangle-down-24.svg
433
430
  - lib/build/svg/triangle-left-16.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,5 +0,0 @@
1
- <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M5.75 7.5C6.16421 7.5 6.5 7.83579 6.5 8.25V9.75C6.5 10.1642 6.16421 10.5 5.75 10.5C5.33579 10.5 5 10.1642 5 9.75V8.25C5 7.83579 5.33579 7.5 5.75 7.5Z" fill="black"/>
3
- <path d="M11 8.25C11 7.83579 10.6642 7.5 10.25 7.5C9.83579 7.5 9.5 7.83579 9.5 8.25V9.75C9.5 10.1642 9.83579 10.5 10.25 10.5C10.6642 10.5 11 10.1642 11 9.75V8.25Z" fill="black"/>
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="M6.25 0C5.83579 0 5.5 0.335786 5.5 0.75C5.5 1.16421 5.83579 1.5 6.25 1.5H7.5V3.5H3.75C2.50736 3.5 1.5 4.50736 1.5 5.75V8H0.75C0.335786 8 0 8.33579 0 8.75C0 9.16421 0.335786 9.5 0.75 9.5H1.5V12.25C1.5 13.4926 2.50736 14.5 3.75 14.5H12.25C13.4926 14.5 14.5 13.4926 14.5 12.25V9.5H15.25C15.6642 9.5 16 9.16421 16 8.75C16 8.33579 15.6642 8 15.25 8H14.5V5.75C14.5 4.50736 13.4926 3.5 12.25 3.5H9V0.75C9 0.335786 8.66421 0 8.25 0H6.25ZM3 5.75C3 5.33579 3.33579 5 3.75 5H12.25C12.6642 5 13 5.33579 13 5.75V12.25C13 12.6642 12.6642 13 12.25 13H3.75C3.33579 13 3 12.6642 3 12.25V5.75Z" fill="black"/>
5
- </svg>
@@ -1,5 +0,0 @@
1
- <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
- <path d="M8.75 11C9.16421 11 9.5 11.3358 9.5 11.75V15.25C9.5 15.6642 9.16421 16 8.75 16C8.33579 16 8 15.6642 8 15.25V11.75C8 11.3358 8.33579 11 8.75 11Z" fill="black"/>
3
- <path d="M16 11.75C16 11.3358 15.6642 11 15.25 11C14.8358 11 14.5 11.3358 14.5 11.75V15.25C14.5 15.6642 14.8358 16 15.25 16C15.6642 16 16 15.6642 16 15.25V11.75Z" fill="black"/>
4
- <path fill-rule="evenodd" clip-rule="evenodd" d="M9.8125 1C9.39829 1 9.0625 1.33579 9.0625 1.75C9.0625 2.16421 9.39829 2.5 9.8125 2.5H11.5V5H4.25C3.00736 5 2 6.00736 2 7.25V12.5H0.75C0.335786 12.5 0 12.8358 0 13.25C0 13.6642 0.335786 14 0.75 14H2V19.75C2 20.9926 3.00736 22 4.25 22H19.75C20.9926 22 22 20.9926 22 19.75V14H23.25C23.6642 14 24 13.6642 24 13.25C24 12.8358 23.6642 12.5 23.25 12.5H22V7.25C22 6.00736 20.9926 5 19.75 5H13V1.75C13 1.33579 12.6642 1 12.25 1H9.8125ZM3.5 7.25C3.5 6.83579 3.83579 6.5 4.25 6.5H19.75C20.1642 6.5 20.5 6.83579 20.5 7.25V19.75C20.5 20.1642 20.1642 20.5 19.75 20.5H4.25C3.83579 20.5 3.5 20.1642 3.5 19.75V7.25Z" fill="black"/>
5
- </svg>