octicons_v2 0.0.0.pre.cb6d341 → 0.0.0.pre.cd4aa41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/build/data.json +1 -1
- 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-both-16.svg → arrow-both.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/{bell-16.svg → bell.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/{calendar-16.svg → calendar.svg} +0 -0
- data/lib/build/svg/{check-circle-fill-16.svg → check-circle-fill.svg} +0 -0
- data/lib/build/svg/{check-circle-16.svg → check-circle.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/{credit-card-16.svg → credit-card.svg} +0 -0
- data/lib/build/svg/{cross-reference-16.svg → cross-reference.svg} +0 -0
- data/lib/build/svg/{dash-16.svg → dash.svg} +0 -0
- data/lib/build/svg/{database-16.svg → database.svg} +0 -0
- data/lib/build/svg/{desktop-download-16.svg → desktop-download.svg} +0 -0
- data/lib/build/svg/{device-camera-video-16.svg → device-camera-video.svg} +0 -0
- data/lib/build/svg/{device-desktop-16.svg → device-desktop.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/{diff-16.svg → diff.svg} +0 -0
- data/lib/build/svg/{dot-fill-16.svg → dot-fill.svg} +0 -0
- data/lib/build/svg/{dot-16.svg → dot.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-binary-16.svg → file-binary.svg} +0 -0
- data/lib/build/svg/{file-code-16.svg → file-code.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-symlink-file-16.svg → file-symlink-file.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/{flame-16.svg → flame.svg} +0 -0
- data/lib/build/svg/{fold-down-16.svg → fold-down.svg} +0 -0
- data/lib/build/svg/{fold-up-16.svg → fold-up.svg} +0 -0
- data/lib/build/svg/{fold-16.svg → fold.svg} +0 -0
- data/lib/build/svg/{gear-16.svg → gear.svg} +0 -0
- data/lib/build/svg/{gift-16.svg → gift.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/{git-pull-request-16.svg → git-pull-request.svg} +0 -0
- data/lib/build/svg/{globe-16.svg → globe.svg} +0 -0
- data/lib/build/svg/{grabber-16.svg → grabber.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/{home-16.svg → home.svg} +0 -0
- data/lib/build/svg/{horizontal-rule-16.svg → horizontal-rule.svg} +0 -0
- data/lib/build/svg/{hourglass-16.svg → hourglass.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/{kebab-horizontal-16.svg → kebab-horizontal.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/{light-bulb-16.svg → light-bulb.svg} +0 -0
- data/lib/build/svg/{link-external-16.svg → link-external.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/{mention-16.svg → mention.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/{mortar-board-16.svg → mortar-board.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/{package-dependencies-16.svg → package-dependencies.svg} +0 -0
- data/lib/build/svg/{package-dependents-16.svg → package-dependents.svg} +0 -0
- data/lib/build/svg/{package-16.svg → package.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/{plus-16.svg → plus.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/{share-16.svg → share.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/{sign-in-16.svg → sign-in.svg} +0 -0
- data/lib/build/svg/{sign-out-16.svg → sign-out.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/{stopwatch-16.svg → stopwatch.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/{telescope-16.svg → telescope.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/{thumbsdown-16.svg → thumbsdown.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/{unfold-16.svg → unfold.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/{workflow-16.svg → workflow.svg} +0 -0
- data/lib/build/svg/{x-16.svg → x.svg} +0 -0
- data/lib/octicons_v2/octicon_v2.rb +8 -25
- data/lib/octicons_v2/version.rb +1 -1
- metadata +179 -370
- data/lib/build/svg/alert-24.svg +0 -5
- data/lib/build/svg/archive-24.svg +0 -5
- data/lib/build/svg/arrow-both-24.svg +0 -3
- data/lib/build/svg/arrow-down-24.svg +0 -3
- data/lib/build/svg/arrow-down-left-24.svg +0 -3
- data/lib/build/svg/arrow-down-right-24.svg +0 -3
- data/lib/build/svg/arrow-left-24.svg +0 -3
- data/lib/build/svg/arrow-right-24.svg +0 -3
- data/lib/build/svg/arrow-up-24.svg +0 -3
- data/lib/build/svg/arrow-up-left-24.svg +0 -3
- data/lib/build/svg/arrow-up-right-24.svg +0 -3
- data/lib/build/svg/beaker-24.svg +0 -3
- data/lib/build/svg/bell-24.svg +0 -3
- data/lib/build/svg/bell-fill-24.svg +0 -3
- data/lib/build/svg/bell-slash-24.svg +0 -4
- data/lib/build/svg/bold-24.svg +0 -3
- data/lib/build/svg/book-24.svg +0 -3
- data/lib/build/svg/bookmark-24.svg +0 -3
- data/lib/build/svg/bookmark-fill-24.svg +0 -3
- data/lib/build/svg/bookmark-slash-24.svg +0 -4
- data/lib/build/svg/bookmark-slash-fill-24.svg +0 -3
- data/lib/build/svg/broadcast-24.svg +0 -7
- data/lib/build/svg/calendar-24.svg +0 -3
- data/lib/build/svg/check-24.svg +0 -3
- data/lib/build/svg/check-circle-24.svg +0 -4
- data/lib/build/svg/check-circle-fill-24.svg +0 -3
- data/lib/build/svg/checklist-24.svg +0 -6
- data/lib/build/svg/chevron-down-24.svg +0 -3
- data/lib/build/svg/chevron-left-24.svg +0 -3
- data/lib/build/svg/chevron-right-24.svg +0 -3
- data/lib/build/svg/chevron-up-24.svg +0 -3
- data/lib/build/svg/circle-24.svg +0 -3
- data/lib/build/svg/circle-slash-24.svg +0 -3
- data/lib/build/svg/clippy-24.svg +0 -4
- data/lib/build/svg/clock-24.svg +0 -4
- data/lib/build/svg/code-24.svg +0 -4
- data/lib/build/svg/code-review-24.svg +0 -5
- data/lib/build/svg/code-square-24.svg +0 -5
- data/lib/build/svg/comment-24.svg +0 -3
- data/lib/build/svg/comment-discussion-24.svg +0 -4
- data/lib/build/svg/commit-24.svg +0 -5
- data/lib/build/svg/copy-24.svg +0 -3
- data/lib/build/svg/cpu-24.svg +0 -4
- data/lib/build/svg/credit-card-24.svg +0 -4
- data/lib/build/svg/cross-reference-24.svg +0 -4
- data/lib/build/svg/dash-24.svg +0 -3
- data/lib/build/svg/database-24.svg +0 -3
- data/lib/build/svg/desktop-device-24.svg +0 -3
- data/lib/build/svg/desktop-download-24.svg +0 -4
- data/lib/build/svg/device-camera-video-24.svg +0 -3
- data/lib/build/svg/device-mobile-24.svg +0 -5
- data/lib/build/svg/dot-24.svg +0 -3
- data/lib/build/svg/dot-fill-24.svg +0 -3
- data/lib/build/svg/download-24.svg +0 -4
- data/lib/build/svg/eye-24.svg +0 -4
- data/lib/build/svg/eye-slash-24.svg +0 -4
- data/lib/build/svg/file-24.svg +0 -3
- data/lib/build/svg/file-binary-24.svg +0 -5
- data/lib/build/svg/file-code-24.svg +0 -5
- data/lib/build/svg/file-diff-24.svg +0 -5
- data/lib/build/svg/file-directory-24.svg +0 -3
- data/lib/build/svg/file-directory-fill-24.svg +0 -3
- data/lib/build/svg/file-media-24.svg +0 -3
- data/lib/build/svg/file-submodule-24.svg +0 -3
- data/lib/build/svg/file-symlink-24.svg +0 -3
- data/lib/build/svg/file-zip-24.svg +0 -13
- data/lib/build/svg/filter-24.svg +0 -5
- data/lib/build/svg/fire-24.svg +0 -3
- data/lib/build/svg/fold-24.svg +0 -11
- data/lib/build/svg/fold-down-24.svg +0 -9
- data/lib/build/svg/fold-up-24.svg +0 -9
- data/lib/build/svg/gear-24.svg +0 -4
- data/lib/build/svg/gift-24.svg +0 -3
- data/lib/build/svg/git-branch-24.svg +0 -7
- data/lib/build/svg/git-commit-24.svg +0 -3
- data/lib/build/svg/git-compare-24.svg +0 -6
- data/lib/build/svg/git-fork-24.svg +0 -7
- data/lib/build/svg/git-merge-24.svg +0 -7
- data/lib/build/svg/git-pull-request-24.svg +0 -7
- data/lib/build/svg/globe-24.svg +0 -3
- data/lib/build/svg/grabber-24.svg +0 -3
- data/lib/build/svg/grabber-3-24.svg +0 -3
- data/lib/build/svg/graph-24.svg +0 -4
- data/lib/build/svg/heading-24.svg +0 -3
- data/lib/build/svg/heart-24.svg +0 -3
- data/lib/build/svg/heart-fill-24.svg +0 -3
- data/lib/build/svg/history-24.svg +0 -4
- data/lib/build/svg/home-24.svg +0 -3
- data/lib/build/svg/home-fill-24.svg +0 -3
- data/lib/build/svg/horizontal-rule-24.svg +0 -3
- data/lib/build/svg/hourglass-24.svg +0 -3
- data/lib/build/svg/hubot-24.svg +0 -5
- data/lib/build/svg/image-24.svg +0 -3
- data/lib/build/svg/inbox-24.svg +0 -3
- data/lib/build/svg/infinity-24.svg +0 -3
- data/lib/build/svg/info-24.svg +0 -5
- data/lib/build/svg/insights-24.svg +0 -3
- data/lib/build/svg/issue-closed-24.svg +0 -6
- data/lib/build/svg/issue-opened-24.svg +0 -5
- data/lib/build/svg/issue-reopened-24.svg +0 -6
- data/lib/build/svg/italic-24.svg +0 -3
- data/lib/build/svg/kebab-horizontal-24.svg +0 -3
- data/lib/build/svg/kebab-vertical-24.svg +0 -3
- data/lib/build/svg/key-24.svg +0 -4
- data/lib/build/svg/law-24.svg +0 -3
- data/lib/build/svg/lightbulb-24.svg +0 -3
- data/lib/build/svg/link-24.svg +0 -4
- data/lib/build/svg/link-external-24.svg +0 -4
- data/lib/build/svg/list-ordered-24.svg +0 -7
- data/lib/build/svg/list-unordered-24.svg +0 -3
- data/lib/build/svg/location-24.svg +0 -4
- data/lib/build/svg/lock-24.svg +0 -3
- data/lib/build/svg/mail-24.svg +0 -3
- data/lib/build/svg/megaphone-24.svg +0 -3
- data/lib/build/svg/mention-24.svg +0 -3
- data/lib/build/svg/milestone-24.svg +0 -3
- data/lib/build/svg/mirror-24.svg +0 -9
- data/lib/build/svg/mortar-board-24.svg +0 -3
- data/lib/build/svg/mute-24.svg +0 -4
- data/lib/build/svg/north-star-16.svg +0 -3
- data/lib/build/svg/north-star-24.svg +0 -3
- data/lib/build/svg/note-24.svg +0 -5
- data/lib/build/svg/organization-24.svg +0 -12
- data/lib/build/svg/package-24.svg +0 -3
- data/lib/build/svg/package-dependencies-24.svg +0 -4
- data/lib/build/svg/package-dependents-24.svg +0 -4
- data/lib/build/svg/paper-airplane-24.svg +0 -3
- data/lib/build/svg/pencil-24.svg +0 -3
- data/lib/build/svg/people-24.svg +0 -3
- data/lib/build/svg/person-24.svg +0 -4
- data/lib/build/svg/pin-24.svg +0 -3
- data/lib/build/svg/play-24.svg +0 -4
- data/lib/build/svg/plug-24.svg +0 -3
- data/lib/build/svg/plus-24.svg +0 -3
- data/lib/build/svg/plus-circle-24.svg +0 -4
- data/lib/build/svg/project-24.svg +0 -6
- data/lib/build/svg/pulse-24.svg +0 -3
- data/lib/build/svg/question-24.svg +0 -5
- data/lib/build/svg/quote-24.svg +0 -3
- data/lib/build/svg/reply-24.svg +0 -3
- data/lib/build/svg/repo-24.svg +0 -4
- data/lib/build/svg/repo-push-24.svg +0 -4
- data/lib/build/svg/repo-template-24.svg +0 -11
- data/lib/build/svg/request-changes-24.svg +0 -3
- data/lib/build/svg/rocket-24.svg +0 -3
- data/lib/build/svg/rss-24.svg +0 -3
- data/lib/build/svg/screen-full-24.svg +0 -3
- data/lib/build/svg/screen-normal-24.svg +0 -3
- data/lib/build/svg/search-24.svg +0 -3
- data/lib/build/svg/server-24.svg +0 -7
- data/lib/build/svg/settings-24.svg +0 -3
- data/lib/build/svg/share-24.svg +0 -3
- data/lib/build/svg/share-android-24.svg +0 -3
- data/lib/build/svg/shield-24.svg +0 -5
- data/lib/build/svg/shield-check-24.svg +0 -4
- data/lib/build/svg/shield-lock-24.svg +0 -3
- data/lib/build/svg/shield-x-24.svg +0 -4
- data/lib/build/svg/sign-in-24.svg +0 -3
- data/lib/build/svg/sign-out-24.svg +0 -3
- data/lib/build/svg/skip-24.svg +0 -4
- data/lib/build/svg/smiley-24.svg +0 -6
- data/lib/build/svg/star-24.svg +0 -3
- data/lib/build/svg/star-fill-24.svg +0 -3
- data/lib/build/svg/stop-24.svg +0 -5
- data/lib/build/svg/stopwatch-24.svg +0 -3
- data/lib/build/svg/sync-24.svg +0 -4
- data/lib/build/svg/tab-24.svg +0 -4
- data/lib/build/svg/tag-24.svg +0 -4
- data/lib/build/svg/tasklist-24.svg +0 -4
- data/lib/build/svg/telescope-24.svg +0 -4
- data/lib/build/svg/terminal-24.svg +0 -5
- data/lib/build/svg/thumbsdown-24.svg +0 -3
- data/lib/build/svg/thumbsup-24.svg +0 -3
- data/lib/build/svg/tools-24.svg +0 -3
- data/lib/build/svg/trash-24.svg +0 -6
- data/lib/build/svg/triangle-down-24.svg +0 -3
- data/lib/build/svg/triangle-left-24.svg +0 -3
- data/lib/build/svg/triangle-right-24.svg +0 -3
- data/lib/build/svg/triangle-up-24.svg +0 -3
- data/lib/build/svg/typography-24.svg +0 -4
- data/lib/build/svg/unfold-24.svg +0 -11
- data/lib/build/svg/unlock-24.svg +0 -3
- data/lib/build/svg/unmute-24.svg +0 -5
- data/lib/build/svg/unverifed-24.svg +0 -5
- data/lib/build/svg/upload-24.svg +0 -4
- data/lib/build/svg/verified-24.svg +0 -4
- data/lib/build/svg/versions-24.svg +0 -5
- data/lib/build/svg/workflow-24.svg +0 -3
- data/lib/build/svg/x-24.svg +0 -3
- data/lib/build/svg/x-circle-24.svg +0 -4
- data/lib/build/svg/x-circle-fill-24.svg +0 -3
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -5,11 +5,14 @@ module OcticonsV2
|
|
5
5
|
|
6
6
|
def initialize(symbol, options = {})
|
7
7
|
@symbol = symbol.to_s
|
8
|
-
if octicon =
|
9
|
-
|
10
|
-
@
|
11
|
-
@
|
12
|
-
@
|
8
|
+
if octicon = OcticonsV2::OCTICON_SYMBOLS[@symbol]
|
9
|
+
|
10
|
+
@path = octicon["path"]
|
11
|
+
@width = octicon["width"].to_i
|
12
|
+
@height = octicon["height"].to_i
|
13
|
+
|
14
|
+
@keywords = octicon["keywords"]
|
15
|
+
|
13
16
|
@options = options
|
14
17
|
@options.merge!({
|
15
18
|
class: classes,
|
@@ -81,25 +84,5 @@ module OcticonsV2
|
|
81
84
|
def calculate_height(width)
|
82
85
|
(width.to_i * @height) / @width
|
83
86
|
end
|
84
|
-
|
85
|
-
def get_octicon(symbol, options = {})
|
86
|
-
if octicon = OcticonsV2::OCTICON_SYMBOLS[symbol]
|
87
|
-
height = options[:height] || options[:width] || 16
|
88
|
-
octicon_height = closest_octicon_height(octicon["heights"].keys, height)
|
89
|
-
return {
|
90
|
-
name: octicon["name"],
|
91
|
-
keywords: octicon["keywords"],
|
92
|
-
width: octicon["heights"][octicon_height.to_s]["width"].to_i,
|
93
|
-
height: octicon_height,
|
94
|
-
path: octicon["heights"][octicon_height.to_s]["path"]
|
95
|
-
}
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
|
-
def closest_octicon_height(octicon_heights, height)
|
100
|
-
return octicon_heights.reduce(octicon_heights[0].to_i) do |acc, octicon_height|
|
101
|
-
octicon_height.to_i <= height.to_i ? octicon_height.to_i : acc
|
102
|
-
end
|
103
|
-
end
|
104
87
|
end
|
105
88
|
end
|
data/lib/octicons_v2/version.rb
CHANGED