innetra-flow_pagination 1.3 → 1.4

Sign up to get free protection for your applications and to get access to all the features.
data/Manifest CHANGED
@@ -1,4 +1,5 @@
1
1
  Manifest
2
+ flow_pagination.gemspec
2
3
  README.rdoc
3
4
  Rakefile
4
5
  init.rb
data/Rakefile CHANGED
@@ -1,6 +1,6 @@
1
1
  require 'echoe'
2
2
 
3
- Echoe.new('flow_pagination', '1.3') do |e|
3
+ Echoe.new('flow_pagination', '1.4') 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/innetra/flow_pagination"
6
6
  e.author = "Ivan Torres"
@@ -2,15 +2,15 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{flow_pagination}
5
- s.version = "1.3"
5
+ s.version = "1.4"
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-05-27}
9
+ s.date = %q{2009-05-28}
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"]
13
- s.files = ["Manifest", "README.rdoc", "Rakefile", "init.rb", "lib/flow_pagination.rb", "MIT-LICENSE", "flow_pagination.gemspec"]
13
+ s.files = ["Manifest", "flow_pagination.gemspec", "README.rdoc", "Rakefile", "init.rb", "lib/flow_pagination.rb", "MIT-LICENSE"]
14
14
  s.homepage = %q{http://github.com/innetra/flow_pagination}
15
15
  s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Flow_pagination", "--main", "README.rdoc"]
16
16
  s.require_paths = ["lib"]
@@ -7,15 +7,13 @@ module FlowPagination
7
7
  def to_html
8
8
  search_filter = (@template.params[:search] if @template.params.has_key?(:search)) || ''
9
9
 
10
- @template.content_tag :div, :id => :flow_pagination do
11
- if self.current_page < self.last_page
12
- @template.button_to_remote @template.t('flow_pagination.button', :default => 'More'),
13
- :url => { :controller => @template.controller_name,
14
- :action => @template.action_name,
15
- :page => self.next_page,
16
- :search => search_filter},
17
- :method => @template.request.request_method
18
- end
10
+ if self.current_page < self.last_page
11
+ @template.button_to_remote @template.t('flow_pagination.button', :default => 'More'),
12
+ :url => { :controller => @template.controller_name,
13
+ :action => @template.action_name,
14
+ :page => self.next_page,
15
+ :search => search_filter},
16
+ :method => @template.request.request_method
19
17
  end
20
18
  end
21
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: innetra-flow_pagination
3
3
  version: !ruby/object:Gem::Version
4
- version: "1.3"
4
+ version: "1.4"
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-05-27 00:00:00 -07:00
12
+ date: 2009-05-28 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -24,12 +24,12 @@ extra_rdoc_files:
24
24
  - lib/flow_pagination.rb
25
25
  files:
26
26
  - Manifest
27
+ - flow_pagination.gemspec
27
28
  - README.rdoc
28
29
  - Rakefile
29
30
  - init.rb
30
31
  - lib/flow_pagination.rb
31
32
  - MIT-LICENSE
32
- - flow_pagination.gemspec
33
33
  has_rdoc: false
34
34
  homepage: http://github.com/innetra/flow_pagination
35
35
  post_install_message: