nether 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.rdoc +6 -3
- data/lib/nether/version.rb +1 -1
- metadata +5 -16
data/README.rdoc
CHANGED
@@ -10,7 +10,7 @@ Currently only supports apps using the assets pipeline and will_paginate.
|
|
10
10
|
== Installation
|
11
11
|
Add the following to your Gemfile and run the bundle command.
|
12
12
|
|
13
|
-
gem 'nether'
|
13
|
+
gem 'nether'
|
14
14
|
|
15
15
|
Once the gem is installed execute the generator to install the js files and images.
|
16
16
|
|
@@ -27,12 +27,15 @@ variables as necessary.
|
|
27
27
|
|
28
28
|
<%= nether(@articles.total_pages, articles_path, "#content" %>
|
29
29
|
|
30
|
-
You must also add
|
30
|
+
You must also add a helper to the action handling the pagination. The helper takes the partial to render
|
31
|
+
as an argument and an optional argument to delay rendering.
|
31
32
|
|
32
33
|
render_nether("articles/article")
|
34
|
+
|
35
|
+
== Help
|
36
|
+
You will find an example app at nether_example[https://github.com/maecro/nether_example].
|
33
37
|
|
34
38
|
== Todo
|
35
39
|
* Remove dependancy on assets pipeline.
|
36
40
|
* Compatability with other pagination solutions.
|
37
|
-
* Add gem to rubygems.
|
38
41
|
* Test, test, test.
|
data/lib/nether/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nether
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-01-08 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
16
|
-
requirement: &
|
16
|
+
requirement: &14904864 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,18 +21,7 @@ dependencies:
|
|
21
21
|
version: 3.1.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
-
- !ruby/object:Gem::Dependency
|
26
|
-
name: sqlite3
|
27
|
-
requirement: &19141932 !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
|
-
requirements:
|
30
|
-
- - ! '>='
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0'
|
33
|
-
type: :development
|
34
|
-
prerelease: false
|
35
|
-
version_requirements: *19141932
|
24
|
+
version_requirements: *14904864
|
36
25
|
description: ! 'Nether is a rails engine for easily adding endless page functionality
|
37
26
|
to content paginated by will_paginate
|
38
27
|
|
@@ -100,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
100
89
|
version: '0'
|
101
90
|
segments:
|
102
91
|
- 0
|
103
|
-
hash:
|
92
|
+
hash: -1022373489
|
104
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
105
94
|
none: false
|
106
95
|
requirements:
|
@@ -109,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
98
|
version: '0'
|
110
99
|
segments:
|
111
100
|
- 0
|
112
|
-
hash:
|
101
|
+
hash: -1022373489
|
113
102
|
requirements: []
|
114
103
|
rubyforge_project:
|
115
104
|
rubygems_version: 1.8.11
|