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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ab1e3d4b7780354cd4eeabc501c96f72550bc9e8
4
- data.tar.gz: 907e98fd0453fd8226a873e86b1736896fef22f5
3
+ metadata.gz: a1ff4c01c5102a3f0c8a2a36fd562259ce6aba26
4
+ data.tar.gz: fdd4d5e93419fc01bc300a723d5d33ac152fee23
5
5
  SHA512:
6
- metadata.gz: 0aa29e731632d25a2bf8c44c30a03af97d3c2147e00bd822594c7bf0d4e235154f50dc110722d0ffb6bf0a95f7129418b7cb4bc1d1e97154e94e084124adee96
7
- data.tar.gz: 5772b4f46e099f522639fe9add78bd75f03314e04951808d5684d259ff28dd73f349f49521662d2ff9a6b98110d96772fa509fb31503711f0068fa92c7479c98
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
+ });
@@ -1,7 +1,7 @@
1
1
  module JQuery
2
2
  module BaconIpsum
3
3
  module Rails
4
- VERSION = "0.0.1"
4
+ VERSION = "0.0.2"
5
5
  end
6
6
  end
7
7
  end
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.1
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 00:00:00.000000000 Z
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: []