octicons_v2 0.0.0.pre.94d0d86 → 0.0.0.pre.95fd1c2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (420) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +116 -2
  3. data/lib/build/data.json +1 -1
  4. data/lib/build/svg/arrow-both.svg +1 -0
  5. data/lib/build/svg/bell.svg +1 -0
  6. data/lib/build/svg/{calendar-16.svg → calendar.svg} +1 -1
  7. data/lib/build/svg/check-circle.svg +1 -0
  8. data/lib/build/svg/credit-card.svg +1 -0
  9. data/lib/build/svg/desktop-device.svg +1 -0
  10. data/lib/build/svg/desktop-download.svg +1 -0
  11. data/lib/build/svg/file-binary.svg +1 -0
  12. data/lib/build/svg/file-code.svg +1 -0
  13. data/lib/build/svg/file-symlink-file.svg +1 -0
  14. data/lib/build/svg/fire.svg +1 -0
  15. data/lib/build/svg/fold-down.svg +1 -0
  16. data/lib/build/svg/fold-up.svg +1 -0
  17. data/lib/build/svg/fold.svg +1 -0
  18. data/lib/build/svg/{gift-16.svg → gift.svg} +1 -1
  19. data/lib/build/svg/git-pull-request.svg +1 -0
  20. data/lib/build/svg/grabber.svg +1 -0
  21. data/lib/build/svg/home.svg +1 -0
  22. data/lib/build/svg/kebab-horizontal.svg +1 -0
  23. data/lib/build/svg/kebab-vertical.svg +1 -0
  24. data/lib/build/svg/light-bulb.svg +1 -0
  25. data/lib/build/svg/link-external.svg +1 -0
  26. data/lib/build/svg/{mention-16.svg → mention.svg} +1 -1
  27. data/lib/build/svg/mortar-board.svg +1 -0
  28. data/lib/build/svg/package-dependencies.svg +1 -0
  29. data/lib/build/svg/package-dependents.svg +1 -0
  30. data/lib/build/svg/package.svg +1 -0
  31. data/lib/build/svg/plus.svg +1 -0
  32. data/lib/build/svg/request-changes.svg +1 -0
  33. data/lib/build/svg/{share-16.svg → share.svg} +1 -1
  34. data/lib/build/svg/stopwatch.svg +1 -0
  35. data/lib/build/svg/telescope.svg +1 -0
  36. data/lib/build/svg/{thumbsdown-16.svg → thumbsdown.svg} +1 -1
  37. data/lib/build/svg/unfold.svg +1 -0
  38. data/lib/build/svg/workflow.svg +1 -0
  39. data/lib/{octicons_v2/octicon_v2.rb → octicons/octicon.rb} +8 -27
  40. data/lib/octicons/version.rb +3 -0
  41. data/lib/{octicons_v2.rb → octicons.rb} +3 -3
  42. metadata +178 -387
  43. data/lib/build/svg/alert-24.svg +0 -1
  44. data/lib/build/svg/archive-24.svg +0 -1
  45. data/lib/build/svg/arrow-both-16.svg +0 -1
  46. data/lib/build/svg/arrow-both-24.svg +0 -1
  47. data/lib/build/svg/arrow-down-24.svg +0 -1
  48. data/lib/build/svg/arrow-down-left-24.svg +0 -1
  49. data/lib/build/svg/arrow-down-right-24.svg +0 -1
  50. data/lib/build/svg/arrow-left-24.svg +0 -1
  51. data/lib/build/svg/arrow-right-24.svg +0 -1
  52. data/lib/build/svg/arrow-up-24.svg +0 -1
  53. data/lib/build/svg/arrow-up-left-24.svg +0 -1
  54. data/lib/build/svg/arrow-up-right-24.svg +0 -1
  55. data/lib/build/svg/beaker-24.svg +0 -1
  56. data/lib/build/svg/bell-16.svg +0 -1
  57. data/lib/build/svg/bell-24.svg +0 -1
  58. data/lib/build/svg/bell-fill-24.svg +0 -1
  59. data/lib/build/svg/bell-slash-24.svg +0 -1
  60. data/lib/build/svg/bold-24.svg +0 -1
  61. data/lib/build/svg/book-24.svg +0 -1
  62. data/lib/build/svg/bookmark-24.svg +0 -1
  63. data/lib/build/svg/bookmark-fill-24.svg +0 -1
  64. data/lib/build/svg/bookmark-slash-24.svg +0 -1
  65. data/lib/build/svg/bookmark-slash-fill-24.svg +0 -1
  66. data/lib/build/svg/briefcase-16.svg +0 -1
  67. data/lib/build/svg/briefcase-24.svg +0 -1
  68. data/lib/build/svg/broadcast-24.svg +0 -1
  69. data/lib/build/svg/calendar-24.svg +0 -1
  70. data/lib/build/svg/check-24.svg +0 -1
  71. data/lib/build/svg/check-circle-16.svg +0 -1
  72. data/lib/build/svg/check-circle-24.svg +0 -1
  73. data/lib/build/svg/check-circle-fill-24.svg +0 -1
  74. data/lib/build/svg/checklist-24.svg +0 -1
  75. data/lib/build/svg/chevron-down-24.svg +0 -1
  76. data/lib/build/svg/chevron-left-24.svg +0 -1
  77. data/lib/build/svg/chevron-right-24.svg +0 -1
  78. data/lib/build/svg/chevron-up-24.svg +0 -1
  79. data/lib/build/svg/circle-24.svg +0 -1
  80. data/lib/build/svg/circle-slash-24.svg +0 -1
  81. data/lib/build/svg/clippy-24.svg +0 -1
  82. data/lib/build/svg/clock-24.svg +0 -1
  83. data/lib/build/svg/code-24.svg +0 -1
  84. data/lib/build/svg/code-review-24.svg +0 -1
  85. data/lib/build/svg/code-square-24.svg +0 -1
  86. data/lib/build/svg/comment-24.svg +0 -1
  87. data/lib/build/svg/comment-discussion-24.svg +0 -1
  88. data/lib/build/svg/commit-24.svg +0 -1
  89. data/lib/build/svg/copy-24.svg +0 -1
  90. data/lib/build/svg/cpu-24.svg +0 -1
  91. data/lib/build/svg/credit-card-16.svg +0 -1
  92. data/lib/build/svg/credit-card-24.svg +0 -1
  93. data/lib/build/svg/cross-reference-24.svg +0 -1
  94. data/lib/build/svg/dash-16.svg +0 -1
  95. data/lib/build/svg/dash-24.svg +0 -1
  96. data/lib/build/svg/database-24.svg +0 -1
  97. data/lib/build/svg/desktop-download-16.svg +0 -1
  98. data/lib/build/svg/desktop-download-24.svg +0 -1
  99. data/lib/build/svg/device-camera-video-24.svg +0 -1
  100. data/lib/build/svg/device-desktop-16.svg +0 -1
  101. data/lib/build/svg/device-desktop-24.svg +0 -1
  102. data/lib/build/svg/device-mobile-24.svg +0 -1
  103. data/lib/build/svg/diff-16.svg +0 -1
  104. data/lib/build/svg/diff-24.svg +0 -1
  105. data/lib/build/svg/dot-24.svg +0 -1
  106. data/lib/build/svg/dot-fill-24.svg +0 -1
  107. data/lib/build/svg/download-24.svg +0 -1
  108. data/lib/build/svg/ellipsis-16.svg +0 -1
  109. data/lib/build/svg/eye-24.svg +0 -1
  110. data/lib/build/svg/eye-slash-24.svg +0 -1
  111. data/lib/build/svg/file-24.svg +0 -1
  112. data/lib/build/svg/file-binary-16.svg +0 -1
  113. data/lib/build/svg/file-binary-24.svg +0 -1
  114. data/lib/build/svg/file-code-16.svg +0 -1
  115. data/lib/build/svg/file-code-24.svg +0 -1
  116. data/lib/build/svg/file-diff-24.svg +0 -1
  117. data/lib/build/svg/file-directory-24.svg +0 -1
  118. data/lib/build/svg/file-directory-fill-24.svg +0 -1
  119. data/lib/build/svg/file-media-24.svg +0 -1
  120. data/lib/build/svg/file-submodule-24.svg +0 -1
  121. data/lib/build/svg/file-symlink-24.svg +0 -1
  122. data/lib/build/svg/file-symlink-file-16.svg +0 -1
  123. data/lib/build/svg/file-zip-24.svg +0 -1
  124. data/lib/build/svg/filter-24.svg +0 -1
  125. data/lib/build/svg/fire-24.svg +0 -1
  126. data/lib/build/svg/flame-16.svg +0 -1
  127. data/lib/build/svg/fold-16.svg +0 -1
  128. data/lib/build/svg/fold-24.svg +0 -1
  129. data/lib/build/svg/fold-down-16.svg +0 -1
  130. data/lib/build/svg/fold-down-24.svg +0 -1
  131. data/lib/build/svg/fold-up-16.svg +0 -1
  132. data/lib/build/svg/fold-up-24.svg +0 -1
  133. data/lib/build/svg/gear-24.svg +0 -1
  134. data/lib/build/svg/gift-24.svg +0 -1
  135. data/lib/build/svg/git-branch-24.svg +0 -1
  136. data/lib/build/svg/git-commit-24.svg +0 -1
  137. data/lib/build/svg/git-compare-24.svg +0 -1
  138. data/lib/build/svg/git-fork-24.svg +0 -1
  139. data/lib/build/svg/git-merge-24.svg +0 -1
  140. data/lib/build/svg/git-pull-request-16.svg +0 -1
  141. data/lib/build/svg/git-pull-request-24.svg +0 -1
  142. data/lib/build/svg/globe-24.svg +0 -1
  143. data/lib/build/svg/grabber-16.svg +0 -1
  144. data/lib/build/svg/grabber-24.svg +0 -1
  145. data/lib/build/svg/graph-24.svg +0 -1
  146. data/lib/build/svg/heading-24.svg +0 -1
  147. data/lib/build/svg/heart-24.svg +0 -1
  148. data/lib/build/svg/heart-fill-24.svg +0 -1
  149. data/lib/build/svg/history-24.svg +0 -1
  150. data/lib/build/svg/home-16.svg +0 -1
  151. data/lib/build/svg/home-24.svg +0 -1
  152. data/lib/build/svg/home-fill-24.svg +0 -1
  153. data/lib/build/svg/horizontal-rule-16.svg +0 -1
  154. data/lib/build/svg/horizontal-rule-24.svg +0 -1
  155. data/lib/build/svg/hourglass-16.svg +0 -1
  156. data/lib/build/svg/hourglass-24.svg +0 -1
  157. data/lib/build/svg/hubot-24.svg +0 -1
  158. data/lib/build/svg/image-24.svg +0 -1
  159. data/lib/build/svg/inbox-24.svg +0 -1
  160. data/lib/build/svg/infinity-24.svg +0 -1
  161. data/lib/build/svg/info-24.svg +0 -1
  162. data/lib/build/svg/insights-24.svg +0 -1
  163. data/lib/build/svg/issue-closed-24.svg +0 -1
  164. data/lib/build/svg/issue-opened-24.svg +0 -1
  165. data/lib/build/svg/issue-reopened-24.svg +0 -1
  166. data/lib/build/svg/italic-24.svg +0 -1
  167. data/lib/build/svg/kebab-horizontal-16.svg +0 -1
  168. data/lib/build/svg/kebab-horizontal-24.svg +0 -1
  169. data/lib/build/svg/key-24.svg +0 -1
  170. data/lib/build/svg/law-24.svg +0 -1
  171. data/lib/build/svg/light-bulb-16.svg +0 -1
  172. data/lib/build/svg/light-bulb-24.svg +0 -1
  173. data/lib/build/svg/link-24.svg +0 -1
  174. data/lib/build/svg/link-external-16.svg +0 -1
  175. data/lib/build/svg/link-external-24.svg +0 -1
  176. data/lib/build/svg/list-ordered-24.svg +0 -1
  177. data/lib/build/svg/list-unordered-24.svg +0 -1
  178. data/lib/build/svg/location-24.svg +0 -1
  179. data/lib/build/svg/lock-24.svg +0 -1
  180. data/lib/build/svg/logo-gist-16.svg +0 -1
  181. data/lib/build/svg/logo-github-16.svg +0 -1
  182. data/lib/build/svg/mail-24.svg +0 -1
  183. data/lib/build/svg/megaphone-24.svg +0 -1
  184. data/lib/build/svg/mention-24.svg +0 -1
  185. data/lib/build/svg/milestone-24.svg +0 -1
  186. data/lib/build/svg/mirror-24.svg +0 -1
  187. data/lib/build/svg/moon-16.svg +0 -1
  188. data/lib/build/svg/moon-24.svg +0 -1
  189. data/lib/build/svg/mortar-board-16.svg +0 -1
  190. data/lib/build/svg/mortar-board-24.svg +0 -1
  191. data/lib/build/svg/mute-24.svg +0 -1
  192. data/lib/build/svg/no-entry-16.svg +0 -1
  193. data/lib/build/svg/no-entry-24.svg +0 -1
  194. data/lib/build/svg/north-star-16.svg +0 -1
  195. data/lib/build/svg/north-star-24.svg +0 -1
  196. data/lib/build/svg/note-24.svg +0 -1
  197. data/lib/build/svg/octoface-16.svg +0 -1
  198. data/lib/build/svg/organization-24.svg +0 -1
  199. data/lib/build/svg/package-16.svg +0 -1
  200. data/lib/build/svg/package-24.svg +0 -1
  201. data/lib/build/svg/package-dependencies-16.svg +0 -1
  202. data/lib/build/svg/package-dependencies-24.svg +0 -1
  203. data/lib/build/svg/package-dependents-16.svg +0 -1
  204. data/lib/build/svg/package-dependents-24.svg +0 -1
  205. data/lib/build/svg/paper-airplane-24.svg +0 -1
  206. data/lib/build/svg/pencil-24.svg +0 -1
  207. data/lib/build/svg/people-24.svg +0 -1
  208. data/lib/build/svg/person-24.svg +0 -1
  209. data/lib/build/svg/pin-24.svg +0 -1
  210. data/lib/build/svg/play-24.svg +0 -1
  211. data/lib/build/svg/plug-24.svg +0 -1
  212. data/lib/build/svg/plus-16.svg +0 -1
  213. data/lib/build/svg/plus-24.svg +0 -1
  214. data/lib/build/svg/plus-circle-24.svg +0 -1
  215. data/lib/build/svg/project-24.svg +0 -1
  216. data/lib/build/svg/pulse-24.svg +0 -1
  217. data/lib/build/svg/question-24.svg +0 -1
  218. data/lib/build/svg/quote-24.svg +0 -1
  219. data/lib/build/svg/reply-24.svg +0 -1
  220. data/lib/build/svg/repo-24.svg +0 -1
  221. data/lib/build/svg/repo-push-24.svg +0 -1
  222. data/lib/build/svg/repo-template-24.svg +0 -1
  223. data/lib/build/svg/report-16.svg +0 -1
  224. data/lib/build/svg/report-24.svg +0 -1
  225. data/lib/build/svg/rocket-24.svg +0 -1
  226. data/lib/build/svg/rss-24.svg +0 -1
  227. data/lib/build/svg/ruby-16.svg +0 -1
  228. data/lib/build/svg/ruby-24.svg +0 -1
  229. data/lib/build/svg/screen-full-24.svg +0 -1
  230. data/lib/build/svg/screen-normal-24.svg +0 -1
  231. data/lib/build/svg/search-24.svg +0 -1
  232. data/lib/build/svg/server-24.svg +0 -1
  233. data/lib/build/svg/settings-24.svg +0 -1
  234. data/lib/build/svg/share-24.svg +0 -1
  235. data/lib/build/svg/share-android-24.svg +0 -1
  236. data/lib/build/svg/shield-24.svg +0 -1
  237. data/lib/build/svg/shield-check-24.svg +0 -1
  238. data/lib/build/svg/shield-lock-24.svg +0 -1
  239. data/lib/build/svg/shield-x-24.svg +0 -1
  240. data/lib/build/svg/sign-in-16.svg +0 -1
  241. data/lib/build/svg/sign-in-24.svg +0 -1
  242. data/lib/build/svg/sign-out-16.svg +0 -1
  243. data/lib/build/svg/sign-out-24.svg +0 -1
  244. data/lib/build/svg/skip-24.svg +0 -1
  245. data/lib/build/svg/smiley-24.svg +0 -1
  246. data/lib/build/svg/star-24.svg +0 -1
  247. data/lib/build/svg/star-fill-24.svg +0 -1
  248. data/lib/build/svg/stop-24.svg +0 -1
  249. data/lib/build/svg/stopwatch-16.svg +0 -1
  250. data/lib/build/svg/stopwatch-24.svg +0 -1
  251. data/lib/build/svg/sun-16.svg +0 -1
  252. data/lib/build/svg/sun-24.svg +0 -1
  253. data/lib/build/svg/sync-24.svg +0 -1
  254. data/lib/build/svg/tab-24.svg +0 -1
  255. data/lib/build/svg/tag-24.svg +0 -1
  256. data/lib/build/svg/tasklist-24.svg +0 -1
  257. data/lib/build/svg/telescope-16.svg +0 -1
  258. data/lib/build/svg/telescope-24.svg +0 -1
  259. data/lib/build/svg/terminal-24.svg +0 -1
  260. data/lib/build/svg/thumbsdown-24.svg +0 -1
  261. data/lib/build/svg/thumbsup-24.svg +0 -1
  262. data/lib/build/svg/tools-24.svg +0 -1
  263. data/lib/build/svg/trash-24.svg +0 -1
  264. data/lib/build/svg/triangle-down-24.svg +0 -1
  265. data/lib/build/svg/triangle-left-24.svg +0 -1
  266. data/lib/build/svg/triangle-right-24.svg +0 -1
  267. data/lib/build/svg/triangle-up-24.svg +0 -1
  268. data/lib/build/svg/typography-24.svg +0 -1
  269. data/lib/build/svg/unfold-16.svg +0 -1
  270. data/lib/build/svg/unfold-24.svg +0 -1
  271. data/lib/build/svg/unlock-24.svg +0 -1
  272. data/lib/build/svg/unmute-24.svg +0 -1
  273. data/lib/build/svg/unverifed-24.svg +0 -1
  274. data/lib/build/svg/upload-24.svg +0 -1
  275. data/lib/build/svg/verified-24.svg +0 -1
  276. data/lib/build/svg/versions-24.svg +0 -1
  277. data/lib/build/svg/workflow-16.svg +0 -1
  278. data/lib/build/svg/workflow-24.svg +0 -1
  279. data/lib/build/svg/x-24.svg +0 -1
  280. data/lib/build/svg/x-circle-24.svg +0 -1
  281. data/lib/build/svg/x-circle-fill-24.svg +0 -1
  282. data/lib/octicons_v2/version.rb +0 -3
  283. /data/lib/build/svg/{alert-16.svg → alert.svg} +0 -0
  284. /data/lib/build/svg/{archive-16.svg → archive.svg} +0 -0
  285. /data/lib/build/svg/{arrow-down-16.svg → arrow-down.svg} +0 -0
  286. /data/lib/build/svg/{arrow-left-16.svg → arrow-left.svg} +0 -0
  287. /data/lib/build/svg/{arrow-right-16.svg → arrow-right.svg} +0 -0
  288. /data/lib/build/svg/{arrow-up-16.svg → arrow-up.svg} +0 -0
  289. /data/lib/build/svg/{beaker-16.svg → beaker.svg} +0 -0
  290. /data/lib/build/svg/{bell-slash-16.svg → bell-slash.svg} +0 -0
  291. /data/lib/build/svg/{bold-16.svg → bold.svg} +0 -0
  292. /data/lib/build/svg/{book-16.svg → book.svg} +0 -0
  293. /data/lib/build/svg/{bookmark-slash-16.svg → bookmark-slash.svg} +0 -0
  294. /data/lib/build/svg/{bookmark-16.svg → bookmark.svg} +0 -0
  295. /data/lib/build/svg/{broadcast-16.svg → broadcast.svg} +0 -0
  296. /data/lib/build/svg/{check-circle-fill-16.svg → check-circle-fill.svg} +0 -0
  297. /data/lib/build/svg/{check-16.svg → check.svg} +0 -0
  298. /data/lib/build/svg/{checklist-16.svg → checklist.svg} +0 -0
  299. /data/lib/build/svg/{chevron-down-16.svg → chevron-down.svg} +0 -0
  300. /data/lib/build/svg/{chevron-left-16.svg → chevron-left.svg} +0 -0
  301. /data/lib/build/svg/{chevron-right-16.svg → chevron-right.svg} +0 -0
  302. /data/lib/build/svg/{chevron-up-16.svg → chevron-up.svg} +0 -0
  303. /data/lib/build/svg/{circle-slash-16.svg → circle-slash.svg} +0 -0
  304. /data/lib/build/svg/{clippy-16.svg → clippy.svg} +0 -0
  305. /data/lib/build/svg/{clock-16.svg → clock.svg} +0 -0
  306. /data/lib/build/svg/{code-review-16.svg → code-review.svg} +0 -0
  307. /data/lib/build/svg/{code-square-16.svg → code-square.svg} +0 -0
  308. /data/lib/build/svg/{code-16.svg → code.svg} +0 -0
  309. /data/lib/build/svg/{comment-discussion-16.svg → comment-discussion.svg} +0 -0
  310. /data/lib/build/svg/{comment-16.svg → comment.svg} +0 -0
  311. /data/lib/build/svg/{cpu-16.svg → cpu.svg} +0 -0
  312. /data/lib/build/svg/{cross-reference-16.svg → cross-reference.svg} +0 -0
  313. /data/lib/build/svg/{database-16.svg → database.svg} +0 -0
  314. /data/lib/build/svg/{device-camera-video-16.svg → device-camera-video.svg} +0 -0
  315. /data/lib/build/svg/{device-mobile-16.svg → device-mobile.svg} +0 -0
  316. /data/lib/build/svg/{diff-added-16.svg → diff-added.svg} +0 -0
  317. /data/lib/build/svg/{diff-ignored-16.svg → diff-ignored.svg} +0 -0
  318. /data/lib/build/svg/{diff-modified-16.svg → diff-modified.svg} +0 -0
  319. /data/lib/build/svg/{diff-removed-16.svg → diff-removed.svg} +0 -0
  320. /data/lib/build/svg/{diff-renamed-16.svg → diff-renamed.svg} +0 -0
  321. /data/lib/build/svg/{dot-fill-16.svg → dot-fill.svg} +0 -0
  322. /data/lib/build/svg/{dot-16.svg → dot.svg} +0 -0
  323. /data/lib/build/svg/{download-16.svg → download.svg} +0 -0
  324. /data/lib/build/svg/{eye-closed-16.svg → eye-closed.svg} +0 -0
  325. /data/lib/build/svg/{eye-16.svg → eye.svg} +0 -0
  326. /data/lib/build/svg/{file-diff-16.svg → file-diff.svg} +0 -0
  327. /data/lib/build/svg/{file-directory-16.svg → file-directory.svg} +0 -0
  328. /data/lib/build/svg/{file-submodule-16.svg → file-submodule.svg} +0 -0
  329. /data/lib/build/svg/{file-zip-16.svg → file-zip.svg} +0 -0
  330. /data/lib/build/svg/{file-16.svg → file.svg} +0 -0
  331. /data/lib/build/svg/{filter-16.svg → filter.svg} +0 -0
  332. /data/lib/build/svg/{gear-16.svg → gear.svg} +0 -0
  333. /data/lib/build/svg/{git-branch-16.svg → git-branch.svg} +0 -0
  334. /data/lib/build/svg/{git-commit-16.svg → git-commit.svg} +0 -0
  335. /data/lib/build/svg/{git-compare-16.svg → git-compare.svg} +0 -0
  336. /data/lib/build/svg/{git-merge-16.svg → git-merge.svg} +0 -0
  337. /data/lib/build/svg/{globe-16.svg → globe.svg} +0 -0
  338. /data/lib/build/svg/{graph-16.svg → graph.svg} +0 -0
  339. /data/lib/build/svg/{heading-16.svg → heading.svg} +0 -0
  340. /data/lib/build/svg/{heart-fill-16.svg → heart-fill.svg} +0 -0
  341. /data/lib/build/svg/{heart-16.svg → heart.svg} +0 -0
  342. /data/lib/build/svg/{history-16.svg → history.svg} +0 -0
  343. /data/lib/build/svg/{hubot-16.svg → hubot.svg} +0 -0
  344. /data/lib/build/svg/{image-16.svg → image.svg} +0 -0
  345. /data/lib/build/svg/{inbox-16.svg → inbox.svg} +0 -0
  346. /data/lib/build/svg/{infinity-16.svg → infinity.svg} +0 -0
  347. /data/lib/build/svg/{info-16.svg → info.svg} +0 -0
  348. /data/lib/build/svg/{issue-closed-16.svg → issue-closed.svg} +0 -0
  349. /data/lib/build/svg/{issue-opened-16.svg → issue-opened.svg} +0 -0
  350. /data/lib/build/svg/{issue-reopened-16.svg → issue-reopened.svg} +0 -0
  351. /data/lib/build/svg/{italic-16.svg → italic.svg} +0 -0
  352. /data/lib/build/svg/{key-16.svg → key.svg} +0 -0
  353. /data/lib/build/svg/{law-16.svg → law.svg} +0 -0
  354. /data/lib/build/svg/{link-16.svg → link.svg} +0 -0
  355. /data/lib/build/svg/{list-ordered-16.svg → list-ordered.svg} +0 -0
  356. /data/lib/build/svg/{list-unordered-16.svg → list-unordered.svg} +0 -0
  357. /data/lib/build/svg/{location-16.svg → location.svg} +0 -0
  358. /data/lib/build/svg/{lock-16.svg → lock.svg} +0 -0
  359. /data/lib/build/svg/{mail-16.svg → mail.svg} +0 -0
  360. /data/lib/build/svg/{mark-github-16.svg → mark-github.svg} +0 -0
  361. /data/lib/build/svg/{markdown-16.svg → markdown.svg} +0 -0
  362. /data/lib/build/svg/{megaphone-16.svg → megaphone.svg} +0 -0
  363. /data/lib/build/svg/{milestone-16.svg → milestone.svg} +0 -0
  364. /data/lib/build/svg/{mirror-16.svg → mirror.svg} +0 -0
  365. /data/lib/build/svg/{mute-16.svg → mute.svg} +0 -0
  366. /data/lib/build/svg/{note-16.svg → note.svg} +0 -0
  367. /data/lib/build/svg/{organization-16.svg → organization.svg} +0 -0
  368. /data/lib/build/svg/{paper-airplane-16.svg → paper-airplane.svg} +0 -0
  369. /data/lib/build/svg/{pencil-16.svg → pencil.svg} +0 -0
  370. /data/lib/build/svg/{people-16.svg → people.svg} +0 -0
  371. /data/lib/build/svg/{person-16.svg → person.svg} +0 -0
  372. /data/lib/build/svg/{pin-16.svg → pin.svg} +0 -0
  373. /data/lib/build/svg/{play-16.svg → play.svg} +0 -0
  374. /data/lib/build/svg/{plug-16.svg → plug.svg} +0 -0
  375. /data/lib/build/svg/{plus-circle-16.svg → plus-circle.svg} +0 -0
  376. /data/lib/build/svg/{project-16.svg → project.svg} +0 -0
  377. /data/lib/build/svg/{pulse-16.svg → pulse.svg} +0 -0
  378. /data/lib/build/svg/{question-16.svg → question.svg} +0 -0
  379. /data/lib/build/svg/{quote-16.svg → quote.svg} +0 -0
  380. /data/lib/build/svg/{reply-16.svg → reply.svg} +0 -0
  381. /data/lib/build/svg/{repo-forked-16.svg → repo-forked.svg} +0 -0
  382. /data/lib/build/svg/{repo-push-16.svg → repo-push.svg} +0 -0
  383. /data/lib/build/svg/{repo-template-16.svg → repo-template.svg} +0 -0
  384. /data/lib/build/svg/{repo-16.svg → repo.svg} +0 -0
  385. /data/lib/build/svg/{rocket-16.svg → rocket.svg} +0 -0
  386. /data/lib/build/svg/{rss-16.svg → rss.svg} +0 -0
  387. /data/lib/build/svg/{screen-full-16.svg → screen-full.svg} +0 -0
  388. /data/lib/build/svg/{screen-normal-16.svg → screen-normal.svg} +0 -0
  389. /data/lib/build/svg/{search-16.svg → search.svg} +0 -0
  390. /data/lib/build/svg/{server-16.svg → server.svg} +0 -0
  391. /data/lib/build/svg/{share-android-16.svg → share-android.svg} +0 -0
  392. /data/lib/build/svg/{shield-check-16.svg → shield-check.svg} +0 -0
  393. /data/lib/build/svg/{shield-lock-16.svg → shield-lock.svg} +0 -0
  394. /data/lib/build/svg/{shield-x-16.svg → shield-x.svg} +0 -0
  395. /data/lib/build/svg/{shield-16.svg → shield.svg} +0 -0
  396. /data/lib/build/svg/{skip-16.svg → skip.svg} +0 -0
  397. /data/lib/build/svg/{smiley-16.svg → smiley.svg} +0 -0
  398. /data/lib/build/svg/{star-fill-16.svg → star-fill.svg} +0 -0
  399. /data/lib/build/svg/{star-16.svg → star.svg} +0 -0
  400. /data/lib/build/svg/{stop-16.svg → stop.svg} +0 -0
  401. /data/lib/build/svg/{sync-16.svg → sync.svg} +0 -0
  402. /data/lib/build/svg/{tag-16.svg → tag.svg} +0 -0
  403. /data/lib/build/svg/{tasklist-16.svg → tasklist.svg} +0 -0
  404. /data/lib/build/svg/{terminal-16.svg → terminal.svg} +0 -0
  405. /data/lib/build/svg/{three-bars-16.svg → three-bars.svg} +0 -0
  406. /data/lib/build/svg/{thumbsup-16.svg → thumbsup.svg} +0 -0
  407. /data/lib/build/svg/{tools-16.svg → tools.svg} +0 -0
  408. /data/lib/build/svg/{trashcan-16.svg → trashcan.svg} +0 -0
  409. /data/lib/build/svg/{triangle-down-16.svg → triangle-down.svg} +0 -0
  410. /data/lib/build/svg/{triangle-left-16.svg → triangle-left.svg} +0 -0
  411. /data/lib/build/svg/{triangle-right-16.svg → triangle-right.svg} +0 -0
  412. /data/lib/build/svg/{triangle-up-16.svg → triangle-up.svg} +0 -0
  413. /data/lib/build/svg/{typography-16.svg → typography.svg} +0 -0
  414. /data/lib/build/svg/{unlock-16.svg → unlock.svg} +0 -0
  415. /data/lib/build/svg/{unmute-16.svg → unmute.svg} +0 -0
  416. /data/lib/build/svg/{unverified-16.svg → unverified.svg} +0 -0
  417. /data/lib/build/svg/{upload-16.svg → upload.svg} +0 -0
  418. /data/lib/build/svg/{verified-16.svg → verified.svg} +0 -0
  419. /data/lib/build/svg/{versions-16.svg → versions.svg} +0 -0
  420. /data/lib/build/svg/{x-16.svg → x.svg} +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 36eb70452b77a4bd40046d9d95e98f6ec0dcb68c453341fb8389acf568b19f13
4
- data.tar.gz: 316a5ce476688026e780f702cca768954ae71bc321fecccf4b5638617dd9a2fb
3
+ metadata.gz: f18ce29c3fd3b36b86ab191f56774d96b6a6032685af69e8077f02454f14ffaf
4
+ data.tar.gz: e37ca02b232d764f1ce85ce67dd21416e9826b6e6fa7edc9dc452857b3034bed
5
5
  SHA512:
6
- metadata.gz: 25f897375c4b89399e286343225abfd22a0a1811cb3353281f3de449b82b01c4a6244ba940055c948b96013eb9ddaae000c710601f033310d43acc25d67f0693
7
- data.tar.gz: 9de6d6054b0e7a7dfd01894f7ba9c3530991b4b7b4b33a3427bfcdc7263e2f086cd43f1abcc301d2710fa248e3ef748444c7563117f34873b916f44e7b353e72
6
+ metadata.gz: 1e9e3b64b448ea7650f67b2b009acd19c1951abd2f093e8c140d66d69c41ffe3bb89cdba1fb6d478b8d7bd9a9116da15b2b1be47e3dcfa28e5f269baa6bca6ac
7
+ data.tar.gz: 8994757b89c3e87638b8527f5ee571f9579d92038943a086846bcd95be6fb978b2abb7dd2c9523af0ae75107bc619d208ffec773fbff879213cda3f93e11ef9e
data/README.md CHANGED
@@ -1,5 +1,119 @@
1
- # octicons
1
+ # Octicons gem
2
2
 
3
3
  [![Gem version](https://img.shields.io/gem/v/octicons.svg)](https://rubygems.org/gems/octicons)
4
+ [![Build Status](https://travis-ci.org/primer/octicons.svg?branch=master)](https://travis-ci.org/primer/octicons)
4
5
 
5
- See https://primer.style/octicons/packages/ruby
6
+ > Octicons gem to distribute octicons svg
7
+
8
+ ## Install
9
+
10
+ Add this to your `Gemfile`
11
+
12
+ ```rb
13
+ gem 'octicons'
14
+ ```
15
+
16
+ Then `bundle install`.
17
+
18
+ ## Usage
19
+
20
+ ```rb
21
+ require 'octicons'
22
+ icon = Octicons::Octicon.new("x")
23
+ icon.to_svg
24
+ # <svg class="octicon octicon-x" viewBox="0 0 16 16" width="16" height="16" version="1.1" "aria-hidden"="true"><path d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"></path></svg>
25
+ ```
26
+
27
+ ## Documentation
28
+
29
+ The `Octicon` class takes two arguments. The first is the symbol of the icon, and the second is a hash of arguments representing html attributes
30
+
31
+ #### `symbol` _(required)_
32
+
33
+ This is the name of the octicon you want to use. For example `alert`. [Full list of icons][octicons-docs]
34
+
35
+ #### Options
36
+
37
+ * `:height` - When setting the height to a number, the icon will scale to that size. For example, passing `32`, will calculate the width based on the icon's natural size.
38
+ * `:width` - When setting the width to a number, the icon will scale to that size. For example, passing `32`, will calculate the width based on the icon's natural size.
39
+
40
+ If both `:width, :height` are passed into the options hash, then the icon will be sized exactly at those dimensions.
41
+
42
+ #### Attributes
43
+
44
+ Once initialized, you can read a few properties from the icon.
45
+
46
+ ##### `symbol`
47
+
48
+ Returns the string of the symbol name
49
+
50
+ ```rb
51
+ icon = Octicons::Octicon.new("x")
52
+ icon.symbol
53
+ # "x"
54
+ ```
55
+
56
+ ##### `path`
57
+
58
+ Path returns the string representation of the path of the icon.
59
+
60
+ ```rb
61
+ icon = Octicons::Octicon.new("x")
62
+ icon.path
63
+ # <path d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"></path>
64
+ ```
65
+
66
+ ##### `options`
67
+
68
+ This is a hash of all the `options` that will be added to the output tag.
69
+
70
+ ```rb
71
+ icon = Octicons::Octicon.new("x")
72
+ icon.options
73
+ # {:class=>"octicon octicon-x", :viewBox=>"0 0 12 16", :version=>"1.1", :width=>12, :height=>16, :"aria-hidden"=>"true"}
74
+ ```
75
+
76
+ ##### `width`
77
+
78
+ Width is the icon's true width. Based on the svg view box width. _Note, this doesn't change if you scale it up with size options, it only is the natural width of the icon_
79
+
80
+ ##### `height`
81
+
82
+ Height is the icon's true height. Based on the svg view box height. _Note, this doesn't change if you scale it up with size options, it only is the natural height of the icon_
83
+
84
+ ##### `keywords`
85
+
86
+ Returns an array of keywords for the icon. The data comes from the [data file in lib](../data.json). Consider contributing more aliases for the icons.
87
+
88
+ ```rb
89
+ icon = Octicons::Octicon.new("x")
90
+ icon.keywords
91
+ # ["remove", "close", "delete"]
92
+ ```
93
+
94
+ #### Methods
95
+
96
+ ##### `to_svg`
97
+
98
+ Returns a string of the svg tag
99
+
100
+ ```rb
101
+ icon = Octicons::Octicon.new("x")
102
+ icon.to_svg
103
+ # <svg class="octicon octicon-x" viewBox="0 0 16 16" width="16" height="16" version="1.1" "aria-hidden"="true"><path d="M7.48 8l3.75 3.75-1.48 1.48L6 9.48l-3.75 3.75-1.48-1.48L4.52 8 .77 4.25l1.48-1.48L6 6.52l3.75-3.75 1.48 1.48z"></path></svg>
104
+ ```
105
+
106
+ ## Documentation
107
+
108
+ For a full list of options available, see the [octicons_gem documentation](../octicons_gem/#documentation)
109
+
110
+ ## License
111
+
112
+ (c) GitHub, Inc.
113
+
114
+ When using the GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).
115
+
116
+ [MIT](./LICENSE)
117
+
118
+ [octicons]: https://github.com/primer/octicons
119
+ [octicons-docs]: https://octicons.github.com/