rpageless 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +15 -2
  2. data/lib/rpageless/version.rb +1 -1
  3. metadata +3 -3
data/README.md CHANGED
@@ -23,11 +23,24 @@ Or install it yourself as:
23
23
 
24
24
  ## Usage
25
25
 
26
- You can simply call pageless helper by supplying following options
26
+ add following in application.js
27
27
 
28
- pageless('pages count','url','container','target div','loading message')
28
+ //= require jquery.pageless
29
29
 
30
30
 
31
+ and when you call pageless from erb's you can simply call by the following
32
+
33
+
34
+ <div id="divname">
35
+ <%= render @posts %>
36
+ </div>
37
+
38
+ <%= will_paginate @posts %>
39
+ <%= pageless(@posts.total_pages, posts_path ,'container','divname','loading message') %>
40
+
41
+
42
+ that's it no need of place any helpers code in application helper file.
43
+
31
44
  ## Contributing
32
45
 
33
46
  1. Fork it
@@ -1,3 +1,3 @@
1
1
  module Rpageless
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rpageless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  segments:
96
96
  - 0
97
- hash: 965506113
97
+ hash: 399610479
98
98
  required_rubygems_version: !ruby/object:Gem::Requirement
99
99
  none: false
100
100
  requirements:
@@ -103,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
103
  version: '0'
104
104
  segments:
105
105
  - 0
106
- hash: 965506113
106
+ hash: 399610479
107
107
  requirements: []
108
108
  rubyforge_project:
109
109
  rubygems_version: 1.8.23