jquery-baconipsum-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 +25 -1
- data/lib/jquery/baconipsum/rails/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a1ff4c01c5102a3f0c8a2a36fd562259ce6aba26
|
4
|
+
data.tar.gz: fdd4d5e93419fc01bc300a723d5d33ac152fee23
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0a9baf15e5a47e579c7db8a75d5134859dba711bd48bd40122a9e4c1b8f0c80f503b186b1e36f32e538c1434ce7d7472f58e49f8f3ec0e6a4759e78cb6b28b00
|
7
|
+
data.tar.gz: 946eafe1a139e74a378f7859d73755c3d398cbd66d879ea870d58beed2a5dfd2bb896c1c6ad9234044cb8c758f741664dd5ca00f6704fe314af332096041ef66
|
data/README.md
CHANGED
@@ -1,3 +1,27 @@
|
|
1
1
|
# jQuery Bacon Ipsum for Rails
|
2
2
|
|
3
|
-
[jQuery-Bacon-Ipsum](https://github.com/petenelson/bacon-ipsum) is the BaconIpsumGenerator class for generating meaty filler text.
|
3
|
+
[jQuery-Bacon-Ipsum](https://github.com/petenelson/bacon-ipsum) is the BaconIpsumGenerator class for generating meaty filler text, via the [BaconIpsum](http://baconipsum.com/) API
|
4
|
+
|
5
|
+
This is the plugin for the Rails 4 asset pipeline. Should also work with Rails 3.2 but not tested.
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Just add it to your Gemfile
|
10
|
+
|
11
|
+
gem "jquery-baconipsum-rails"
|
12
|
+
|
13
|
+
## Using the javascript
|
14
|
+
|
15
|
+
Require jquery-baconipsum in your app/assets/javascripts/application.js file.
|
16
|
+
|
17
|
+
//= require jquery-baconipsum
|
18
|
+
|
19
|
+
## Usage
|
20
|
+
|
21
|
+
$(document).ready(function()
|
22
|
+
{
|
23
|
+
$('#default').BaconIpsum();
|
24
|
+
$('#custom').BaconIpsum({ type:'all-meat', paras:5, start_with_lorem:false });
|
25
|
+
$('#one-sentence').BaconIpsum({ type:'meat-and-filler', start_with_lorem:true, sentences:1 });
|
26
|
+
$('#no-tags').BaconIpsum({ type:'meat-and-filler', start_with_lorem:true, paras:1, no_tags: true });
|
27
|
+
});
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-baconipsum-rails
|
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
|
- Rocco Stanzione
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -67,7 +67,8 @@ files:
|
|
67
67
|
- Rakefile
|
68
68
|
- README.md
|
69
69
|
homepage: https://github.com/trappist/jquery-baconipsum-rails
|
70
|
-
licenses:
|
70
|
+
licenses:
|
71
|
+
- MIT
|
71
72
|
metadata: {}
|
72
73
|
post_install_message:
|
73
74
|
rdoc_options: []
|