rails_heroicon 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (477) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +11 -0
  3. data/.rspec +3 -0
  4. data/.rubocop.yml +163 -0
  5. data/CHANGELOG.md +5 -0
  6. data/CODE_OF_CONDUCT.md +84 -0
  7. data/CONTRIBUTING.md +20 -0
  8. data/Gemfile +9 -0
  9. data/Gemfile.lock +59 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +115 -0
  12. data/Rakefile +12 -0
  13. data/bin/console +14 -0
  14. data/bin/setup +6 -0
  15. data/icons/outline/.DS_Store +0 -0
  16. data/icons/outline/academic-cap.svg +5 -0
  17. data/icons/outline/adjustments.svg +3 -0
  18. data/icons/outline/annotation.svg +3 -0
  19. data/icons/outline/archive.svg +3 -0
  20. data/icons/outline/arrow-circle-down.svg +3 -0
  21. data/icons/outline/arrow-circle-left.svg +3 -0
  22. data/icons/outline/arrow-circle-right.svg +3 -0
  23. data/icons/outline/arrow-circle-up.svg +3 -0
  24. data/icons/outline/arrow-down.svg +3 -0
  25. data/icons/outline/arrow-left.svg +3 -0
  26. data/icons/outline/arrow-narrow-down.svg +3 -0
  27. data/icons/outline/arrow-narrow-left.svg +3 -0
  28. data/icons/outline/arrow-narrow-right.svg +3 -0
  29. data/icons/outline/arrow-narrow-up.svg +3 -0
  30. data/icons/outline/arrow-right.svg +3 -0
  31. data/icons/outline/arrow-up.svg +3 -0
  32. data/icons/outline/arrows-expand.svg +3 -0
  33. data/icons/outline/at-symbol.svg +3 -0
  34. data/icons/outline/backspace.svg +3 -0
  35. data/icons/outline/badge-check.svg +3 -0
  36. data/icons/outline/ban.svg +3 -0
  37. data/icons/outline/beaker.svg +3 -0
  38. data/icons/outline/bell.svg +3 -0
  39. data/icons/outline/book-open.svg +3 -0
  40. data/icons/outline/bookmark-alt.svg +3 -0
  41. data/icons/outline/bookmark.svg +3 -0
  42. data/icons/outline/briefcase.svg +3 -0
  43. data/icons/outline/cake.svg +3 -0
  44. data/icons/outline/calculator.svg +3 -0
  45. data/icons/outline/calendar.svg +3 -0
  46. data/icons/outline/camera.svg +4 -0
  47. data/icons/outline/cash.svg +3 -0
  48. data/icons/outline/chart-bar.svg +3 -0
  49. data/icons/outline/chart-pie.svg +4 -0
  50. data/icons/outline/chart-square-bar.svg +3 -0
  51. data/icons/outline/chat-alt-2.svg +3 -0
  52. data/icons/outline/chat-alt.svg +3 -0
  53. data/icons/outline/chat.svg +3 -0
  54. data/icons/outline/check-circle.svg +3 -0
  55. data/icons/outline/check.svg +3 -0
  56. data/icons/outline/chevron-double-down.svg +3 -0
  57. data/icons/outline/chevron-double-left.svg +3 -0
  58. data/icons/outline/chevron-double-right.svg +3 -0
  59. data/icons/outline/chevron-double-up.svg +3 -0
  60. data/icons/outline/chevron-down.svg +3 -0
  61. data/icons/outline/chevron-left.svg +3 -0
  62. data/icons/outline/chevron-right.svg +3 -0
  63. data/icons/outline/chevron-up.svg +3 -0
  64. data/icons/outline/chip.svg +3 -0
  65. data/icons/outline/clipboard-check.svg +3 -0
  66. data/icons/outline/clipboard-copy.svg +3 -0
  67. data/icons/outline/clipboard-list.svg +3 -0
  68. data/icons/outline/clipboard.svg +3 -0
  69. data/icons/outline/clock.svg +3 -0
  70. data/icons/outline/cloud-download.svg +3 -0
  71. data/icons/outline/cloud-upload.svg +3 -0
  72. data/icons/outline/cloud.svg +3 -0
  73. data/icons/outline/code.svg +3 -0
  74. data/icons/outline/cog.svg +4 -0
  75. data/icons/outline/collection.svg +3 -0
  76. data/icons/outline/color-swatch.svg +3 -0
  77. data/icons/outline/credit-card.svg +3 -0
  78. data/icons/outline/cube-transparent.svg +3 -0
  79. data/icons/outline/cube.svg +3 -0
  80. data/icons/outline/currency-bangladeshi.svg +3 -0
  81. data/icons/outline/currency-dollar.svg +3 -0
  82. data/icons/outline/currency-euro.svg +3 -0
  83. data/icons/outline/currency-pound.svg +3 -0
  84. data/icons/outline/currency-rupee.svg +3 -0
  85. data/icons/outline/currency-yen.svg +3 -0
  86. data/icons/outline/cursor-click.svg +3 -0
  87. data/icons/outline/database.svg +3 -0
  88. data/icons/outline/desktop-computer.svg +3 -0
  89. data/icons/outline/device-mobile.svg +3 -0
  90. data/icons/outline/device-tablet.svg +3 -0
  91. data/icons/outline/document-add.svg +3 -0
  92. data/icons/outline/document-download.svg +3 -0
  93. data/icons/outline/document-duplicate.svg +3 -0
  94. data/icons/outline/document-remove.svg +3 -0
  95. data/icons/outline/document-report.svg +3 -0
  96. data/icons/outline/document-search.svg +3 -0
  97. data/icons/outline/document-text.svg +3 -0
  98. data/icons/outline/document.svg +3 -0
  99. data/icons/outline/dots-circle-horizontal.svg +3 -0
  100. data/icons/outline/dots-horizontal.svg +4 -0
  101. data/icons/outline/dots-vertical.svg +4 -0
  102. data/icons/outline/download.svg +3 -0
  103. data/icons/outline/duplicate.svg +3 -0
  104. data/icons/outline/emoji-happy.svg +3 -0
  105. data/icons/outline/emoji-sad.svg +3 -0
  106. data/icons/outline/exclamation-circle.svg +3 -0
  107. data/icons/outline/exclamation.svg +3 -0
  108. data/icons/outline/external-link.svg +3 -0
  109. data/icons/outline/eye-off.svg +3 -0
  110. data/icons/outline/eye.svg +4 -0
  111. data/icons/outline/fast-forward.svg +4 -0
  112. data/icons/outline/film.svg +3 -0
  113. data/icons/outline/filter.svg +3 -0
  114. data/icons/outline/finger-print.svg +3 -0
  115. data/icons/outline/fire.svg +4 -0
  116. data/icons/outline/flag.svg +3 -0
  117. data/icons/outline/folder-add.svg +3 -0
  118. data/icons/outline/folder-download.svg +3 -0
  119. data/icons/outline/folder-open.svg +3 -0
  120. data/icons/outline/folder-remove.svg +3 -0
  121. data/icons/outline/folder.svg +3 -0
  122. data/icons/outline/gift.svg +3 -0
  123. data/icons/outline/globe-alt.svg +3 -0
  124. data/icons/outline/globe.svg +3 -0
  125. data/icons/outline/hand.svg +3 -0
  126. data/icons/outline/hashtag.svg +3 -0
  127. data/icons/outline/heart.svg +3 -0
  128. data/icons/outline/home.svg +3 -0
  129. data/icons/outline/identification.svg +3 -0
  130. data/icons/outline/inbox-in.svg +3 -0
  131. data/icons/outline/inbox.svg +3 -0
  132. data/icons/outline/information-circle.svg +3 -0
  133. data/icons/outline/key.svg +3 -0
  134. data/icons/outline/library.svg +3 -0
  135. data/icons/outline/light-bulb.svg +3 -0
  136. data/icons/outline/lightning-bolt.svg +3 -0
  137. data/icons/outline/link.svg +3 -0
  138. data/icons/outline/location-marker.svg +4 -0
  139. data/icons/outline/lock-closed.svg +3 -0
  140. data/icons/outline/lock-open.svg +3 -0
  141. data/icons/outline/login.svg +3 -0
  142. data/icons/outline/logout.svg +3 -0
  143. data/icons/outline/mail-open.svg +3 -0
  144. data/icons/outline/mail.svg +3 -0
  145. data/icons/outline/map.svg +3 -0
  146. data/icons/outline/menu-alt-1.svg +3 -0
  147. data/icons/outline/menu-alt-2.svg +3 -0
  148. data/icons/outline/menu-alt-3.svg +3 -0
  149. data/icons/outline/menu-alt-4.svg +3 -0
  150. data/icons/outline/menu.svg +3 -0
  151. data/icons/outline/microphone.svg +3 -0
  152. data/icons/outline/minus-circle.svg +3 -0
  153. data/icons/outline/minus-sm.svg +3 -0
  154. data/icons/outline/minus.svg +3 -0
  155. data/icons/outline/moon.svg +3 -0
  156. data/icons/outline/music-note.svg +3 -0
  157. data/icons/outline/newspaper.svg +3 -0
  158. data/icons/outline/office-building.svg +3 -0
  159. data/icons/outline/paper-airplane.svg +3 -0
  160. data/icons/outline/paper-clip.svg +3 -0
  161. data/icons/outline/pause.svg +3 -0
  162. data/icons/outline/pencil-alt.svg +3 -0
  163. data/icons/outline/pencil.svg +3 -0
  164. data/icons/outline/phone-incoming.svg +3 -0
  165. data/icons/outline/phone-missed-call.svg +3 -0
  166. data/icons/outline/phone-outgoing.svg +3 -0
  167. data/icons/outline/phone.svg +3 -0
  168. data/icons/outline/photograph.svg +3 -0
  169. data/icons/outline/play.svg +4 -0
  170. data/icons/outline/plus-circle.svg +3 -0
  171. data/icons/outline/plus-sm.svg +3 -0
  172. data/icons/outline/plus.svg +3 -0
  173. data/icons/outline/presentation-chart-bar.svg +3 -0
  174. data/icons/outline/presentation-chart-line.svg +3 -0
  175. data/icons/outline/printer.svg +3 -0
  176. data/icons/outline/puzzle.svg +3 -0
  177. data/icons/outline/qrcode.svg +3 -0
  178. data/icons/outline/question-mark-circle.svg +3 -0
  179. data/icons/outline/receipt-refund.svg +3 -0
  180. data/icons/outline/receipt-tax.svg +3 -0
  181. data/icons/outline/refresh.svg +3 -0
  182. data/icons/outline/reply.svg +3 -0
  183. data/icons/outline/rewind.svg +4 -0
  184. data/icons/outline/rss.svg +3 -0
  185. data/icons/outline/save-as.svg +3 -0
  186. data/icons/outline/save.svg +3 -0
  187. data/icons/outline/scale.svg +3 -0
  188. data/icons/outline/scissors.svg +3 -0
  189. data/icons/outline/search-circle.svg +3 -0
  190. data/icons/outline/search.svg +3 -0
  191. data/icons/outline/selector.svg +3 -0
  192. data/icons/outline/server.svg +3 -0
  193. data/icons/outline/share.svg +3 -0
  194. data/icons/outline/shield-check.svg +3 -0
  195. data/icons/outline/shield-exclamation.svg +4 -0
  196. data/icons/outline/shopping-bag.svg +3 -0
  197. data/icons/outline/shopping-cart.svg +3 -0
  198. data/icons/outline/sort-ascending.svg +3 -0
  199. data/icons/outline/sort-descending.svg +3 -0
  200. data/icons/outline/sparkles.svg +3 -0
  201. data/icons/outline/speakerphone.svg +3 -0
  202. data/icons/outline/star.svg +3 -0
  203. data/icons/outline/status-offline.svg +3 -0
  204. data/icons/outline/status-online.svg +3 -0
  205. data/icons/outline/stop.svg +4 -0
  206. data/icons/outline/sun.svg +3 -0
  207. data/icons/outline/support.svg +3 -0
  208. data/icons/outline/switch-horizontal.svg +3 -0
  209. data/icons/outline/switch-vertical.svg +3 -0
  210. data/icons/outline/table.svg +3 -0
  211. data/icons/outline/tag.svg +3 -0
  212. data/icons/outline/template.svg +5 -0
  213. data/icons/outline/terminal.svg +3 -0
  214. data/icons/outline/thumb-down.svg +3 -0
  215. data/icons/outline/thumb-up.svg +3 -0
  216. data/icons/outline/ticket.svg +3 -0
  217. data/icons/outline/translate.svg +3 -0
  218. data/icons/outline/trash.svg +3 -0
  219. data/icons/outline/trending-down.svg +3 -0
  220. data/icons/outline/trending-up.svg +3 -0
  221. data/icons/outline/truck.svg +5 -0
  222. data/icons/outline/upload.svg +3 -0
  223. data/icons/outline/user-add.svg +3 -0
  224. data/icons/outline/user-circle.svg +3 -0
  225. data/icons/outline/user-group.svg +3 -0
  226. data/icons/outline/user-remove.svg +5 -0
  227. data/icons/outline/user.svg +4 -0
  228. data/icons/outline/users.svg +3 -0
  229. data/icons/outline/variable.svg +3 -0
  230. data/icons/outline/video-camera.svg +3 -0
  231. data/icons/outline/view-boards.svg +3 -0
  232. data/icons/outline/view-grid-add.svg +3 -0
  233. data/icons/outline/view-grid.svg +6 -0
  234. data/icons/outline/view-list.svg +3 -0
  235. data/icons/outline/volume-off.svg +4 -0
  236. data/icons/outline/volume-up.svg +3 -0
  237. data/icons/outline/wifi.svg +3 -0
  238. data/icons/outline/x-circle.svg +3 -0
  239. data/icons/outline/x.svg +3 -0
  240. data/icons/outline/zoom-in.svg +4 -0
  241. data/icons/outline/zoom-out.svg +4 -0
  242. data/icons/solid/.DS_Store +0 -0
  243. data/icons/solid/academic-cap.svg +6 -0
  244. data/icons/solid/adjustments.svg +5 -0
  245. data/icons/solid/annotation.svg +4 -0
  246. data/icons/solid/archive.svg +5 -0
  247. data/icons/solid/arrow-circle-down.svg +4 -0
  248. data/icons/solid/arrow-circle-left.svg +4 -0
  249. data/icons/solid/arrow-circle-right.svg +4 -0
  250. data/icons/solid/arrow-circle-up.svg +4 -0
  251. data/icons/solid/arrow-down.svg +3 -0
  252. data/icons/solid/arrow-left.svg +3 -0
  253. data/icons/solid/arrow-narrow-down.svg +3 -0
  254. data/icons/solid/arrow-narrow-left.svg +3 -0
  255. data/icons/solid/arrow-narrow-right.svg +3 -0
  256. data/icons/solid/arrow-narrow-up.svg +3 -0
  257. data/icons/solid/arrow-right.svg +3 -0
  258. data/icons/solid/arrow-up.svg +3 -0
  259. data/icons/solid/arrows-expand.svg +3 -0
  260. data/icons/solid/at-symbol.svg +3 -0
  261. data/icons/solid/backspace.svg +3 -0
  262. data/icons/solid/badge-check.svg +3 -0
  263. data/icons/solid/ban.svg +3 -0
  264. data/icons/solid/beaker.svg +3 -0
  265. data/icons/solid/bell.svg +4 -0
  266. data/icons/solid/book-open.svg +4 -0
  267. data/icons/solid/bookmark-alt.svg +3 -0
  268. data/icons/solid/bookmark.svg +3 -0
  269. data/icons/solid/briefcase.svg +5 -0
  270. data/icons/solid/cake.svg +3 -0
  271. data/icons/solid/calculator.svg +3 -0
  272. data/icons/solid/calendar.svg +4 -0
  273. data/icons/solid/camera.svg +3 -0
  274. data/icons/solid/cash.svg +4 -0
  275. data/icons/solid/chart-bar.svg +5 -0
  276. data/icons/solid/chart-pie.svg +4 -0
  277. data/icons/solid/chart-square-bar.svg +3 -0
  278. data/icons/solid/chat-alt-2.svg +4 -0
  279. data/icons/solid/chat-alt.svg +3 -0
  280. data/icons/solid/chat.svg +3 -0
  281. data/icons/solid/check-circle.svg +4 -0
  282. data/icons/solid/check.svg +4 -0
  283. data/icons/solid/chevron-double-down.svg +3 -0
  284. data/icons/solid/chevron-double-left.svg +3 -0
  285. data/icons/solid/chevron-double-right.svg +4 -0
  286. data/icons/solid/chevron-double-up.svg +3 -0
  287. data/icons/solid/chevron-down.svg +4 -0
  288. data/icons/solid/chevron-left.svg +4 -0
  289. data/icons/solid/chevron-right.svg +4 -0
  290. data/icons/solid/chevron-up.svg +4 -0
  291. data/icons/solid/chip.svg +4 -0
  292. data/icons/solid/clipboard-check.svg +4 -0
  293. data/icons/solid/clipboard-copy.svg +5 -0
  294. data/icons/solid/clipboard-list.svg +4 -0
  295. data/icons/solid/clipboard.svg +4 -0
  296. data/icons/solid/clock.svg +4 -0
  297. data/icons/solid/cloud-download.svg +3 -0
  298. data/icons/solid/cloud-upload.svg +4 -0
  299. data/icons/solid/cloud.svg +3 -0
  300. data/icons/solid/code.svg +4 -0
  301. data/icons/solid/cog.svg +4 -0
  302. data/icons/solid/collection.svg +6 -0
  303. data/icons/solid/color-swatch.svg +3 -0
  304. data/icons/solid/credit-card.svg +5 -0
  305. data/icons/solid/cube-transparent.svg +3 -0
  306. data/icons/solid/cube.svg +5 -0
  307. data/icons/solid/currency-bangladeshi.svg +3 -0
  308. data/icons/solid/currency-dollar.svg +5 -0
  309. data/icons/solid/currency-euro.svg +3 -0
  310. data/icons/solid/currency-pound.svg +3 -0
  311. data/icons/solid/currency-rupee.svg +3 -0
  312. data/icons/solid/currency-yen.svg +3 -0
  313. data/icons/solid/cursor-click.svg +3 -0
  314. data/icons/solid/database.svg +5 -0
  315. data/icons/solid/desktop-computer.svg +3 -0
  316. data/icons/solid/device-mobile.svg +3 -0
  317. data/icons/solid/device-tablet.svg +3 -0
  318. data/icons/solid/document-add.svg +3 -0
  319. data/icons/solid/document-download.svg +3 -0
  320. data/icons/solid/document-duplicate.svg +4 -0
  321. data/icons/solid/document-remove.svg +3 -0
  322. data/icons/solid/document-report.svg +3 -0
  323. data/icons/solid/document-search.svg +4 -0
  324. data/icons/solid/document-text.svg +3 -0
  325. data/icons/solid/document.svg +3 -0
  326. data/icons/solid/dots-circle-horizontal.svg +3 -0
  327. data/icons/solid/dots-horizontal.svg +6 -0
  328. data/icons/solid/dots-vertical.svg +6 -0
  329. data/icons/solid/download.svg +3 -0
  330. data/icons/solid/duplicate.svg +5 -0
  331. data/icons/solid/emoji-happy.svg +3 -0
  332. data/icons/solid/emoji-sad.svg +3 -0
  333. data/icons/solid/exclamation-circle.svg +4 -0
  334. data/icons/solid/exclamation.svg +3 -0
  335. data/icons/solid/external-link.svg +4 -0
  336. data/icons/solid/eye-off.svg +4 -0
  337. data/icons/solid/eye.svg +5 -0
  338. data/icons/solid/fast-forward.svg +3 -0
  339. data/icons/solid/film.svg +3 -0
  340. data/icons/solid/filter.svg +3 -0
  341. data/icons/solid/finger-print.svg +5 -0
  342. data/icons/solid/fire.svg +3 -0
  343. data/icons/solid/flag.svg +4 -0
  344. data/icons/solid/folder-add.svg +4 -0
  345. data/icons/solid/folder-download.svg +4 -0
  346. data/icons/solid/folder-open.svg +4 -0
  347. data/icons/solid/folder-remove.svg +4 -0
  348. data/icons/solid/folder.svg +4 -0
  349. data/icons/solid/gift.svg +5 -0
  350. data/icons/solid/globe-alt.svg +3 -0
  351. data/icons/solid/globe.svg +3 -0
  352. data/icons/solid/hand.svg +3 -0
  353. data/icons/solid/hashtag.svg +3 -0
  354. data/icons/solid/heart.svg +4 -0
  355. data/icons/solid/home.svg +3 -0
  356. data/icons/solid/identification.svg +3 -0
  357. data/icons/solid/inbox-in.svg +4 -0
  358. data/icons/solid/inbox.svg +3 -0
  359. data/icons/solid/information-circle.svg +4 -0
  360. data/icons/solid/key.svg +3 -0
  361. data/icons/solid/library.svg +3 -0
  362. data/icons/solid/light-bulb.svg +9 -0
  363. data/icons/solid/lightning-bolt.svg +3 -0
  364. data/icons/solid/link.svg +3 -0
  365. data/icons/solid/location-marker.svg +4 -0
  366. data/icons/solid/lock-closed.svg +4 -0
  367. data/icons/solid/lock-open.svg +4 -0
  368. data/icons/solid/login.svg +3 -0
  369. data/icons/solid/logout.svg +3 -0
  370. data/icons/solid/mail-open.svg +4 -0
  371. data/icons/solid/mail.svg +5 -0
  372. data/icons/solid/map.svg +5 -0
  373. data/icons/solid/menu-alt-1.svg +6 -0
  374. data/icons/solid/menu-alt-2.svg +6 -0
  375. data/icons/solid/menu-alt-3.svg +6 -0
  376. data/icons/solid/menu-alt-4.svg +5 -0
  377. data/icons/solid/menu.svg +6 -0
  378. data/icons/solid/microphone.svg +3 -0
  379. data/icons/solid/minus-circle.svg +4 -0
  380. data/icons/solid/minus-sm.svg +3 -0
  381. data/icons/solid/minus.svg +3 -0
  382. data/icons/solid/moon.svg +3 -0
  383. data/icons/solid/music-note.svg +3 -0
  384. data/icons/solid/newspaper.svg +4 -0
  385. data/icons/solid/office-building.svg +3 -0
  386. data/icons/solid/paper-airplane.svg +3 -0
  387. data/icons/solid/paper-clip.svg +3 -0
  388. data/icons/solid/pause.svg +3 -0
  389. data/icons/solid/pencil-alt.svg +5 -0
  390. data/icons/solid/pencil.svg +5 -0
  391. data/icons/solid/phone-incoming.svg +4 -0
  392. data/icons/solid/phone-missed-call.svg +4 -0
  393. data/icons/solid/phone-outgoing.svg +4 -0
  394. data/icons/solid/phone.svg +3 -0
  395. data/icons/solid/photograph.svg +4 -0
  396. data/icons/solid/play.svg +3 -0
  397. data/icons/solid/plus-circle.svg +4 -0
  398. data/icons/solid/plus-sm.svg +3 -0
  399. data/icons/solid/plus.svg +3 -0
  400. data/icons/solid/presentation-chart-bar.svg +3 -0
  401. data/icons/solid/presentation-chart-line.svg +3 -0
  402. data/icons/solid/printer.svg +3 -0
  403. data/icons/solid/puzzle.svg +3 -0
  404. data/icons/solid/qrcode.svg +12 -0
  405. data/icons/solid/question-mark-circle.svg +4 -0
  406. data/icons/solid/receipt-refund.svg +3 -0
  407. data/icons/solid/receipt-tax.svg +3 -0
  408. data/icons/solid/refresh.svg +3 -0
  409. data/icons/solid/reply.svg +3 -0
  410. data/icons/solid/rewind.svg +3 -0
  411. data/icons/solid/rss.svg +5 -0
  412. data/icons/solid/save-as.svg +5 -0
  413. data/icons/solid/save.svg +4 -0
  414. data/icons/solid/scale.svg +4 -0
  415. data/icons/solid/scissors.svg +4 -0
  416. data/icons/solid/search-circle.svg +4 -0
  417. data/icons/solid/search.svg +4 -0
  418. data/icons/solid/selector.svg +4 -0
  419. data/icons/solid/server.svg +4 -0
  420. data/icons/solid/share.svg +4 -0
  421. data/icons/solid/shield-check.svg +4 -0
  422. data/icons/solid/shield-exclamation.svg +4 -0
  423. data/icons/solid/shopping-bag.svg +3 -0
  424. data/icons/solid/shopping-cart.svg +5 -0
  425. data/icons/solid/sort-ascending.svg +7 -0
  426. data/icons/solid/sort-descending.svg +7 -0
  427. data/icons/solid/sparkles.svg +4 -0
  428. data/icons/solid/speakerphone.svg +3 -0
  429. data/icons/solid/star.svg +3 -0
  430. data/icons/solid/status-offline.svg +5 -0
  431. data/icons/solid/status-online.svg +3 -0
  432. data/icons/solid/stop.svg +3 -0
  433. data/icons/solid/sun.svg +3 -0
  434. data/icons/solid/support.svg +3 -0
  435. data/icons/solid/switch-horizontal.svg +5 -0
  436. data/icons/solid/switch-vertical.svg +5 -0
  437. data/icons/solid/table.svg +3 -0
  438. data/icons/solid/tag.svg +4 -0
  439. data/icons/solid/template.svg +5 -0
  440. data/icons/solid/terminal.svg +3 -0
  441. data/icons/solid/thumb-down.svg +4 -0
  442. data/icons/solid/thumb-up.svg +4 -0
  443. data/icons/solid/ticket.svg +4 -0
  444. data/icons/solid/translate.svg +4 -0
  445. data/icons/solid/trash.svg +4 -0
  446. data/icons/solid/trending-down.svg +4 -0
  447. data/icons/solid/trending-up.svg +4 -0
  448. data/icons/solid/truck.svg +6 -0
  449. data/icons/solid/upload.svg +3 -0
  450. data/icons/solid/user-add.svg +6 -0
  451. data/icons/solid/user-circle.svg +4 -0
  452. data/icons/solid/user-group.svg +9 -0
  453. data/icons/solid/user-remove.svg +6 -0
  454. data/icons/solid/user.svg +4 -0
  455. data/icons/solid/users.svg +7 -0
  456. data/icons/solid/variable.svg +3 -0
  457. data/icons/solid/video-camera.svg +4 -0
  458. data/icons/solid/view-boards.svg +6 -0
  459. data/icons/solid/view-grid-add.svg +6 -0
  460. data/icons/solid/view-grid.svg +6 -0
  461. data/icons/solid/view-list.svg +4 -0
  462. data/icons/solid/volume-off.svg +4 -0
  463. data/icons/solid/volume-up.svg +4 -0
  464. data/icons/solid/wifi.svg +3 -0
  465. data/icons/solid/x-circle.svg +4 -0
  466. data/icons/solid/x.svg +3 -0
  467. data/icons/solid/zoom-in.svg +5 -0
  468. data/icons/solid/zoom-out.svg +5 -0
  469. data/lib/rails_heroicon.rb +8 -0
  470. data/lib/rails_heroicon/errors.rb +19 -0
  471. data/lib/rails_heroicon/helper.rb +10 -0
  472. data/lib/rails_heroicon/rails_heroicon.rb +77 -0
  473. data/lib/rails_heroicon/rails_heroicon_helper.rb +10 -0
  474. data/lib/rails_heroicon/railtie.rb +9 -0
  475. data/lib/rails_heroicon/version.rb +3 -0
  476. data/rails_heroicon.gemspec +28 -0
  477. metadata +535 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 036e43862972296490064dff1eb9597b6854243121730bb870746dafb1e9a2ae
4
+ data.tar.gz: 25c509f874ee1ff535ecbf64b9dbc0f6f2b13393f0635ab0017457ae4757f553
5
+ SHA512:
6
+ metadata.gz: 4591fb73a8d70483b0a30b88cdfdb78625f2a5aacbff89fad35763090e971c13252d6bf2fc4d68a7b38f052f6796fa4eb47dd426e525d557cee615115c09c300
7
+ data.tar.gz: c6a5df14bd328ef13c49334b198ec79975f55f064120e524c3cee98dd66ba3f87765e338b654cf2bddbbe99661a5372ee6720ec3fdb627454588c238d6a0f717
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,163 @@
1
+ AllCops:
2
+ DisplayStyleGuide: true
3
+ ExtraDetails: true
4
+ NewCops: enable
5
+ TargetRubyVersion: 2.7.2
6
+ SuggestExtensions: false
7
+
8
+ Bundler/OrderedGems:
9
+ Enabled: false
10
+ ConsiderPunctuation: true
11
+
12
+ #################### Layout ###########################
13
+
14
+ Layout/EmptyLinesAroundAttributeAccessor:
15
+ StyleGuide: '#empty-lines-around-attribute-accessor'
16
+ Enabled: true
17
+
18
+ Layout/MultilineOperationIndentation:
19
+ Enabled: true
20
+ EnforcedStyle: indented
21
+
22
+ Layout/MultilineMethodCallIndentation:
23
+ Enabled: true
24
+ EnforcedStyle: indented
25
+
26
+ Layout/SpaceAroundMethodCallOperator:
27
+ Enabled: true
28
+
29
+ Layout/FirstHashElementIndentation:
30
+ EnforcedStyle: consistent
31
+
32
+ #################### Lint ##################################
33
+
34
+ Lint/AmbiguousBlockAssociation:
35
+ StyleGuide: '#syntax'
36
+ Enabled: true
37
+ Exclude:
38
+ - 'spec/**/*'
39
+
40
+ Lint/MissingSuper:
41
+ Enabled: true
42
+ Exclude:
43
+ - 'app/components/**/*'
44
+
45
+ Lint/DuplicateElsifCondition:
46
+ Enabled: true
47
+
48
+ Lint/DuplicateRegexpCharacterClassElement:
49
+ Enabled: true
50
+
51
+ Lint/EmptyConditionalBody:
52
+ Enabled: true
53
+
54
+ Lint/EmptyBlock:
55
+ Enabled: true
56
+
57
+ Lint/EmptyClass:
58
+ Enabled: true
59
+
60
+ Lint/FloatComparison:
61
+ StyleGuide: '#float-comparison'
62
+ Enabled: true
63
+
64
+ Lint/SelfAssignment:
65
+ Enabled: true
66
+
67
+ Lint/TopLevelReturnWithArgument:
68
+ Enabled: true
69
+
70
+ #################### Metrics ###############################
71
+
72
+ Metrics/AbcSize:
73
+ Enabled: false
74
+
75
+ Metrics/BlockLength:
76
+ Enabled: true
77
+ Exclude:
78
+ - 'spec/**/*'
79
+
80
+ Metrics/ClassLength:
81
+ Enabled: false
82
+
83
+ Metrics/MethodLength:
84
+ StyleGuide: '#short-methods'
85
+ Enabled: false
86
+
87
+ Metrics/ModuleLength:
88
+ Enabled: false
89
+
90
+ Metrics/ParameterLists:
91
+ StyleGuide: '#too-many-params'
92
+ Enabled: false
93
+
94
+ #################### Naming ##############################
95
+
96
+ Naming/PredicateName:
97
+ StyleGuide: '#bool-methods-qmark'
98
+ Enabled: true
99
+ ForbiddenPrefixes:
100
+ - is_
101
+ Exclude:
102
+ - 'spec/**/*'
103
+
104
+ #################### Style ###############################
105
+
106
+ Style/Documentation:
107
+ Enabled: false
108
+
109
+ Style/FrozenStringLiteralComment:
110
+ Enabled: false
111
+
112
+ Style/StringLiteralsInInterpolation:
113
+ Enabled: true
114
+ EnforcedStyle: double_quotes
115
+
116
+ Style/HashAsLastArrayItem:
117
+ StyleGuide: '#hash-literal-as-last-array-item'
118
+ Enabled: true
119
+ EnforcedStyle: no_braces
120
+
121
+ Style/HashSyntax:
122
+ StyleGuide: '#hash-literals'
123
+ Enabled: true
124
+ EnforcedStyle: ruby19_no_mixed_keys
125
+
126
+ Style/RedundantFetchBlock:
127
+ Reference: 'https://github.com/JuanitoFatas/fast-ruby#hashfetch-with-argument-vs-hashfetch--block-code'
128
+ Enabled: true
129
+
130
+ Style/RedundantFileExtensionInRequire:
131
+ StyleGuide: '#no-explicit-rb-to-require'
132
+ Enabled: true
133
+
134
+ Style/ReturnNil:
135
+ Enabled: true
136
+
137
+ Style/SingleArgumentDig:
138
+ Enabled: true
139
+
140
+ Style/ClassAndModuleChildren:
141
+ Enabled: false
142
+
143
+ Style/StringLiterals:
144
+ StyleGuide: '#consistent-string-literals'
145
+ Enabled: true
146
+ EnforcedStyle: double_quotes
147
+ ConsistentQuotesInMultiline: true
148
+
149
+ Style/TrailingCommaInArguments:
150
+ StyleGuide: '#no-trailing-params-comma'
151
+ Enabled: true
152
+ EnforcedStyleForMultiline: comma
153
+
154
+ Style/TrailingCommaInArrayLiteral:
155
+ StyleGuide: '#no-trailing-array-commas'
156
+ Enabled: true
157
+ EnforcedStyleForMultiline: comma
158
+
159
+ Style/TrailingCommaInBlockArgs:
160
+ Enabled: true
161
+
162
+ Style/RegexpLiteral:
163
+ Enabled: false
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0
4
+
5
+ - Release gem
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at abeidahmed92@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/CONTRIBUTING.md ADDED
@@ -0,0 +1,20 @@
1
+ # Contributing
2
+
3
+ Hi! We're glad you'd like to contribute to the project. Your help is essential
4
+ in making this project substantial.
5
+
6
+ If you are looking to make substantial changes, please [open an issue](https://github.com/abeidahmed/rails-heroicon/issues/new)
7
+ first to discuss with us.
8
+
9
+ Please note that this project adheres to the [code of conduct](https://github.com/abeidahmed/rails-heroicon/blob/main/CODE_OF_CONDUCT.md).
10
+ By participating in this project, you agree to abide by its rules.
11
+
12
+ ## Submitting a pull request
13
+
14
+ - Fork and clone the repo
15
+ - Run `bundle install` to install all the dependencies
16
+ - Make sure the tests are passing `bundle exec rake`
17
+ - Create a new branch: `git checkout -b awesome-feature`
18
+ - Add your changes, tests, and make sure the tests are passing
19
+ - Add an entry to the top of `CHANGELOG.md`
20
+ - Push to your fork and submit a pull request
data/Gemfile ADDED
@@ -0,0 +1,9 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem "rake", "~> 13.0"
7
+ gem "rspec", "~> 3.0"
8
+ gem "rubocop", "~> 1.7"
9
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,59 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ rails_heroicon (0.1.0.alpha)
5
+ nokogiri (>= 1.11.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ ast (2.4.2)
11
+ diff-lcs (1.4.4)
12
+ nokogiri (1.11.1-x86_64-linux)
13
+ racc (~> 1.4)
14
+ parallel (1.20.1)
15
+ parser (3.0.0.0)
16
+ ast (~> 2.4.1)
17
+ racc (1.5.2)
18
+ rainbow (3.0.0)
19
+ rake (13.0.3)
20
+ regexp_parser (2.0.3)
21
+ rexml (3.2.4)
22
+ rspec (3.10.0)
23
+ rspec-core (~> 3.10.0)
24
+ rspec-expectations (~> 3.10.0)
25
+ rspec-mocks (~> 3.10.0)
26
+ rspec-core (3.10.1)
27
+ rspec-support (~> 3.10.0)
28
+ rspec-expectations (3.10.1)
29
+ diff-lcs (>= 1.2.0, < 2.0)
30
+ rspec-support (~> 3.10.0)
31
+ rspec-mocks (3.10.2)
32
+ diff-lcs (>= 1.2.0, < 2.0)
33
+ rspec-support (~> 3.10.0)
34
+ rspec-support (3.10.2)
35
+ rubocop (1.10.0)
36
+ parallel (~> 1.10)
37
+ parser (>= 3.0.0.0)
38
+ rainbow (>= 2.2.2, < 4.0)
39
+ regexp_parser (>= 1.8, < 3.0)
40
+ rexml
41
+ rubocop-ast (>= 1.2.0, < 2.0)
42
+ ruby-progressbar (~> 1.7)
43
+ unicode-display_width (>= 1.4.0, < 3.0)
44
+ rubocop-ast (1.4.1)
45
+ parser (>= 2.7.1.5)
46
+ ruby-progressbar (1.11.0)
47
+ unicode-display_width (2.0.0)
48
+
49
+ PLATFORMS
50
+ x86_64-linux
51
+
52
+ DEPENDENCIES
53
+ rails_heroicon!
54
+ rake (~> 13.0)
55
+ rspec (~> 3.0)
56
+ rubocop (~> 1.7)
57
+
58
+ BUNDLED WITH
59
+ 2.2.7
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 abeidahmed
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,115 @@
1
+ # RailsHeroicon
2
+
3
+ A set of free MIT-licensed high-quality SVG icons for your rails app. To view
4
+ all the icons visit [heroicons](https://heroicons.com/).
5
+
6
+ > This gem has no official affiliation with Tailwind labs yet.
7
+
8
+ ## Installation
9
+
10
+ Add this line to your application's Gemfile:
11
+
12
+ ```ruby
13
+ gem "rails_heroicon"
14
+ ```
15
+
16
+ And then execute:
17
+
18
+ $ bundle install
19
+
20
+ Or install it yourself as:
21
+
22
+ $ gem install rails_heroicon
23
+
24
+ ## Usage
25
+
26
+ After installing the gem, using it is as simple as
27
+
28
+ ```erb
29
+ <%= heroicon "user" %>
30
+ ```
31
+
32
+ This will generate the following html:
33
+
34
+ ```html
35
+ <svg
36
+ width="24"
37
+ height="24"
38
+ viewBox="0 0 24 24"
39
+ fill="none"
40
+ stroke="currentColor"
41
+ >
42
+ <path
43
+ d="M16 7C16 9.20914 14.2091 11 12 11C9.79086 11 8 9.20914 8 7C8 4.79086 9.79086 3 12 3C14.2091 3 16 4.79086 16 7Z"
44
+ stroke-width="2"
45
+ stroke-linecap="round"
46
+ stroke-linejoin="round"
47
+ />
48
+ <path
49
+ d="M12 14C8.13401 14 5 17.134 5 21H19C19 17.134 15.866 14 12 14Z"
50
+ stroke-width="2"
51
+ stroke-linecap="round"
52
+ stroke-linejoin="round"
53
+ />
54
+ </svg>
55
+ ```
56
+
57
+ ### Variant
58
+
59
+ `rails_heroicon` provides 2 variants, `outline` and `solid`, `outline` being
60
+ the default.
61
+
62
+ To change the variant `<%= heroicon "user", variant: :solid %>`.
63
+
64
+ ### Accessibility
65
+
66
+ `rails_heroicon` automatically sets `aria-hidden=true` if `aria-label` is not
67
+ set, and if `aria-label` is set, then `role=img` is set.
68
+
69
+ ### HTML attributes
70
+
71
+ Any `html` attribute is supported, for eg:
72
+
73
+ ```erb
74
+ <%= heroicon "user", class: "text-gray-500", data: { controller: "icon" } %>
75
+ ```
76
+
77
+ ### Handling the size of the icon
78
+
79
+ Normally, if you're just using vanilla heroicons, you'd set `w-5 h-5` class
80
+ attributes on the svg. With `rails_heroicon`, you just need to set the `size`
81
+ attribute on the icon.
82
+
83
+ ```erb
84
+ <%= heroicon "user", size: 20 %>
85
+ ```
86
+
87
+ If the `variant` is set as `outline`, `size` automatically defaults to `24`,
88
+ and if the `variant` is set as `solid`, `size` automatically defaults to `20`.
89
+ However, this can be over-written with the `size` attribute.
90
+
91
+ ## Development
92
+
93
+ - Clone the repo
94
+ - Run `bundle install`
95
+ - Run `bundle exec rake` to run the tests to see if it passing
96
+
97
+ ## Contributing
98
+
99
+ Bug reports and pull requests are welcome on GitHub at
100
+ https://github.com/abeidahmed/rails_heroicon. This project is intended to be a
101
+ safe, welcoming space for collaboration, and contributors are expected to adhere
102
+ to the [code of conduct](https://github.com/abeidahmed/rails-heroicon/blob/main/CODE_OF_CONDUCT.md).
103
+
104
+ Please read the [CONTRIBUTING.md](https://github.com/abeidahmed/rails-heroicon/blob/main/CONTRIBUTING.md)
105
+ on how to make pull requests.
106
+
107
+ ## License
108
+
109
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
110
+
111
+ ## Code of Conduct
112
+
113
+ Everyone interacting in the RailsHeroicon project's codebases, issue trackers,
114
+ chat rooms and mailing lists is expected to follow the
115
+ [code of conduct](https://github.com/abeidahmed/rails-heroicon/blob/main/CODE_OF_CONDUCT.md).