octicons_helper 0.0.0.pre.2d86d1e → 0.0.0.pre.3bffdfe
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +1 -1
- data/README.md +2 -36
- data/lib/build/data.json +1 -1
- data/lib/build/svg/heart-outline.svg +1 -0
- data/lib/build/svg/heart.svg +1 -1
- data/lib/build/svg/infinity.svg +1 -0
- data/lib/build/svg/internal-repo.svg +1 -0
- data/lib/build/svg/line-arrow-down.svg +1 -0
- data/lib/build/svg/line-arrow-left.svg +1 -0
- data/lib/build/svg/line-arrow-right.svg +1 -0
- data/lib/build/svg/line-arrow-up.svg +1 -0
- data/lib/build/svg/north-star.svg +1 -0
- data/lib/build/svg/primitive-dot-stroke.svg +1 -0
- data/lib/build/svg/saved.svg +1 -0
- data/lib/build/svg/squirrel-16.svg +3 -0
- data/lib/build/svg/unsaved.svg +1 -0
- data/lib/build/svg/workflow-all.svg +1 -0
- data/lib/build/svg/workflow.svg +1 -0
- data/lib/octicons_helper/version.rb +1 -1
- metadata +18 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9509b788e030cf7fb51cff9d10f0225b469427e8fff09ee5e0b0ff431fde10eb
|
4
|
+
data.tar.gz: 4e162bf19dd9138da11a62501331da361455a9d2e5c37f944c2f4a3420c7fdd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecb0cda2850062638d83b4e39a0aba6bc2f387014fabda6bdaf7c128b784b1a8a75287c9e5747e75e46cc0b737334986d2f44b1f4a1a4dcb6a62235aa9285116
|
7
|
+
data.tar.gz: 03b984d07e4605648ab1a697350cba536a1c71a157752ce10dbea30108d4ee2f53e1d04cdb468107f26b8dacc48631742cf595dbaa276447b4e82996bd0bd589
|
data/LICENSE
CHANGED
data/README.md
CHANGED
@@ -1,39 +1,5 @@
|
|
1
|
-
#
|
1
|
+
# octicons_helper
|
2
2
|
|
3
3
|
[![Gem version](https://img.shields.io/gem/v/octicons_helper.svg)](https://rubygems.org/gems/octicons_helper)
|
4
|
-
[![Build Status](https://travis-ci.org/primer/octicons.svg?branch=master)](https://travis-ci.org/primer/octicons)
|
5
4
|
|
6
|
-
|
7
|
-
|
8
|
-
This rails helper let's you easily include svg [octicons][octicons-docs] in your rails apps.
|
9
|
-
|
10
|
-
## Install
|
11
|
-
|
12
|
-
1. Add this to your `Gemfile`
|
13
|
-
|
14
|
-
```rb
|
15
|
-
gem 'octicons_helper'
|
16
|
-
```
|
17
|
-
|
18
|
-
3. Use this tag in your erbs
|
19
|
-
|
20
|
-
```rb
|
21
|
-
<%= octicon "alert", :height => 32, :class => "right left", :"aria-label" => "hi" %>
|
22
|
-
```
|
23
|
-
|
24
|
-
We recommend including the CSS in the [octicons_node](../octicons_node/) module. You can also npm install that package and include `build/build.css` in your styles.
|
25
|
-
|
26
|
-
## Documentation
|
27
|
-
|
28
|
-
For a full list of options available, see the [octicons_gem documentation](../octicons_gem/#documentation)
|
29
|
-
|
30
|
-
## License
|
31
|
-
|
32
|
-
(c) GitHub, Inc.
|
33
|
-
|
34
|
-
When using the GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).
|
35
|
-
|
36
|
-
[MIT](./LICENSE)
|
37
|
-
|
38
|
-
[octicons]: https://github.com/primer/octicons
|
39
|
-
[octicons-docs]: https://octicons.github.com/
|
5
|
+
See https://primer.style/octicons/packages/rails
|
data/lib/build/data.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"plus":{"name":"plus","figma":{"id":"0:639","file":"FP7lqd1V00LUaT5zvdklkkZr"},"keywords":["add","new","more"],"width":12,"height":16,"path":"
|
1
|
+
{"alert":{"name":"alert","keywords":["warning","triangle","exclamation","point"],"width":16,"height":16,"path":"
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M1.192 3.924C1.909 3.294 2.835 3 3.727 3 4.73 3 5.513 3.485 6 3.894 6.488 3.485 7.271 3 8.273 3c.892 0 1.818.293 2.535.924C11.545 4.572 12 5.525 12 6.7c0 .962-.435 1.891-.944 2.67-.522.8-1.2 1.558-1.852 2.203a24.563 24.563 0 01-1.793 1.6c-.451.365-1.39 1.045-1.39 1.045s-1.277-.921-1.431-1.046a24.57 24.57 0 01-1.793-1.599c-.652-.645-1.33-1.404-1.853-2.202C.434 8.59 0 7.662 0 6.7c0-1.175.455-2.128 1.192-2.776zm4.96 7.694l-.151.122a22.6 22.6 0 01-1.797-1.588c-.599-.593-1.17-1.24-1.586-1.876C2.19 7.621 2 7.088 2 6.7c0-.625.226-1.022.513-1.274.305-.27.743-.426 1.214-.426.344 0 .686.172.993.43.191.161.332.314.455.448.255.278.432.472.826.472a.868.868 0 00.497-.14c.146-.096.264-.232.394-.38.112-.13.234-.27.39-.4.306-.258.647-.43.99-.43.472 0 .91.157 1.215.426.287.252.513.649.513 1.274 0 .388-.19.922-.618 1.576-.416.636-.987 1.283-1.585 1.876-.595.589-1.193 1.1-1.645 1.466z"/></svg>
|
data/lib/build/svg/heart.svg
CHANGED
@@ -1 +1 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="16" viewBox="0 0 12 16"><path fill-rule="evenodd" d="M8.727 3C7.091 3 6.001 4.65 6.001 4.65S4.909 3 3.273 3C1.636 3 0 4.1 0 6.3 0 9.6 6 14 6 14s6-4.4 6-7.7C12 4.1 10.364 3 8.727 3z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M4 6a2 2 0 100 4c.137 0 .402-.073.796-.318a7.49 7.49 0 001.138-.908c.285-.27.543-.542.753-.774a14.22 14.22 0 00-.753-.774 7.49 7.49 0 00-1.138-.908C4.402 6.073 4.137 6 4 6zm5.313 2c.21.232.468.504.753.774.37.35.764.676 1.138.908.394.245.659.318.796.318a2 2 0 100-4c-.137 0-.402.073-.796.318a7.483 7.483 0 00-1.138.908c-.285.27-.543.542-.753.774zM8 9.527a15.45 15.45 0 01-.691.7 9.587 9.587 0 01-1.457 1.154C5.34 11.698 4.69 12 4 12a4 4 0 010-8c.691 0 1.34.302 1.852.62.531.33 1.034.754 1.457 1.154.255.24.489.481.691.699.202-.218.436-.458.691-.7a9.587 9.587 0 011.457-1.154C10.66 4.302 11.31 4 12 4a4 4 0 010 8c-.691 0-1.34-.302-1.852-.62a9.464 9.464 0 01-1.457-1.154A14.47 14.47 0 018 9.527z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="16" viewBox="0 0 13 16"><path fill-rule="evenodd" d="M10 0H9v1a1 1 0 00-1 1H7a1 1 0 00-1 1v1H1c-.55 0-1 .45-1 1v9c0 .55.45 1 1 1h1v1l1-.5 1 .5v-1h4c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1H7V3h1a1 1 0 001-1h1a1 1 0 001 1h1v13h1V3a1 1 0 00-1-1h-1a1 1 0 00-1-1V0zM8 12H2V5h6v7zm-7 1h1v1H1v-1zm7 0v1H4v-1h4zm3-9h-1v2h1V4zm0 3h-1v2h1V7zm0 3h-1v2h1v-2zm0 3h-1v2h1v-2zm-7-2H3v-1h1v1zm0-5H3v1h1V6zm0 2H3v1h1V8z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M4.5 7.5L3 9l5 5 5-5-1.5-1.5L9 10.179V2H7v8.179L4.5 7.5z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8.5 4.5L7 3 2 8l5 5 1.5-1.5L5.821 9H14V7H5.821L8.5 4.5z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M7.5 11.5L9 13l5-5-5-5-1.5 1.5L10.179 7H2v2h8.179L7.5 11.5z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M11.5 8.5L13 7 8 2 3 7l1.5 1.5L7 5.821V14h2V5.821L11.5 8.5z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M8.5.75a.75.75 0 00-1.5 0v5.19L4.391 3.33a.75.75 0 10-1.06 1.061L5.939 7H.75a.75.75 0 000 1.5h5.19l-2.61 2.609a.75.75 0 101.061 1.06L7 9.561v5.189a.75.75 0 001.5 0V9.56l2.609 2.61a.75.75 0 101.06-1.061L9.561 8.5h5.189a.75.75 0 000-1.5H9.56l2.61-2.609a.75.75 0 00-1.061-1.06L8.5 5.939V.75z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="8" height="16" viewBox="0 0 8 16"><path fill-rule="evenodd" d="M4 10.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5zM4 12a4 4 0 100-8 4 4 0 000 8z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M12 0H4c-.73 0-1 .27-1 1v15l5-3.09L13 16V1c0-.73-.27-1-1-1z"/></svg>
|
@@ -0,0 +1,3 @@
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
2
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M3.74991 1.5C2.77035 1.5 1.93702 2.12599 1.6281 2.99978C1.73416 3.00911 1.84569 3.02227 1.96067 3.04043C2.63457 3.14684 3.59712 3.4543 4.14309 4.36408C4.74524 5.36748 4.48569 6.41762 4.21177 7.25519C4.14031 7.47368 4.06659 7.68305 3.99473 7.88714C3.76437 8.54135 3.55317 9.14116 3.49727 9.81225C3.392 11.0762 3.83253 11.9559 4.5551 12.5429C5.30743 13.154 6.43514 13.5 7.74991 13.5H9.80462C10.2553 13.2162 10.7793 12.6183 11.0003 11.8789C11.2251 11.1273 11.1445 10.2115 10.2303 9.2909L10.2197 9.28033C9.92678 8.98744 9.92678 8.51256 10.2197 8.21967C10.5126 7.92678 10.9874 7.92678 11.2803 8.21967C11.5912 8.53053 12.6169 9.05858 13.9879 8.54728C14.376 8.40254 14.808 8.59983 14.9527 8.98793C15.0975 9.37603 14.9002 9.80799 14.5121 9.95272C13.7833 10.2245 13.0977 10.2976 12.4879 10.2456C12.6706 10.9577 12.6305 11.6631 12.4375 12.3086C12.3087 12.7393 12.1126 13.1415 11.8746 13.5H13.2499C13.6641 13.5 13.9999 13.8358 13.9999 14.25C13.9999 14.6642 13.6641 15 13.2499 15H7.74991C6.20075 15 4.7035 14.596 3.60932 13.7071C2.48539 12.7941 1.85786 11.4238 2.00245 9.68775C2.07608 8.80373 2.37531 7.95952 2.61599 7.28049L2.61601 7.28043C2.67825 7.10482 2.73658 6.94027 2.78607 6.78893C3.05355 5.97108 3.08607 5.51778 2.85691 5.13592C2.65274 4.7957 2.24029 4.60316 1.72672 4.52207C1.48481 4.48387 1.25733 4.47702 1.0889 4.48032C1.00566 4.48196 0.939329 4.48601 0.895917 4.48941C0.874272 4.49111 0.858513 4.49262 0.849403 4.49356L0.840883 4.49447C0.628129 4.52045 0.414384 4.45415 0.25365 4.31226C0.0923759 4.16989 0 3.96512 0 3.75C0 1.67896 1.67882 0 3.74991 0C5.49829 0 6.96548 1.19582 7.38173 2.81306C7.48497 3.2142 7.24348 3.62308 6.84234 3.72633C6.4412 3.82957 6.03232 3.58808 5.92907 3.18694C5.67926 2.21634 4.7973 1.5 3.74991 1.5ZM12.5 0.75C12.5 0.335786 12.1642 0 11.75 0C11.3358 0 11 0.335786 11 0.75V1.93934L5.71967 7.21967C5.42678 7.51256 5.42678 7.98744 5.71967 8.28033C6.01256 8.57322 6.48744 8.57322 6.78033 8.28033L11.9422 3.11848C12.3118 3.29269 12.7068 3.57744 13.0392 3.9425C13.4318 4.37353 13.6778 4.84954 13.7364 5.29631C13.6201 5.41825 13.4311 5.50684 13.1456 5.53483C12.7583 5.5728 12.3494 5.47505 12.1142 5.34438C11.7521 5.14322 11.2955 5.27368 11.0944 5.63577C10.8932 5.99786 11.0237 6.45446 11.3858 6.65562C11.9006 6.94161 12.6167 7.09387 13.2919 7.02767C13.9739 6.96081 14.7648 6.64736 15.1708 5.83541C15.2229 5.73127 15.25 5.61643 15.25 5.5C15.25 4.50305 14.7579 3.60188 14.1483 2.9325C13.6817 2.42016 13.1 1.99146 12.5 1.72414V0.75Z" fill="black"/>
|
3
|
+
</svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12 0H4c-.73 0-1 .27-1 1v1.982l10 5.774V1c0-.73-.27-1-1-1zm1 12.203l1.606.928.75-1.3-13.856-8-.75 1.3L3 6.43V16l5-3.09L13 16v-3.797z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M10 8A5 5 0 110 8a5 5 0 0110 0zM3.5 5.5l4 2.5-4 2.5v-5zm3.75 7.444a5.001 5.001 0 000-9.888 5 5 0 110 9.888zm3 0a5.001 5.001 0 000-9.888 5 5 0 110 9.888z"/></svg>
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill-rule="evenodd" d="M3 4.949a2.5 2.5 0 10-1 0v8.049c0 .547.453 1 1 1h2.05a2.5 2.5 0 004.9 0h1.1a2.5 2.5 0 100-1h-1.1a2.5 2.5 0 00-4.9 0H3v-5h2.05a2.5 2.5 0 004.9 0h1.1a2.5 2.5 0 100-1h-1.1a2.5 2.5 0 00-4.9 0H3v-2.05zm9 2.55a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0zm-3 0a1.5 1.5 0 10-3 0 1.5 1.5 0 003 0zm4.5 7.499a1.5 1.5 0 110-3.001 1.5 1.5 0 010 3zm-6-3a1.5 1.5 0 110 3 1.5 1.5 0 010-3z"/></svg>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octicons_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.0.pre.
|
4
|
+
version: 0.0.0.pre.3bffdfe
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-06-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octicons
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.0.pre.
|
19
|
+
version: 0.0.0.pre.3bffdfe
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.0.0.pre.
|
26
|
+
version: 0.0.0.pre.3bffdfe
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,13 +130,16 @@ files:
|
|
130
130
|
- lib/build/svg/globe.svg
|
131
131
|
- lib/build/svg/grabber.svg
|
132
132
|
- lib/build/svg/graph.svg
|
133
|
+
- lib/build/svg/heart-outline.svg
|
133
134
|
- lib/build/svg/heart.svg
|
134
135
|
- lib/build/svg/history.svg
|
135
136
|
- lib/build/svg/home.svg
|
136
137
|
- lib/build/svg/horizontal-rule.svg
|
137
138
|
- lib/build/svg/hubot.svg
|
138
139
|
- lib/build/svg/inbox.svg
|
140
|
+
- lib/build/svg/infinity.svg
|
139
141
|
- lib/build/svg/info.svg
|
142
|
+
- lib/build/svg/internal-repo.svg
|
140
143
|
- lib/build/svg/issue-closed.svg
|
141
144
|
- lib/build/svg/issue-opened.svg
|
142
145
|
- lib/build/svg/issue-reopened.svg
|
@@ -148,6 +151,10 @@ files:
|
|
148
151
|
- lib/build/svg/keyboard.svg
|
149
152
|
- lib/build/svg/law.svg
|
150
153
|
- lib/build/svg/light-bulb.svg
|
154
|
+
- lib/build/svg/line-arrow-down.svg
|
155
|
+
- lib/build/svg/line-arrow-left.svg
|
156
|
+
- lib/build/svg/line-arrow-right.svg
|
157
|
+
- lib/build/svg/line-arrow-up.svg
|
151
158
|
- lib/build/svg/link-external.svg
|
152
159
|
- lib/build/svg/link.svg
|
153
160
|
- lib/build/svg/list-ordered.svg
|
@@ -167,6 +174,7 @@ files:
|
|
167
174
|
- lib/build/svg/mortar-board.svg
|
168
175
|
- lib/build/svg/mute.svg
|
169
176
|
- lib/build/svg/no-newline.svg
|
177
|
+
- lib/build/svg/north-star.svg
|
170
178
|
- lib/build/svg/note.svg
|
171
179
|
- lib/build/svg/octoface.svg
|
172
180
|
- lib/build/svg/organization.svg
|
@@ -179,6 +187,7 @@ files:
|
|
179
187
|
- lib/build/svg/plug.svg
|
180
188
|
- lib/build/svg/plus-small.svg
|
181
189
|
- lib/build/svg/plus.svg
|
190
|
+
- lib/build/svg/primitive-dot-stroke.svg
|
182
191
|
- lib/build/svg/primitive-dot.svg
|
183
192
|
- lib/build/svg/primitive-square.svg
|
184
193
|
- lib/build/svg/project.svg
|
@@ -200,6 +209,7 @@ files:
|
|
200
209
|
- lib/build/svg/rocket.svg
|
201
210
|
- lib/build/svg/rss.svg
|
202
211
|
- lib/build/svg/ruby.svg
|
212
|
+
- lib/build/svg/saved.svg
|
203
213
|
- lib/build/svg/screen-full.svg
|
204
214
|
- lib/build/svg/screen-normal.svg
|
205
215
|
- lib/build/svg/search.svg
|
@@ -213,6 +223,7 @@ files:
|
|
213
223
|
- lib/build/svg/sign-out.svg
|
214
224
|
- lib/build/svg/skip.svg
|
215
225
|
- lib/build/svg/smiley.svg
|
226
|
+
- lib/build/svg/squirrel-16.svg
|
216
227
|
- lib/build/svg/squirrel.svg
|
217
228
|
- lib/build/svg/star.svg
|
218
229
|
- lib/build/svg/stop.svg
|
@@ -233,10 +244,13 @@ files:
|
|
233
244
|
- lib/build/svg/triangle-up.svg
|
234
245
|
- lib/build/svg/unfold.svg
|
235
246
|
- lib/build/svg/unmute.svg
|
247
|
+
- lib/build/svg/unsaved.svg
|
236
248
|
- lib/build/svg/unverified.svg
|
237
249
|
- lib/build/svg/verified.svg
|
238
250
|
- lib/build/svg/versions.svg
|
239
251
|
- lib/build/svg/watch.svg
|
252
|
+
- lib/build/svg/workflow-all.svg
|
253
|
+
- lib/build/svg/workflow.svg
|
240
254
|
- lib/build/svg/x.svg
|
241
255
|
- lib/build/svg/zap.svg
|
242
256
|
- lib/octicons_helper.rb
|