pen-rails 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -9
- data/lib/pen-rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e56f18bf9d8212b3c9a87e734ffc7b47a4b630fb
|
4
|
+
data.tar.gz: bec91f6e4b86906dbd1e326f8ee66664600f5121
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: beed163e32fca1f6a3985b982968b7a8251fd02b929ef510367d7b7b315380304f80e0d08dc457b067175b85c0f74738d216493ef54d378fc37cbdf6fa41db6a
|
7
|
+
data.tar.gz: 7f363408e404afae1b01e0a33758a198da8b6f6ce6dcd8cadc3bb086d3e1b23428b3c5ed97f51aa560f394754123b6a7b61d6614c259b38e14a910a18e8a322f
|
data/README.md
CHANGED
@@ -1,25 +1,36 @@
|
|
1
|
-
#
|
1
|
+
# Pen::Rails
|
2
2
|
|
3
|
-
A wrapper for the [Backbone.Validation](https://github.com/thedersen/backbone.validation) plugin for [Backbone](https://github.com/documentcloud/backbone/)
|
4
3
|
|
5
|
-
|
6
|
-
The version of this gem follows that of the associated Backbone.Validation version
|
4
|
+
Gem wrapper of <https://github.com/sofish/pen> for Rails assets pipeline
|
7
5
|
|
8
|
-
Currently: **v0.8.0**
|
9
6
|
|
10
7
|
## Installation
|
11
8
|
|
12
9
|
Add this line to your application's Gemfile:
|
13
10
|
|
14
|
-
gem '
|
11
|
+
gem 'pen-rails'
|
15
12
|
|
16
13
|
And then execute:
|
17
14
|
|
18
|
-
$ bundle
|
15
|
+
$ bundle
|
19
16
|
|
20
|
-
Or install it yourself as:
|
21
17
|
|
22
|
-
|
18
|
+
## Usage
|
19
|
+
|
20
|
+
In your application.js:
|
21
|
+
|
22
|
+
//= require pen
|
23
|
+
//= require markdown
|
24
|
+
|
25
|
+
In your application.css:
|
26
|
+
|
27
|
+
*= require pen
|
28
|
+
|
29
|
+
|
30
|
+
## Build the Gem
|
31
|
+
|
32
|
+
- `rake download`
|
33
|
+
- `rake build`
|
23
34
|
|
24
35
|
## Contributing
|
25
36
|
|
data/lib/pen-rails/version.rb
CHANGED