octicons_v2_helper 0.0.0.pre.d8dffb8 → 0.0.0.pre.d090062

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ec133e422ece18c55430d5f70fa998ec80f8a6e040500c55b47f3de649c27985
4
- data.tar.gz: 0dd8e643772dfa15be6655ff5bb498edf263d5dc1be6c2913a5d112b6df9cf12
3
+ metadata.gz: 0cb9ea0f4cf1d687d35d029cc01ecb7ee9f73238f377d8b60ba08a5c3acba161
4
+ data.tar.gz: f61e0137c1d5e81f010c4fa82f7ce34f8e4d302d3c0da33b85f89d907b6b11bd
5
5
  SHA512:
6
- metadata.gz: 25437abf5bde24aeb50c14febc8b95843bf63e9f6b0baead664ad4e3e3a8ddfb605fc56f2b08097668e499a19528519a5654ec264814da73762aed85200ae8a0
7
- data.tar.gz: fef915c4ed47ea581537ab54d299c7bb1580c4433c081d944bc094e1e76a679489929ffbf8ac5fd19f908f6890fd0fd9d6c1b716899e17313ce65bfa64f04e81
6
+ metadata.gz: 01b1f602157a8983a08506e6be7babfd20e8579c316a3df5fa3b582d913e197ddf1950f483ef9dcb6171324c168516310b674e8dd6b2ae65685d03365b2b1188
7
+ data.tar.gz: 34a423bccf71aac5915dcc4e6d55da339b5b04c16ba68c9a49b6fe5504c2fa523dc4c5f5b172ef2c716709b9bdb0ab9d39ddf6c816ed9e24d02552cd78141641
data/README.md CHANGED
@@ -1,5 +1,39 @@
1
- # octicons_helper
1
+ # Octicons rails 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)
4
5
 
5
- See https://primer.style/octicons/packages/rails
6
+ > A rails helper that inlines SVG octicons
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/