octicons_v2 0.0.0.pre.77f2e00 → 0.0.0.pre.79f685c
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +116 -2
- data/lib/build/data.json +1 -1
- data/lib/build/svg/arrow-both.svg +1 -0
- data/lib/build/svg/bell.svg +1 -0
- data/lib/build/svg/{calendar-16.svg → calendar.svg} +1 -1
- data/lib/build/svg/check-circle.svg +1 -0
- data/lib/build/svg/credit-card.svg +1 -0
- data/lib/build/svg/desktop-device.svg +1 -0
- data/lib/build/svg/desktop-download.svg +1 -0
- data/lib/build/svg/dot-fill.svg +1 -0
- data/lib/build/svg/dot.svg +1 -0
- data/lib/build/svg/file-binary.svg +1 -0
- data/lib/build/svg/file-code.svg +1 -0
- data/lib/build/svg/file-symlink-file.svg +1 -0
- data/lib/build/svg/fire.svg +1 -0
- data/lib/build/svg/fold-down.svg +1 -0
- data/lib/build/svg/fold-up.svg +1 -0
- data/lib/build/svg/fold.svg +1 -0
- data/lib/build/svg/{gift-16.svg → gift.svg} +1 -1
- data/lib/build/svg/git-pull-request.svg +1 -0
- data/lib/build/svg/grabber.svg +1 -0
- data/lib/build/svg/home.svg +1 -0
- data/lib/build/svg/kebab-horizontal.svg +1 -0
- data/lib/build/svg/kebab-vertical.svg +1 -0
- data/lib/build/svg/light-bulb.svg +1 -0
- data/lib/build/svg/link-external.svg +1 -0
- data/lib/build/svg/{mention-16.svg → mention.svg} +1 -1
- data/lib/build/svg/mortar-board.svg +1 -0
- data/lib/build/svg/package-dependencies.svg +1 -0
- data/lib/build/svg/package-dependents.svg +1 -0
- data/lib/build/svg/package.svg +1 -0
- data/lib/build/svg/plus.svg +1 -0
- data/lib/build/svg/request-changes.svg +1 -0
- data/lib/build/svg/{share-16.svg → share.svg} +1 -1
- data/lib/build/svg/stopwatch.svg +1 -0
- data/lib/build/svg/telescope.svg +1 -0
- data/lib/build/svg/{thumbsdown-16.svg → thumbsdown.svg} +1 -1
- data/lib/build/svg/unfold.svg +1 -0
- data/lib/build/svg/workflow.svg +1 -0
- data/lib/{octicons_v2/octicon_v2.rb → octicons/octicon.rb} +8 -27
- data/lib/octicons/version.rb +3 -0
- data/lib/{octicons_v2.rb → octicons.rb} +3 -3
- metadata +178 -395
- data/lib/build/svg/alert-24.svg +0 -1
- data/lib/build/svg/archive-24.svg +0 -1
- data/lib/build/svg/arrow-both-16.svg +0 -1
- data/lib/build/svg/arrow-both-24.svg +0 -1
- data/lib/build/svg/arrow-down-24.svg +0 -1
- data/lib/build/svg/arrow-down-left-24.svg +0 -1
- data/lib/build/svg/arrow-down-right-24.svg +0 -1
- data/lib/build/svg/arrow-left-24.svg +0 -1
- data/lib/build/svg/arrow-right-24.svg +0 -1
- data/lib/build/svg/arrow-up-24.svg +0 -1
- data/lib/build/svg/arrow-up-left-24.svg +0 -1
- data/lib/build/svg/arrow-up-right-24.svg +0 -1
- data/lib/build/svg/beaker-24.svg +0 -1
- data/lib/build/svg/bell-16.svg +0 -1
- data/lib/build/svg/bell-24.svg +0 -1
- data/lib/build/svg/bell-fill-24.svg +0 -1
- data/lib/build/svg/bell-slash-24.svg +0 -1
- data/lib/build/svg/bold-24.svg +0 -1
- data/lib/build/svg/book-24.svg +0 -1
- data/lib/build/svg/bookmark-24.svg +0 -1
- data/lib/build/svg/bookmark-fill-24.svg +0 -1
- data/lib/build/svg/bookmark-slash-24.svg +0 -1
- data/lib/build/svg/bookmark-slash-fill-24.svg +0 -1
- data/lib/build/svg/briefcase-16.svg +0 -1
- data/lib/build/svg/briefcase-24.svg +0 -1
- data/lib/build/svg/broadcast-24.svg +0 -1
- data/lib/build/svg/calendar-24.svg +0 -1
- data/lib/build/svg/check-24.svg +0 -1
- data/lib/build/svg/check-circle-16.svg +0 -1
- data/lib/build/svg/check-circle-24.svg +0 -1
- data/lib/build/svg/check-circle-fill-24.svg +0 -1
- data/lib/build/svg/checklist-24.svg +0 -1
- data/lib/build/svg/chevron-down-24.svg +0 -1
- data/lib/build/svg/chevron-left-24.svg +0 -1
- data/lib/build/svg/chevron-right-24.svg +0 -1
- data/lib/build/svg/chevron-up-24.svg +0 -1
- data/lib/build/svg/circle-24.svg +0 -1
- data/lib/build/svg/circle-slash-24.svg +0 -1
- data/lib/build/svg/clippy-24.svg +0 -1
- data/lib/build/svg/clock-24.svg +0 -1
- data/lib/build/svg/code-24.svg +0 -1
- data/lib/build/svg/code-review-24.svg +0 -1
- data/lib/build/svg/code-square-24.svg +0 -1
- data/lib/build/svg/comment-24.svg +0 -1
- data/lib/build/svg/comment-discussion-24.svg +0 -1
- data/lib/build/svg/commit-24.svg +0 -1
- data/lib/build/svg/copy-24.svg +0 -1
- data/lib/build/svg/cpu-24.svg +0 -1
- data/lib/build/svg/credit-card-16.svg +0 -1
- data/lib/build/svg/credit-card-24.svg +0 -1
- data/lib/build/svg/cross-reference-24.svg +0 -1
- data/lib/build/svg/dash-16.svg +0 -1
- data/lib/build/svg/dash-24.svg +0 -1
- data/lib/build/svg/database-24.svg +0 -1
- data/lib/build/svg/desktop-download-16.svg +0 -1
- data/lib/build/svg/desktop-download-24.svg +0 -1
- data/lib/build/svg/device-camera-video-24.svg +0 -1
- data/lib/build/svg/device-desktop-16.svg +0 -1
- data/lib/build/svg/device-desktop-24.svg +0 -1
- data/lib/build/svg/device-mobile-24.svg +0 -1
- data/lib/build/svg/diff-16.svg +0 -1
- data/lib/build/svg/diff-24.svg +0 -1
- data/lib/build/svg/dot-16.svg +0 -1
- data/lib/build/svg/dot-24.svg +0 -1
- data/lib/build/svg/dot-fill-16.svg +0 -1
- data/lib/build/svg/dot-fill-24.svg +0 -1
- data/lib/build/svg/download-24.svg +0 -1
- data/lib/build/svg/ellipsis-16.svg +0 -1
- data/lib/build/svg/eye-24.svg +0 -1
- data/lib/build/svg/eye-slash-24.svg +0 -1
- data/lib/build/svg/file-24.svg +0 -1
- data/lib/build/svg/file-binary-16.svg +0 -1
- data/lib/build/svg/file-binary-24.svg +0 -1
- data/lib/build/svg/file-code-16.svg +0 -1
- data/lib/build/svg/file-code-24.svg +0 -1
- data/lib/build/svg/file-diff-24.svg +0 -1
- data/lib/build/svg/file-directory-24.svg +0 -1
- data/lib/build/svg/file-directory-fill-24.svg +0 -1
- data/lib/build/svg/file-media-24.svg +0 -1
- data/lib/build/svg/file-submodule-24.svg +0 -1
- data/lib/build/svg/file-symlink-24.svg +0 -1
- data/lib/build/svg/file-symlink-file-16.svg +0 -1
- data/lib/build/svg/file-zip-24.svg +0 -1
- data/lib/build/svg/filter-24.svg +0 -1
- data/lib/build/svg/fire-24.svg +0 -1
- data/lib/build/svg/flame-16.svg +0 -1
- data/lib/build/svg/fold-16.svg +0 -1
- data/lib/build/svg/fold-24.svg +0 -1
- data/lib/build/svg/fold-down-16.svg +0 -1
- data/lib/build/svg/fold-down-24.svg +0 -1
- data/lib/build/svg/fold-up-16.svg +0 -1
- data/lib/build/svg/fold-up-24.svg +0 -1
- data/lib/build/svg/gear-24.svg +0 -1
- data/lib/build/svg/gift-24.svg +0 -1
- data/lib/build/svg/git-branch-24.svg +0 -1
- data/lib/build/svg/git-commit-24.svg +0 -1
- data/lib/build/svg/git-compare-24.svg +0 -1
- data/lib/build/svg/git-fork-24.svg +0 -1
- data/lib/build/svg/git-merge-24.svg +0 -1
- data/lib/build/svg/git-pull-request-16.svg +0 -1
- data/lib/build/svg/git-pull-request-24.svg +0 -1
- data/lib/build/svg/globe-24.svg +0 -1
- data/lib/build/svg/grabber-16.svg +0 -1
- data/lib/build/svg/grabber-24.svg +0 -1
- data/lib/build/svg/graph-24.svg +0 -1
- data/lib/build/svg/heading-24.svg +0 -1
- data/lib/build/svg/heart-24.svg +0 -1
- data/lib/build/svg/heart-fill-24.svg +0 -1
- data/lib/build/svg/history-24.svg +0 -1
- data/lib/build/svg/home-16.svg +0 -1
- data/lib/build/svg/home-24.svg +0 -1
- data/lib/build/svg/home-fill-24.svg +0 -1
- data/lib/build/svg/horizontal-rule-16.svg +0 -1
- data/lib/build/svg/horizontal-rule-24.svg +0 -1
- data/lib/build/svg/hourglass-16.svg +0 -1
- data/lib/build/svg/hourglass-24.svg +0 -1
- data/lib/build/svg/hubot-24.svg +0 -1
- data/lib/build/svg/image-24.svg +0 -1
- data/lib/build/svg/inbox-24.svg +0 -1
- data/lib/build/svg/infinity-24.svg +0 -1
- data/lib/build/svg/info-24.svg +0 -1
- data/lib/build/svg/insights-24.svg +0 -1
- data/lib/build/svg/issue-closed-24.svg +0 -1
- data/lib/build/svg/issue-opened-24.svg +0 -1
- data/lib/build/svg/issue-reopened-24.svg +0 -1
- data/lib/build/svg/italic-24.svg +0 -1
- data/lib/build/svg/kebab-horizontal-16.svg +0 -1
- data/lib/build/svg/kebab-horizontal-24.svg +0 -1
- data/lib/build/svg/key-24.svg +0 -1
- data/lib/build/svg/law-24.svg +0 -1
- data/lib/build/svg/light-bulb-16.svg +0 -1
- data/lib/build/svg/light-bulb-24.svg +0 -1
- data/lib/build/svg/link-24.svg +0 -1
- data/lib/build/svg/link-external-16.svg +0 -1
- data/lib/build/svg/link-external-24.svg +0 -1
- data/lib/build/svg/list-ordered-24.svg +0 -1
- data/lib/build/svg/list-unordered-24.svg +0 -1
- data/lib/build/svg/location-24.svg +0 -1
- data/lib/build/svg/lock-24.svg +0 -1
- data/lib/build/svg/logo-gist-16.svg +0 -1
- data/lib/build/svg/logo-github-16.svg +0 -1
- data/lib/build/svg/mail-24.svg +0 -1
- data/lib/build/svg/megaphone-24.svg +0 -1
- data/lib/build/svg/mention-24.svg +0 -1
- data/lib/build/svg/meter-16.svg +0 -1
- data/lib/build/svg/milestone-24.svg +0 -1
- data/lib/build/svg/mirror-24.svg +0 -1
- data/lib/build/svg/moon-16.svg +0 -1
- data/lib/build/svg/moon-24.svg +0 -1
- data/lib/build/svg/mortar-board-16.svg +0 -1
- data/lib/build/svg/mortar-board-24.svg +0 -1
- data/lib/build/svg/mute-24.svg +0 -1
- data/lib/build/svg/no-entry-16.svg +0 -1
- data/lib/build/svg/no-entry-24.svg +0 -1
- data/lib/build/svg/north-star-16.svg +0 -1
- data/lib/build/svg/north-star-24.svg +0 -1
- data/lib/build/svg/note-24.svg +0 -1
- data/lib/build/svg/octoface-16.svg +0 -1
- data/lib/build/svg/organization-24.svg +0 -1
- data/lib/build/svg/package-16.svg +0 -1
- data/lib/build/svg/package-24.svg +0 -1
- data/lib/build/svg/package-dependencies-16.svg +0 -1
- data/lib/build/svg/package-dependencies-24.svg +0 -1
- data/lib/build/svg/package-dependents-16.svg +0 -1
- data/lib/build/svg/package-dependents-24.svg +0 -1
- data/lib/build/svg/paper-airplane-24.svg +0 -1
- data/lib/build/svg/pencil-24.svg +0 -1
- data/lib/build/svg/people-24.svg +0 -1
- data/lib/build/svg/person-24.svg +0 -1
- data/lib/build/svg/pin-24.svg +0 -1
- data/lib/build/svg/play-24.svg +0 -1
- data/lib/build/svg/plug-24.svg +0 -1
- data/lib/build/svg/plus-16.svg +0 -1
- data/lib/build/svg/plus-24.svg +0 -1
- data/lib/build/svg/plus-circle-24.svg +0 -1
- data/lib/build/svg/project-24.svg +0 -1
- data/lib/build/svg/pulse-24.svg +0 -1
- data/lib/build/svg/question-24.svg +0 -1
- data/lib/build/svg/quote-24.svg +0 -1
- data/lib/build/svg/reply-24.svg +0 -1
- data/lib/build/svg/repo-24.svg +0 -1
- data/lib/build/svg/repo-push-24.svg +0 -1
- data/lib/build/svg/repo-template-24.svg +0 -1
- data/lib/build/svg/report-16.svg +0 -1
- data/lib/build/svg/report-24.svg +0 -1
- data/lib/build/svg/rocket-24.svg +0 -1
- data/lib/build/svg/rss-24.svg +0 -1
- data/lib/build/svg/ruby-16.svg +0 -1
- data/lib/build/svg/ruby-24.svg +0 -1
- data/lib/build/svg/screen-full-24.svg +0 -1
- data/lib/build/svg/screen-normal-24.svg +0 -1
- data/lib/build/svg/search-24.svg +0 -1
- data/lib/build/svg/server-24.svg +0 -1
- data/lib/build/svg/settings-24.svg +0 -1
- data/lib/build/svg/share-24.svg +0 -1
- data/lib/build/svg/share-android-24.svg +0 -1
- data/lib/build/svg/shield-24.svg +0 -1
- data/lib/build/svg/shield-check-24.svg +0 -1
- data/lib/build/svg/shield-lock-24.svg +0 -1
- data/lib/build/svg/shield-x-24.svg +0 -1
- data/lib/build/svg/sign-in-16.svg +0 -1
- data/lib/build/svg/sign-in-24.svg +0 -1
- data/lib/build/svg/sign-out-16.svg +0 -1
- data/lib/build/svg/sign-out-24.svg +0 -1
- data/lib/build/svg/skip-24.svg +0 -1
- data/lib/build/svg/smiley-24.svg +0 -1
- data/lib/build/svg/square-16.svg +0 -1
- data/lib/build/svg/square-24.svg +0 -1
- data/lib/build/svg/square-fill-16.svg +0 -1
- data/lib/build/svg/square-fill-24.svg +0 -1
- data/lib/build/svg/squirrel-16.svg +0 -4
- data/lib/build/svg/star-24.svg +0 -1
- data/lib/build/svg/star-fill-24.svg +0 -1
- data/lib/build/svg/stop-24.svg +0 -1
- data/lib/build/svg/stopwatch-16.svg +0 -1
- data/lib/build/svg/stopwatch-24.svg +0 -1
- data/lib/build/svg/sun-16.svg +0 -1
- data/lib/build/svg/sun-24.svg +0 -1
- data/lib/build/svg/sync-24.svg +0 -1
- data/lib/build/svg/tab-24.svg +0 -1
- data/lib/build/svg/tag-24.svg +0 -1
- data/lib/build/svg/tasklist-24.svg +0 -1
- data/lib/build/svg/telescope-16.svg +0 -1
- data/lib/build/svg/telescope-24.svg +0 -1
- data/lib/build/svg/terminal-24.svg +0 -1
- data/lib/build/svg/thumbsdown-24.svg +0 -1
- data/lib/build/svg/thumbsup-24.svg +0 -1
- data/lib/build/svg/tools-24.svg +0 -1
- data/lib/build/svg/trash-24.svg +0 -1
- data/lib/build/svg/triangle-down-24.svg +0 -1
- data/lib/build/svg/triangle-left-24.svg +0 -1
- data/lib/build/svg/triangle-right-24.svg +0 -1
- data/lib/build/svg/triangle-up-24.svg +0 -1
- data/lib/build/svg/typography-24.svg +0 -1
- data/lib/build/svg/unfold-16.svg +0 -1
- data/lib/build/svg/unfold-24.svg +0 -1
- data/lib/build/svg/unlock-24.svg +0 -1
- data/lib/build/svg/unmute-24.svg +0 -1
- data/lib/build/svg/unverifed-24.svg +0 -1
- data/lib/build/svg/upload-24.svg +0 -1
- data/lib/build/svg/verified-24.svg +0 -1
- data/lib/build/svg/versions-24.svg +0 -1
- data/lib/build/svg/workflow-16.svg +0 -1
- data/lib/build/svg/workflow-24.svg +0 -1
- data/lib/build/svg/x-24.svg +0 -1
- data/lib/build/svg/x-circle-24.svg +0 -1
- data/lib/build/svg/x-circle-fill-24.svg +0 -1
- data/lib/build/svg/zap-16.svg +0 -1
- data/lib/build/svg/zap-24.svg +0 -1
- data/lib/octicons_v2/version.rb +0 -3
- /data/lib/build/svg/{alert-16.svg → alert.svg} +0 -0
- /data/lib/build/svg/{archive-16.svg → archive.svg} +0 -0
- /data/lib/build/svg/{arrow-down-16.svg → arrow-down.svg} +0 -0
- /data/lib/build/svg/{arrow-left-16.svg → arrow-left.svg} +0 -0
- /data/lib/build/svg/{arrow-right-16.svg → arrow-right.svg} +0 -0
- /data/lib/build/svg/{arrow-up-16.svg → arrow-up.svg} +0 -0
- /data/lib/build/svg/{beaker-16.svg → beaker.svg} +0 -0
- /data/lib/build/svg/{bell-slash-16.svg → bell-slash.svg} +0 -0
- /data/lib/build/svg/{bold-16.svg → bold.svg} +0 -0
- /data/lib/build/svg/{book-16.svg → book.svg} +0 -0
- /data/lib/build/svg/{bookmark-slash-16.svg → bookmark-slash.svg} +0 -0
- /data/lib/build/svg/{bookmark-16.svg → bookmark.svg} +0 -0
- /data/lib/build/svg/{broadcast-16.svg → broadcast.svg} +0 -0
- /data/lib/build/svg/{check-circle-fill-16.svg → check-circle-fill.svg} +0 -0
- /data/lib/build/svg/{check-16.svg → check.svg} +0 -0
- /data/lib/build/svg/{checklist-16.svg → checklist.svg} +0 -0
- /data/lib/build/svg/{chevron-down-16.svg → chevron-down.svg} +0 -0
- /data/lib/build/svg/{chevron-left-16.svg → chevron-left.svg} +0 -0
- /data/lib/build/svg/{chevron-right-16.svg → chevron-right.svg} +0 -0
- /data/lib/build/svg/{chevron-up-16.svg → chevron-up.svg} +0 -0
- /data/lib/build/svg/{circle-slash-16.svg → circle-slash.svg} +0 -0
- /data/lib/build/svg/{clippy-16.svg → clippy.svg} +0 -0
- /data/lib/build/svg/{clock-16.svg → clock.svg} +0 -0
- /data/lib/build/svg/{code-review-16.svg → code-review.svg} +0 -0
- /data/lib/build/svg/{code-square-16.svg → code-square.svg} +0 -0
- /data/lib/build/svg/{code-16.svg → code.svg} +0 -0
- /data/lib/build/svg/{comment-discussion-16.svg → comment-discussion.svg} +0 -0
- /data/lib/build/svg/{comment-16.svg → comment.svg} +0 -0
- /data/lib/build/svg/{cpu-16.svg → cpu.svg} +0 -0
- /data/lib/build/svg/{cross-reference-16.svg → cross-reference.svg} +0 -0
- /data/lib/build/svg/{database-16.svg → database.svg} +0 -0
- /data/lib/build/svg/{device-camera-video-16.svg → device-camera-video.svg} +0 -0
- /data/lib/build/svg/{device-mobile-16.svg → device-mobile.svg} +0 -0
- /data/lib/build/svg/{diff-added-16.svg → diff-added.svg} +0 -0
- /data/lib/build/svg/{diff-ignored-16.svg → diff-ignored.svg} +0 -0
- /data/lib/build/svg/{diff-modified-16.svg → diff-modified.svg} +0 -0
- /data/lib/build/svg/{diff-removed-16.svg → diff-removed.svg} +0 -0
- /data/lib/build/svg/{diff-renamed-16.svg → diff-renamed.svg} +0 -0
- /data/lib/build/svg/{download-16.svg → download.svg} +0 -0
- /data/lib/build/svg/{eye-closed-16.svg → eye-closed.svg} +0 -0
- /data/lib/build/svg/{eye-16.svg → eye.svg} +0 -0
- /data/lib/build/svg/{file-diff-16.svg → file-diff.svg} +0 -0
- /data/lib/build/svg/{file-directory-16.svg → file-directory.svg} +0 -0
- /data/lib/build/svg/{file-submodule-16.svg → file-submodule.svg} +0 -0
- /data/lib/build/svg/{file-zip-16.svg → file-zip.svg} +0 -0
- /data/lib/build/svg/{file-16.svg → file.svg} +0 -0
- /data/lib/build/svg/{filter-16.svg → filter.svg} +0 -0
- /data/lib/build/svg/{gear-16.svg → gear.svg} +0 -0
- /data/lib/build/svg/{git-branch-16.svg → git-branch.svg} +0 -0
- /data/lib/build/svg/{git-commit-16.svg → git-commit.svg} +0 -0
- /data/lib/build/svg/{git-compare-16.svg → git-compare.svg} +0 -0
- /data/lib/build/svg/{git-merge-16.svg → git-merge.svg} +0 -0
- /data/lib/build/svg/{globe-16.svg → globe.svg} +0 -0
- /data/lib/build/svg/{graph-16.svg → graph.svg} +0 -0
- /data/lib/build/svg/{heading-16.svg → heading.svg} +0 -0
- /data/lib/build/svg/{heart-fill-16.svg → heart-fill.svg} +0 -0
- /data/lib/build/svg/{heart-16.svg → heart.svg} +0 -0
- /data/lib/build/svg/{history-16.svg → history.svg} +0 -0
- /data/lib/build/svg/{hubot-16.svg → hubot.svg} +0 -0
- /data/lib/build/svg/{image-16.svg → image.svg} +0 -0
- /data/lib/build/svg/{inbox-16.svg → inbox.svg} +0 -0
- /data/lib/build/svg/{infinity-16.svg → infinity.svg} +0 -0
- /data/lib/build/svg/{info-16.svg → info.svg} +0 -0
- /data/lib/build/svg/{issue-closed-16.svg → issue-closed.svg} +0 -0
- /data/lib/build/svg/{issue-opened-16.svg → issue-opened.svg} +0 -0
- /data/lib/build/svg/{issue-reopened-16.svg → issue-reopened.svg} +0 -0
- /data/lib/build/svg/{italic-16.svg → italic.svg} +0 -0
- /data/lib/build/svg/{key-16.svg → key.svg} +0 -0
- /data/lib/build/svg/{law-16.svg → law.svg} +0 -0
- /data/lib/build/svg/{link-16.svg → link.svg} +0 -0
- /data/lib/build/svg/{list-ordered-16.svg → list-ordered.svg} +0 -0
- /data/lib/build/svg/{list-unordered-16.svg → list-unordered.svg} +0 -0
- /data/lib/build/svg/{location-16.svg → location.svg} +0 -0
- /data/lib/build/svg/{lock-16.svg → lock.svg} +0 -0
- /data/lib/build/svg/{mail-16.svg → mail.svg} +0 -0
- /data/lib/build/svg/{mark-github-16.svg → mark-github.svg} +0 -0
- /data/lib/build/svg/{markdown-16.svg → markdown.svg} +0 -0
- /data/lib/build/svg/{megaphone-16.svg → megaphone.svg} +0 -0
- /data/lib/build/svg/{milestone-16.svg → milestone.svg} +0 -0
- /data/lib/build/svg/{mirror-16.svg → mirror.svg} +0 -0
- /data/lib/build/svg/{mute-16.svg → mute.svg} +0 -0
- /data/lib/build/svg/{note-16.svg → note.svg} +0 -0
- /data/lib/build/svg/{organization-16.svg → organization.svg} +0 -0
- /data/lib/build/svg/{paper-airplane-16.svg → paper-airplane.svg} +0 -0
- /data/lib/build/svg/{pencil-16.svg → pencil.svg} +0 -0
- /data/lib/build/svg/{people-16.svg → people.svg} +0 -0
- /data/lib/build/svg/{person-16.svg → person.svg} +0 -0
- /data/lib/build/svg/{pin-16.svg → pin.svg} +0 -0
- /data/lib/build/svg/{play-16.svg → play.svg} +0 -0
- /data/lib/build/svg/{plug-16.svg → plug.svg} +0 -0
- /data/lib/build/svg/{plus-circle-16.svg → plus-circle.svg} +0 -0
- /data/lib/build/svg/{project-16.svg → project.svg} +0 -0
- /data/lib/build/svg/{pulse-16.svg → pulse.svg} +0 -0
- /data/lib/build/svg/{question-16.svg → question.svg} +0 -0
- /data/lib/build/svg/{quote-16.svg → quote.svg} +0 -0
- /data/lib/build/svg/{reply-16.svg → reply.svg} +0 -0
- /data/lib/build/svg/{repo-forked-16.svg → repo-forked.svg} +0 -0
- /data/lib/build/svg/{repo-push-16.svg → repo-push.svg} +0 -0
- /data/lib/build/svg/{repo-template-16.svg → repo-template.svg} +0 -0
- /data/lib/build/svg/{repo-16.svg → repo.svg} +0 -0
- /data/lib/build/svg/{rocket-16.svg → rocket.svg} +0 -0
- /data/lib/build/svg/{rss-16.svg → rss.svg} +0 -0
- /data/lib/build/svg/{screen-full-16.svg → screen-full.svg} +0 -0
- /data/lib/build/svg/{screen-normal-16.svg → screen-normal.svg} +0 -0
- /data/lib/build/svg/{search-16.svg → search.svg} +0 -0
- /data/lib/build/svg/{server-16.svg → server.svg} +0 -0
- /data/lib/build/svg/{share-android-16.svg → share-android.svg} +0 -0
- /data/lib/build/svg/{shield-check-16.svg → shield-check.svg} +0 -0
- /data/lib/build/svg/{shield-lock-16.svg → shield-lock.svg} +0 -0
- /data/lib/build/svg/{shield-x-16.svg → shield-x.svg} +0 -0
- /data/lib/build/svg/{shield-16.svg → shield.svg} +0 -0
- /data/lib/build/svg/{skip-16.svg → skip.svg} +0 -0
- /data/lib/build/svg/{smiley-16.svg → smiley.svg} +0 -0
- /data/lib/build/svg/{star-fill-16.svg → star-fill.svg} +0 -0
- /data/lib/build/svg/{star-16.svg → star.svg} +0 -0
- /data/lib/build/svg/{stop-16.svg → stop.svg} +0 -0
- /data/lib/build/svg/{sync-16.svg → sync.svg} +0 -0
- /data/lib/build/svg/{tag-16.svg → tag.svg} +0 -0
- /data/lib/build/svg/{tasklist-16.svg → tasklist.svg} +0 -0
- /data/lib/build/svg/{terminal-16.svg → terminal.svg} +0 -0
- /data/lib/build/svg/{three-bars-16.svg → three-bars.svg} +0 -0
- /data/lib/build/svg/{thumbsup-16.svg → thumbsup.svg} +0 -0
- /data/lib/build/svg/{tools-16.svg → tools.svg} +0 -0
- /data/lib/build/svg/{trashcan-16.svg → trashcan.svg} +0 -0
- /data/lib/build/svg/{triangle-down-16.svg → triangle-down.svg} +0 -0
- /data/lib/build/svg/{triangle-left-16.svg → triangle-left.svg} +0 -0
- /data/lib/build/svg/{triangle-right-16.svg → triangle-right.svg} +0 -0
- /data/lib/build/svg/{triangle-up-16.svg → triangle-up.svg} +0 -0
- /data/lib/build/svg/{typography-16.svg → typography.svg} +0 -0
- /data/lib/build/svg/{unlock-16.svg → unlock.svg} +0 -0
- /data/lib/build/svg/{unmute-16.svg → unmute.svg} +0 -0
- /data/lib/build/svg/{unverified-16.svg → unverified.svg} +0 -0
- /data/lib/build/svg/{upload-16.svg → upload.svg} +0 -0
- /data/lib/build/svg/{verified-16.svg → verified.svg} +0 -0
- /data/lib/build/svg/{versions-16.svg → versions.svg} +0 -0
- /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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f2ce577689a4db6d814712ff9a78bf8bb75d2e35774996488218c703fe9b06a
|
4
|
+
data.tar.gz: 62f41a84ad8a7036431aa203ac52bb143af2a9d48d2af17cc325b8eb0f118209
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ab27a38852f55d4adc66d0ab49a9a9775495bab927137050666eaf20cd502bb893a01dae1bb4fe4280b07c8997fc92597d1229bb20c2b2496c64259bdc9eb23
|
7
|
+
data.tar.gz: 3f3785472f6f41d424a04734b8ccbf2fa700a775e6c1766124fd9e9235546727feef16d213b2e69d109d2192b59ccc00d896c3a44c8758549b2bf5587acbc75d
|
data/README.md
CHANGED
@@ -1,5 +1,119 @@
|
|
1
|
-
#
|
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
|
-
|
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/
|