fork_ribs 0.0.1 → 0.0.2
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 +8 -8
- data/README.md +21 -9
- data/lib/fork_ribs/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
!binary "U0hBMQ==":
|
|
3
3
|
metadata.gz: !binary |-
|
|
4
|
-
|
|
4
|
+
MTM4Yzc5YTlmOTBjYzJhM2U2YjY0NTIyMmQ2NWU0NGE0NmI0NWM4ZQ==
|
|
5
5
|
data.tar.gz: !binary |-
|
|
6
|
-
|
|
6
|
+
ZmYzYjFiNTJiNjcwNDAzZmI4NWI0ZGE5NmY3MTA2NmI5ZjFjOTQzYw==
|
|
7
7
|
SHA512:
|
|
8
8
|
metadata.gz: !binary |-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ZTBmMTE1MWJiMWFlMmU3ZTg2YjE3NDU0NWI3ZDI3ZDgyMDI3NmM0NDA0Mzg4
|
|
10
|
+
ZTNiZTQxNjVjMDdhNTUwNmMzNmNjOGUwYTYzYjZhZmY3MTdmNzBkZWEwOTAw
|
|
11
|
+
NWNlNDQxMGUxNGMxNjM4NDA4YzQ1MTNjYjYxNmY3NDExY2EwYzY=
|
|
12
12
|
data.tar.gz: !binary |-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
YjE0ZDI3Mzk4MzJjOWY1MTI5NTJiMWQ5YTE2NDYxOTI5YmMwNDI2NThmODU5
|
|
14
|
+
OTdhMjU5ZjZmMjQwY2E3MWU1MDg5ODYwNTQ2NjRmODNhY2E3ZmExOTMxN2Y3
|
|
15
|
+
YTU4YzAzMzRjNmEzYjc2M2U0YjFlODc0Mjk5YTgxZjcxMWE5ZmQ=
|
data/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
#
|
|
1
|
+
# fork_ribs
|
|
2
2
|
|
|
3
|
-
[](http://badge.fury.io/rb/fork_ribs)
|
|
4
4
|
|
|
5
5
|
It gives your application a "fork me on github" stripe from where users of your application can fork your github repository !!
|
|
6
6
|
|
|
@@ -8,13 +8,13 @@ It gives your application a "fork me on github" stripe from where users of your
|
|
|
8
8
|
|
|
9
9
|
Rails 3+
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+

|
|
12
12
|
|
|
13
13
|
## Installation
|
|
14
14
|
|
|
15
15
|
Add this line to your application's `Gemfile`:
|
|
16
16
|
|
|
17
|
-
gem '
|
|
17
|
+
gem 'fork_ribs'
|
|
18
18
|
|
|
19
19
|
And then run:
|
|
20
20
|
|
|
@@ -22,11 +22,11 @@ And then run:
|
|
|
22
22
|
|
|
23
23
|
Or install it yourself by executing:
|
|
24
24
|
|
|
25
|
-
$ gem install
|
|
25
|
+
$ gem install fork_ribs
|
|
26
26
|
|
|
27
27
|
Once done, add below to application's `assets/stylesheets/application.css` file
|
|
28
28
|
|
|
29
|
-
*= require
|
|
29
|
+
*= require fork_ribs
|
|
30
30
|
|
|
31
31
|
## Usage
|
|
32
32
|
|
|
@@ -35,9 +35,9 @@ This gem provides you with three different types of `github forkme ribbons` that
|
|
|
35
35
|
Lets see how you can do that !!
|
|
36
36
|
|
|
37
37
|
Types of ribbons this gem provides:
|
|
38
|
-
- `classic_ribbon`
|
|
39
|
-
- `
|
|
40
|
-
- `
|
|
38
|
+
- `classic_ribbon`
|
|
39
|
+
- `flat_ribbon`
|
|
40
|
+
- `snazzy_ribbon`
|
|
41
41
|
|
|
42
42
|
Where do you want your forkme ribbon to get placed on your application:
|
|
43
43
|
- `top--left`
|
|
@@ -61,6 +61,18 @@ NOTE: if you are using `snazzy ribbon` include a span element inside the anchor
|
|
|
61
61
|
|
|
62
62
|
<span class="fontawesome-github"></span>
|
|
63
63
|
|
|
64
|
+
## Customization
|
|
65
|
+
|
|
66
|
+
#### How you can customize using various options mentioned above:
|
|
67
|
+
|
|
68
|
+
Keep in mind the format mentioned below for naming the class ->
|
|
69
|
+
|
|
70
|
+
.[Type of ribbon]---[Vertical Position]--[Horizontal position]-[color of ribbon]
|
|
71
|
+
|
|
72
|
+
For an instance:
|
|
73
|
+
|
|
74
|
+
.flat_ribbon---bottom--left-green
|
|
75
|
+
|
|
64
76
|
## Contributing
|
|
65
77
|
|
|
66
78
|
1. Fork it
|
data/lib/fork_ribs/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: fork_ribs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Vipul Chhabra
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-02-
|
|
11
|
+
date: 2014-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|