octicons_v2 0.0.0.pre.c49ba32 → 0.0.0.pre.cb6d341

Sign up to get free protection for your applications and to get access to all the features.
Files changed (384) 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/alert-16.svg +3 -1
  5. data/lib/build/svg/alert-24.svg +5 -1
  6. data/lib/build/svg/archive-16.svg +3 -1
  7. data/lib/build/svg/archive-24.svg +5 -1
  8. data/lib/build/svg/arrow-both-16.svg +3 -1
  9. data/lib/build/svg/arrow-both-24.svg +3 -1
  10. data/lib/build/svg/arrow-down-16.svg +3 -1
  11. data/lib/build/svg/arrow-down-24.svg +3 -1
  12. data/lib/build/svg/arrow-down-left-24.svg +3 -1
  13. data/lib/build/svg/arrow-down-right-24.svg +3 -1
  14. data/lib/build/svg/arrow-left-16.svg +3 -1
  15. data/lib/build/svg/arrow-left-24.svg +3 -1
  16. data/lib/build/svg/arrow-right-16.svg +3 -1
  17. data/lib/build/svg/arrow-right-24.svg +3 -1
  18. data/lib/build/svg/arrow-up-16.svg +3 -1
  19. data/lib/build/svg/arrow-up-24.svg +3 -1
  20. data/lib/build/svg/arrow-up-left-24.svg +3 -1
  21. data/lib/build/svg/arrow-up-right-24.svg +3 -1
  22. data/lib/build/svg/beaker-16.svg +3 -1
  23. data/lib/build/svg/beaker-24.svg +3 -1
  24. data/lib/build/svg/bell-16.svg +4 -1
  25. data/lib/build/svg/bell-24.svg +3 -1
  26. data/lib/build/svg/bell-fill-24.svg +3 -1
  27. data/lib/build/svg/bell-slash-16.svg +3 -1
  28. data/lib/build/svg/bell-slash-24.svg +4 -1
  29. data/lib/build/svg/bold-16.svg +3 -1
  30. data/lib/build/svg/bold-24.svg +3 -1
  31. data/lib/build/svg/book-16.svg +3 -1
  32. data/lib/build/svg/book-24.svg +3 -1
  33. data/lib/build/svg/bookmark-16.svg +3 -1
  34. data/lib/build/svg/bookmark-24.svg +3 -1
  35. data/lib/build/svg/bookmark-fill-24.svg +3 -1
  36. data/lib/build/svg/bookmark-slash-16.svg +3 -1
  37. data/lib/build/svg/bookmark-slash-24.svg +4 -1
  38. data/lib/build/svg/bookmark-slash-fill-24.svg +3 -1
  39. data/lib/build/svg/broadcast-16.svg +3 -1
  40. data/lib/build/svg/broadcast-24.svg +7 -1
  41. data/lib/build/svg/calendar-16.svg +3 -1
  42. data/lib/build/svg/calendar-24.svg +3 -1
  43. data/lib/build/svg/check-16.svg +3 -1
  44. data/lib/build/svg/check-24.svg +3 -1
  45. data/lib/build/svg/check-circle-16.svg +3 -1
  46. data/lib/build/svg/check-circle-24.svg +4 -1
  47. data/lib/build/svg/check-circle-fill-16.svg +3 -1
  48. data/lib/build/svg/check-circle-fill-24.svg +3 -1
  49. data/lib/build/svg/checklist-16.svg +3 -1
  50. data/lib/build/svg/checklist-24.svg +6 -1
  51. data/lib/build/svg/chevron-down-16.svg +3 -1
  52. data/lib/build/svg/chevron-down-24.svg +3 -1
  53. data/lib/build/svg/chevron-left-16.svg +3 -1
  54. data/lib/build/svg/chevron-left-24.svg +3 -1
  55. data/lib/build/svg/chevron-right-16.svg +3 -1
  56. data/lib/build/svg/chevron-right-24.svg +3 -1
  57. data/lib/build/svg/chevron-up-16.svg +3 -1
  58. data/lib/build/svg/chevron-up-24.svg +3 -1
  59. data/lib/build/svg/circle-24.svg +3 -1
  60. data/lib/build/svg/circle-slash-16.svg +3 -1
  61. data/lib/build/svg/circle-slash-24.svg +3 -1
  62. data/lib/build/svg/clippy-16.svg +3 -1
  63. data/lib/build/svg/clippy-24.svg +4 -1
  64. data/lib/build/svg/clock-16.svg +3 -1
  65. data/lib/build/svg/clock-24.svg +4 -1
  66. data/lib/build/svg/code-16.svg +3 -1
  67. data/lib/build/svg/code-24.svg +4 -1
  68. data/lib/build/svg/code-review-16.svg +3 -1
  69. data/lib/build/svg/code-review-24.svg +5 -1
  70. data/lib/build/svg/code-square-16.svg +3 -1
  71. data/lib/build/svg/code-square-24.svg +5 -1
  72. data/lib/build/svg/comment-16.svg +3 -1
  73. data/lib/build/svg/comment-24.svg +3 -1
  74. data/lib/build/svg/comment-discussion-16.svg +3 -1
  75. data/lib/build/svg/comment-discussion-24.svg +4 -1
  76. data/lib/build/svg/commit-24.svg +5 -1
  77. data/lib/build/svg/copy-24.svg +3 -1
  78. data/lib/build/svg/cpu-16.svg +3 -1
  79. data/lib/build/svg/cpu-24.svg +4 -1
  80. data/lib/build/svg/credit-card-16.svg +4 -1
  81. data/lib/build/svg/credit-card-24.svg +4 -1
  82. data/lib/build/svg/cross-reference-16.svg +3 -1
  83. data/lib/build/svg/cross-reference-24.svg +4 -1
  84. data/lib/build/svg/dash-16.svg +3 -1
  85. data/lib/build/svg/dash-24.svg +3 -1
  86. data/lib/build/svg/database-16.svg +3 -1
  87. data/lib/build/svg/database-24.svg +3 -1
  88. data/lib/build/svg/desktop-device-24.svg +3 -0
  89. data/lib/build/svg/desktop-download-16.svg +3 -1
  90. data/lib/build/svg/desktop-download-24.svg +4 -1
  91. data/lib/build/svg/device-camera-video-16.svg +3 -1
  92. data/lib/build/svg/device-camera-video-24.svg +3 -1
  93. data/lib/build/svg/device-desktop-16.svg +3 -1
  94. data/lib/build/svg/device-mobile-16.svg +3 -1
  95. data/lib/build/svg/device-mobile-24.svg +5 -1
  96. data/lib/build/svg/diff-16.svg +3 -1
  97. data/lib/build/svg/diff-added-16.svg +3 -1
  98. data/lib/build/svg/diff-ignored-16.svg +3 -1
  99. data/lib/build/svg/diff-modified-16.svg +3 -1
  100. data/lib/build/svg/diff-removed-16.svg +3 -1
  101. data/lib/build/svg/diff-renamed-16.svg +3 -1
  102. data/lib/build/svg/dot-16.svg +3 -1
  103. data/lib/build/svg/dot-24.svg +3 -1
  104. data/lib/build/svg/dot-fill-16.svg +3 -1
  105. data/lib/build/svg/dot-fill-24.svg +3 -1
  106. data/lib/build/svg/download-16.svg +3 -1
  107. data/lib/build/svg/download-24.svg +4 -1
  108. data/lib/build/svg/eye-16.svg +3 -1
  109. data/lib/build/svg/eye-24.svg +4 -1
  110. data/lib/build/svg/eye-closed-16.svg +10 -1
  111. data/lib/build/svg/eye-slash-24.svg +4 -1
  112. data/lib/build/svg/file-16.svg +3 -1
  113. data/lib/build/svg/file-24.svg +3 -1
  114. data/lib/build/svg/file-binary-16.svg +3 -1
  115. data/lib/build/svg/file-binary-24.svg +5 -1
  116. data/lib/build/svg/file-code-16.svg +3 -1
  117. data/lib/build/svg/file-code-24.svg +5 -1
  118. data/lib/build/svg/file-diff-16.svg +3 -1
  119. data/lib/build/svg/file-diff-24.svg +5 -1
  120. data/lib/build/svg/file-directory-16.svg +3 -1
  121. data/lib/build/svg/file-directory-24.svg +3 -1
  122. data/lib/build/svg/file-directory-fill-24.svg +3 -1
  123. data/lib/build/svg/file-media-24.svg +3 -1
  124. data/lib/build/svg/file-submodule-16.svg +3 -1
  125. data/lib/build/svg/file-submodule-24.svg +3 -1
  126. data/lib/build/svg/file-symlink-24.svg +3 -1
  127. data/lib/build/svg/file-symlink-file-16.svg +3 -1
  128. data/lib/build/svg/file-zip-16.svg +3 -1
  129. data/lib/build/svg/file-zip-24.svg +13 -1
  130. data/lib/build/svg/filter-16.svg +3 -1
  131. data/lib/build/svg/filter-24.svg +5 -1
  132. data/lib/build/svg/fire-24.svg +3 -1
  133. data/lib/build/svg/flame-16.svg +3 -1
  134. data/lib/build/svg/fold-16.svg +3 -1
  135. data/lib/build/svg/fold-24.svg +11 -1
  136. data/lib/build/svg/fold-down-16.svg +3 -1
  137. data/lib/build/svg/fold-down-24.svg +9 -1
  138. data/lib/build/svg/fold-up-16.svg +3 -1
  139. data/lib/build/svg/fold-up-24.svg +9 -1
  140. data/lib/build/svg/gear-16.svg +3 -1
  141. data/lib/build/svg/gear-24.svg +4 -1
  142. data/lib/build/svg/gift-16.svg +3 -1
  143. data/lib/build/svg/gift-24.svg +3 -1
  144. data/lib/build/svg/git-branch-16.svg +3 -1
  145. data/lib/build/svg/git-branch-24.svg +7 -1
  146. data/lib/build/svg/git-commit-16.svg +3 -1
  147. data/lib/build/svg/git-commit-24.svg +3 -1
  148. data/lib/build/svg/git-compare-16.svg +3 -1
  149. data/lib/build/svg/git-compare-24.svg +6 -1
  150. data/lib/build/svg/git-fork-24.svg +7 -1
  151. data/lib/build/svg/git-merge-16.svg +3 -1
  152. data/lib/build/svg/git-merge-24.svg +7 -1
  153. data/lib/build/svg/git-pull-request-16.svg +3 -1
  154. data/lib/build/svg/git-pull-request-24.svg +7 -1
  155. data/lib/build/svg/globe-16.svg +3 -1
  156. data/lib/build/svg/globe-24.svg +3 -1
  157. data/lib/build/svg/grabber-16.svg +3 -1
  158. data/lib/build/svg/grabber-24.svg +3 -1
  159. data/lib/build/svg/grabber-3-24.svg +3 -0
  160. data/lib/build/svg/graph-16.svg +3 -1
  161. data/lib/build/svg/graph-24.svg +4 -1
  162. data/lib/build/svg/heading-16.svg +3 -1
  163. data/lib/build/svg/heading-24.svg +3 -1
  164. data/lib/build/svg/heart-16.svg +3 -1
  165. data/lib/build/svg/heart-24.svg +3 -1
  166. data/lib/build/svg/heart-fill-16.svg +3 -1
  167. data/lib/build/svg/heart-fill-24.svg +3 -1
  168. data/lib/build/svg/history-16.svg +3 -1
  169. data/lib/build/svg/history-24.svg +4 -1
  170. data/lib/build/svg/home-16.svg +3 -1
  171. data/lib/build/svg/home-24.svg +3 -1
  172. data/lib/build/svg/home-fill-24.svg +3 -1
  173. data/lib/build/svg/horizontal-rule-16.svg +3 -1
  174. data/lib/build/svg/horizontal-rule-24.svg +3 -1
  175. data/lib/build/svg/hourglass-16.svg +3 -1
  176. data/lib/build/svg/hourglass-24.svg +3 -1
  177. data/lib/build/svg/hubot-16.svg +3 -1
  178. data/lib/build/svg/hubot-24.svg +5 -1
  179. data/lib/build/svg/image-16.svg +3 -1
  180. data/lib/build/svg/image-24.svg +3 -1
  181. data/lib/build/svg/inbox-16.svg +3 -1
  182. data/lib/build/svg/inbox-24.svg +3 -1
  183. data/lib/build/svg/infinity-16.svg +3 -1
  184. data/lib/build/svg/infinity-24.svg +3 -1
  185. data/lib/build/svg/info-16.svg +3 -1
  186. data/lib/build/svg/info-24.svg +5 -1
  187. data/lib/build/svg/insights-24.svg +3 -1
  188. data/lib/build/svg/issue-closed-16.svg +3 -1
  189. data/lib/build/svg/issue-closed-24.svg +6 -1
  190. data/lib/build/svg/issue-opened-16.svg +3 -1
  191. data/lib/build/svg/issue-opened-24.svg +5 -1
  192. data/lib/build/svg/issue-reopened-16.svg +3 -1
  193. data/lib/build/svg/issue-reopened-24.svg +6 -1
  194. data/lib/build/svg/italic-16.svg +3 -1
  195. data/lib/build/svg/italic-24.svg +3 -1
  196. data/lib/build/svg/kebab-horizontal-16.svg +5 -1
  197. data/lib/build/svg/kebab-horizontal-24.svg +3 -1
  198. data/lib/build/svg/kebab-vertical-24.svg +3 -1
  199. data/lib/build/svg/key-16.svg +3 -1
  200. data/lib/build/svg/key-24.svg +4 -1
  201. data/lib/build/svg/law-16.svg +3 -1
  202. data/lib/build/svg/law-24.svg +3 -1
  203. data/lib/build/svg/light-bulb-16.svg +3 -1
  204. data/lib/build/svg/lightbulb-24.svg +3 -0
  205. data/lib/build/svg/link-16.svg +3 -1
  206. data/lib/build/svg/link-24.svg +4 -1
  207. data/lib/build/svg/link-external-16.svg +3 -1
  208. data/lib/build/svg/link-external-24.svg +4 -1
  209. data/lib/build/svg/list-ordered-16.svg +3 -1
  210. data/lib/build/svg/list-ordered-24.svg +7 -1
  211. data/lib/build/svg/list-unordered-16.svg +3 -1
  212. data/lib/build/svg/list-unordered-24.svg +3 -1
  213. data/lib/build/svg/location-16.svg +3 -1
  214. data/lib/build/svg/location-24.svg +4 -1
  215. data/lib/build/svg/lock-16.svg +3 -1
  216. data/lib/build/svg/lock-24.svg +3 -1
  217. data/lib/build/svg/mail-16.svg +3 -1
  218. data/lib/build/svg/mail-24.svg +3 -1
  219. data/lib/build/svg/mark-github-16.svg +3 -1
  220. data/lib/build/svg/markdown-16.svg +3 -1
  221. data/lib/build/svg/megaphone-16.svg +3 -1
  222. data/lib/build/svg/megaphone-24.svg +3 -1
  223. data/lib/build/svg/mention-16.svg +3 -1
  224. data/lib/build/svg/mention-24.svg +3 -1
  225. data/lib/build/svg/milestone-16.svg +3 -1
  226. data/lib/build/svg/milestone-24.svg +3 -1
  227. data/lib/build/svg/mirror-16.svg +3 -1
  228. data/lib/build/svg/mirror-24.svg +9 -1
  229. data/lib/build/svg/mortar-board-16.svg +3 -1
  230. data/lib/build/svg/mortar-board-24.svg +3 -1
  231. data/lib/build/svg/mute-16.svg +3 -1
  232. data/lib/build/svg/mute-24.svg +4 -1
  233. data/lib/build/svg/north-star-16.svg +3 -1
  234. data/lib/build/svg/north-star-24.svg +3 -1
  235. data/lib/build/svg/note-16.svg +3 -1
  236. data/lib/build/svg/note-24.svg +5 -1
  237. data/lib/build/svg/organization-16.svg +3 -1
  238. data/lib/build/svg/organization-24.svg +12 -1
  239. data/lib/build/svg/package-16.svg +3 -1
  240. data/lib/build/svg/package-24.svg +3 -1
  241. data/lib/build/svg/package-dependencies-16.svg +3 -1
  242. data/lib/build/svg/package-dependencies-24.svg +4 -1
  243. data/lib/build/svg/package-dependents-16.svg +3 -1
  244. data/lib/build/svg/package-dependents-24.svg +4 -1
  245. data/lib/build/svg/paper-airplane-16.svg +3 -1
  246. data/lib/build/svg/paper-airplane-24.svg +3 -1
  247. data/lib/build/svg/pencil-16.svg +3 -1
  248. data/lib/build/svg/pencil-24.svg +3 -1
  249. data/lib/build/svg/people-16.svg +3 -1
  250. data/lib/build/svg/people-24.svg +3 -1
  251. data/lib/build/svg/person-16.svg +3 -1
  252. data/lib/build/svg/person-24.svg +4 -1
  253. data/lib/build/svg/pin-16.svg +3 -1
  254. data/lib/build/svg/pin-24.svg +3 -1
  255. data/lib/build/svg/play-16.svg +3 -1
  256. data/lib/build/svg/play-24.svg +4 -1
  257. data/lib/build/svg/plug-16.svg +3 -1
  258. data/lib/build/svg/plug-24.svg +3 -1
  259. data/lib/build/svg/plus-16.svg +3 -1
  260. data/lib/build/svg/plus-24.svg +3 -1
  261. data/lib/build/svg/plus-circle-16.svg +3 -1
  262. data/lib/build/svg/plus-circle-24.svg +4 -1
  263. data/lib/build/svg/project-16.svg +3 -1
  264. data/lib/build/svg/project-24.svg +6 -1
  265. data/lib/build/svg/pulse-16.svg +3 -1
  266. data/lib/build/svg/pulse-24.svg +3 -1
  267. data/lib/build/svg/question-16.svg +3 -1
  268. data/lib/build/svg/question-24.svg +5 -1
  269. data/lib/build/svg/quote-16.svg +3 -1
  270. data/lib/build/svg/quote-24.svg +3 -1
  271. data/lib/build/svg/reply-16.svg +3 -1
  272. data/lib/build/svg/reply-24.svg +3 -1
  273. data/lib/build/svg/repo-16.svg +3 -1
  274. data/lib/build/svg/repo-24.svg +4 -1
  275. data/lib/build/svg/repo-forked-16.svg +3 -1
  276. data/lib/build/svg/repo-push-16.svg +3 -1
  277. data/lib/build/svg/repo-push-24.svg +4 -1
  278. data/lib/build/svg/repo-template-16.svg +3 -1
  279. data/lib/build/svg/repo-template-24.svg +11 -1
  280. data/lib/build/svg/request-changes-24.svg +3 -0
  281. data/lib/build/svg/rocket-16.svg +3 -1
  282. data/lib/build/svg/rocket-24.svg +3 -1
  283. data/lib/build/svg/rss-16.svg +3 -1
  284. data/lib/build/svg/rss-24.svg +3 -1
  285. data/lib/build/svg/screen-full-16.svg +3 -1
  286. data/lib/build/svg/screen-full-24.svg +3 -1
  287. data/lib/build/svg/screen-normal-16.svg +3 -1
  288. data/lib/build/svg/screen-normal-24.svg +3 -1
  289. data/lib/build/svg/search-16.svg +3 -1
  290. data/lib/build/svg/search-24.svg +3 -1
  291. data/lib/build/svg/server-16.svg +3 -1
  292. data/lib/build/svg/server-24.svg +7 -1
  293. data/lib/build/svg/settings-24.svg +3 -1
  294. data/lib/build/svg/share-16.svg +3 -1
  295. data/lib/build/svg/share-24.svg +3 -1
  296. data/lib/build/svg/share-android-16.svg +3 -1
  297. data/lib/build/svg/share-android-24.svg +3 -1
  298. data/lib/build/svg/shield-16.svg +3 -1
  299. data/lib/build/svg/shield-24.svg +5 -1
  300. data/lib/build/svg/shield-check-16.svg +3 -1
  301. data/lib/build/svg/shield-check-24.svg +4 -1
  302. data/lib/build/svg/shield-lock-16.svg +3 -1
  303. data/lib/build/svg/shield-lock-24.svg +3 -1
  304. data/lib/build/svg/shield-x-16.svg +3 -1
  305. data/lib/build/svg/shield-x-24.svg +4 -1
  306. data/lib/build/svg/sign-in-16.svg +3 -1
  307. data/lib/build/svg/sign-in-24.svg +3 -1
  308. data/lib/build/svg/sign-out-16.svg +3 -1
  309. data/lib/build/svg/sign-out-24.svg +3 -1
  310. data/lib/build/svg/skip-16.svg +3 -1
  311. data/lib/build/svg/skip-24.svg +4 -1
  312. data/lib/build/svg/smiley-16.svg +3 -1
  313. data/lib/build/svg/smiley-24.svg +6 -1
  314. data/lib/build/svg/star-16.svg +3 -1
  315. data/lib/build/svg/star-24.svg +3 -1
  316. data/lib/build/svg/star-fill-16.svg +3 -1
  317. data/lib/build/svg/star-fill-24.svg +3 -1
  318. data/lib/build/svg/stop-16.svg +3 -1
  319. data/lib/build/svg/stop-24.svg +5 -1
  320. data/lib/build/svg/stopwatch-16.svg +3 -1
  321. data/lib/build/svg/stopwatch-24.svg +3 -1
  322. data/lib/build/svg/sync-16.svg +3 -1
  323. data/lib/build/svg/sync-24.svg +4 -1
  324. data/lib/build/svg/tab-24.svg +4 -1
  325. data/lib/build/svg/tag-16.svg +3 -1
  326. data/lib/build/svg/tag-24.svg +4 -1
  327. data/lib/build/svg/tasklist-16.svg +3 -1
  328. data/lib/build/svg/tasklist-24.svg +4 -1
  329. data/lib/build/svg/telescope-16.svg +3 -1
  330. data/lib/build/svg/telescope-24.svg +4 -1
  331. data/lib/build/svg/terminal-16.svg +3 -1
  332. data/lib/build/svg/terminal-24.svg +5 -1
  333. data/lib/build/svg/three-bars-16.svg +3 -1
  334. data/lib/build/svg/thumbsdown-16.svg +3 -1
  335. data/lib/build/svg/thumbsdown-24.svg +3 -1
  336. data/lib/build/svg/thumbsup-16.svg +3 -1
  337. data/lib/build/svg/thumbsup-24.svg +3 -1
  338. data/lib/build/svg/tools-16.svg +3 -1
  339. data/lib/build/svg/tools-24.svg +3 -1
  340. data/lib/build/svg/trash-24.svg +6 -1
  341. data/lib/build/svg/trashcan-16.svg +3 -1
  342. data/lib/build/svg/triangle-down-16.svg +3 -1
  343. data/lib/build/svg/triangle-down-24.svg +3 -1
  344. data/lib/build/svg/triangle-left-16.svg +3 -1
  345. data/lib/build/svg/triangle-left-24.svg +3 -1
  346. data/lib/build/svg/triangle-right-16.svg +3 -1
  347. data/lib/build/svg/triangle-right-24.svg +3 -1
  348. data/lib/build/svg/triangle-up-16.svg +3 -1
  349. data/lib/build/svg/triangle-up-24.svg +3 -1
  350. data/lib/build/svg/typography-16.svg +3 -1
  351. data/lib/build/svg/typography-24.svg +4 -1
  352. data/lib/build/svg/unfold-16.svg +3 -1
  353. data/lib/build/svg/unfold-24.svg +11 -1
  354. data/lib/build/svg/unlock-16.svg +3 -1
  355. data/lib/build/svg/unlock-24.svg +3 -1
  356. data/lib/build/svg/unmute-16.svg +3 -1
  357. data/lib/build/svg/unmute-24.svg +5 -1
  358. data/lib/build/svg/unverifed-24.svg +5 -1
  359. data/lib/build/svg/unverified-16.svg +3 -1
  360. data/lib/build/svg/upload-16.svg +3 -1
  361. data/lib/build/svg/upload-24.svg +4 -1
  362. data/lib/build/svg/verified-16.svg +3 -1
  363. data/lib/build/svg/verified-24.svg +4 -1
  364. data/lib/build/svg/versions-16.svg +3 -1
  365. data/lib/build/svg/versions-24.svg +5 -1
  366. data/lib/build/svg/workflow-16.svg +3 -1
  367. data/lib/build/svg/workflow-24.svg +3 -1
  368. data/lib/build/svg/x-16.svg +3 -1
  369. data/lib/build/svg/x-24.svg +3 -1
  370. data/lib/build/svg/x-circle-24.svg +4 -1
  371. data/lib/build/svg/x-circle-fill-24.svg +3 -1
  372. data/lib/octicons_v2/octicon_v2.rb +14 -16
  373. data/lib/octicons_v2/version.rb +1 -1
  374. metadata +6 -12
  375. data/lib/build/svg/device-desktop-24.svg +0 -1
  376. data/lib/build/svg/diff-24.svg +0 -1
  377. data/lib/build/svg/light-bulb-24.svg +0 -1
  378. data/lib/build/svg/logo-gist-16.svg +0 -1
  379. data/lib/build/svg/logo-github-16.svg +0 -1
  380. data/lib/build/svg/no-entry-16.svg +0 -1
  381. data/lib/build/svg/no-entry-24.svg +0 -1
  382. data/lib/build/svg/octoface-16.svg +0 -1
  383. data/lib/build/svg/report-16.svg +0 -1
  384. data/lib/build/svg/report-24.svg +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4cd135764ae0b1286fadc34500fcdab43c97e7513f917ebde27c4144576c8886
4
- data.tar.gz: c5c32170fe7b4912f072b4654aa13f4e4eae7884e0e97ab4cec57f2cfdbed0a7
3
+ metadata.gz: 9aa27e2de9af06b827efb237b9f79185266dcc05c45ebf26de6091e50440acfb
4
+ data.tar.gz: 3a2131c7680b74062707cdac4a7179a08f1adf66bec97800588160e341b54ebf
5
5
  SHA512:
6
- metadata.gz: d995036129c3f1867bcb8abe543c6bb8ed9a7169f509086f6e21ea16265f935df5cf1984b736bc20337755f148345ad6547965d53d924ab16b219969a2c6b760
7
- data.tar.gz: 5113b0425442ecd863f50df8e72b5f5c4ac5b0a2ce64147e677118b58b57a130a792da7548ca926d2203f2064f4d252a2c20e378e3d9cd1e00a6c1d9da1b7d07
6
+ metadata.gz: 24b1e24ae44e20bbd4458fa9675dc002223838ecba7303d894f66bbcb5a5a274aa9d9a42ee20d7e19cfd9f10df3c323be9470d91da0583e843f171798ec2fb17
7
+ data.tar.gz: 30489e63c0b50cf951b417ce11a26b731900c93ac650a6fef21e03fa64d9d593d8be40b21a4192bf0429ceba266cccfe0689f824a3441ec8082513cda9c966cd
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/