mexpolk-flow_pagination 1.0 → 1.1
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 +2 -2
- data/Rakefile +1 -1
- data/flow_pagination.gemspec +2 -2
- data/lib/flow_pagination.rb +1 -2
- metadata +2 -2
data/README.rdoc
CHANGED
|
@@ -25,7 +25,7 @@ Configure +WillPaginate+ and +FlowPagination+ gems (config/environment.rb):
|
|
|
25
25
|
config.gem 'mislav-will_paginate', :lib => 'will_paginate',
|
|
26
26
|
:source => 'http://gems.github.com'
|
|
27
27
|
|
|
28
|
-
config.gem '
|
|
28
|
+
config.gem 'mexpolk-flow_pagination', :lib => 'flow_pagination',
|
|
29
29
|
:source => 'http://gems.github.com'
|
|
30
30
|
[...]
|
|
31
31
|
end
|
|
@@ -37,7 +37,7 @@ To install these gems type the following rake task:
|
|
|
37
37
|
=== Install It as a Plugin
|
|
38
38
|
|
|
39
39
|
script/plugin install git://github.com/mislav/will_paginate.git
|
|
40
|
-
script/plugin install git://github.com/
|
|
40
|
+
script/plugin install git://github.com/mexpolk/flow_pagination.git
|
|
41
41
|
|
|
42
42
|
== Usage
|
|
43
43
|
|
data/Rakefile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require 'echoe'
|
|
2
2
|
|
|
3
|
-
Echoe.new('flow_pagination', '1.
|
|
3
|
+
Echoe.new('flow_pagination', '1.1') do |e|
|
|
4
4
|
e.description = "FlowPagination link renderer plugin for Mislav's WillPaginate plugin (Twitter like pagination)."
|
|
5
5
|
e.url = "http://github.com/mexpolk/flow_pagination"
|
|
6
6
|
e.author = "Ivan Torres"
|
data/flow_pagination.gemspec
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{flow_pagination}
|
|
5
|
-
s.version = "1.
|
|
5
|
+
s.version = "1.1"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["Ivan Torres"]
|
|
9
|
-
s.date = %q{2009-08-
|
|
9
|
+
s.date = %q{2009-08-12}
|
|
10
10
|
s.description = %q{FlowPagination link renderer plugin for Mislav's WillPaginate plugin (Twitter like pagination).}
|
|
11
11
|
s.email = %q{mexpolk@gmail.com}
|
|
12
12
|
s.extra_rdoc_files = ["README.rdoc", "lib/flow_pagination.rb"]
|
data/lib/flow_pagination.rb
CHANGED
|
@@ -12,8 +12,7 @@ module FlowPagination
|
|
|
12
12
|
@template.t('flow_pagination.button', :default => 'More'),
|
|
13
13
|
:url => { :controller => @template.controller_name,
|
|
14
14
|
:action => @template.action_name,
|
|
15
|
-
:page => self.next_page,
|
|
16
|
-
:params => @template.params},
|
|
15
|
+
:params => @template.params.merge!(:page => self.next_page)},
|
|
17
16
|
:method => @template.request.request_method)
|
|
18
17
|
end
|
|
19
18
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mexpolk-flow_pagination
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: "1.
|
|
4
|
+
version: "1.1"
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Torres
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-08-
|
|
12
|
+
date: 2009-08-12 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|