rpageless 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +9 -10
- data/lib/rpageless/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -23,23 +23,22 @@ Or install it yourself as:
|
|
23
23
|
|
24
24
|
## Usage
|
25
25
|
|
26
|
-
|
26
|
+
add following in application.js
|
27
27
|
|
28
|
-
|
28
|
+
//= require jquery.pageless
|
29
29
|
|
30
|
+
and when you call pageless from erb's you can simply call by the following
|
30
31
|
|
31
|
-
and when you call pageless from erb's you can simply call by the following
|
32
32
|
|
33
|
+
<div id="divname">
|
34
|
+
<%= render @posts %>
|
35
|
+
</div>
|
33
36
|
|
34
|
-
|
35
|
-
|
36
|
-
</div>
|
37
|
+
<%= will_paginate @posts %>
|
38
|
+
<%= pageless(@posts.total_pages, posts_path ,'container','divname','loading message') %>
|
37
39
|
|
38
|
-
<%= will_paginate @posts %>
|
39
|
-
<%= pageless(@posts.total_pages, posts_path ,'container','divname','loading message') %>
|
40
40
|
|
41
|
-
|
42
|
-
that's it no need of place any helpers code in application helper file.
|
41
|
+
that's it no need of place any helpers code in application helper file.
|
43
42
|
|
44
43
|
## Contributing
|
45
44
|
|
data/lib/rpageless/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.7
|
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:
|
97
|
+
hash: -1072977759
|
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:
|
106
|
+
hash: -1072977759
|
107
107
|
requirements: []
|
108
108
|
rubyforge_project:
|
109
109
|
rubygems_version: 1.8.23
|