octicons_helper 0.0.0.pre.c65a996 → 0.0.0.pre.c89efd4

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="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.258V9h1.75a.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 +1,3 @@
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
+ <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="M7.71967 0.21967C8.01256 -0.0732233 8.48744 -0.0732233 8.78033 0.21967L9.98381 1.42315C10.6005 1.15108 11.2826 1 12 1C12.7174 1 13.3995 1.15108 14.0162 1.42315L15.2197 0.21967C15.5126 -0.0732233 15.9874 -0.0732233 16.2803 0.21967C16.5732 0.512563 16.5732 0.987437 16.2803 1.28033L15.3091 2.25158C16.3461 3.16772 17 4.50749 17 6L17 7.10352C17.9416 7.36984 18.6779 8.12518 18.9173 9.07784L20.9146 8.07918C21.2851 7.89394 21.7356 8.04411 21.9208 8.41459C22.1061 8.78507 21.9559 9.23558 21.5854 9.42082L19 10.7135V13.5009L21.7509 13.5044C22.1652 13.5049 22.5005 13.8411 22.5 14.2553C22.4995 14.6695 22.1633 15.0049 21.7491 15.0044L19 15.0009V16C19 16.5812 18.9292 17.1458 18.7957 17.6857C18.809 17.6915 18.8223 17.6976 18.8354 17.7042L21.5854 19.0792C21.9559 19.2644 22.1061 19.7149 21.9208 20.0854C21.7356 20.4559 21.2851 20.6061 20.9146 20.4208L18.2769 19.102C17.1332 21.4118 14.7521 23 12 23C9.31022 23 6.97478 21.4829 5.80266 19.2577L3.04544 20.4394C2.66472 20.6026 2.22381 20.4262 2.06064 20.0455C1.89747 19.6648 2.07384 19.2238 2.45456 19.0607L5.25047 17.8624C5.08721 17.2694 5 16.6449 5 16V15.0044H2.25C1.83579 15.0044 1.5 14.6686 1.5 14.2544C1.5 13.8402 1.83579 13.5044 2.25 13.5044H5V10.7135L2.41459 9.42082C2.04411 9.23558 1.89394 8.78507 2.07918 8.41459C2.26442 8.04411 2.71493 7.89394 3.08541 8.07918L5.08274 9.07784C5.32205 8.12518 6.05837 7.36984 7 7.10352L7 6C7 4.5075 7.65394 3.16773 8.69092 2.25159L7.71967 1.28033C7.42678 0.987437 7.42678 0.512563 7.71967 0.21967ZM8.5 7H15.5L15.5 6C15.5 4.067 13.933 2.5 12 2.5C10.067 2.5 8.5 4.067 8.5 6L8.5 7ZM6.5 10.2662C6.50022 10.2558 6.50022 10.2453 6.5 10.2349V9.75C6.5 9.05964 7.05964 8.5 7.75 8.5H16.25C16.9404 8.5 17.5 9.05964 17.5 9.75V10.2349C17.4998 10.2453 17.4998 10.2558 17.5 10.2662V16C17.5 19.0376 15.0376 21.5 12 21.5C8.96243 21.5 6.5 19.0376 6.5 16V10.2662Z" fill="black"/>
3
+ </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.c65a996".freeze
2
+ VERSION = "0.0.0.pre.c89efd4".freeze
3
3
  end
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: 0.0.0.pre.c65a996
4
+ version: 0.0.0.pre.c89efd4
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: 0.0.0.pre.c65a996
19
+ version: 0.0.0.pre.c89efd4
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.c65a996
26
+ version: 0.0.0.pre.c89efd4
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>