heedley-merb-pagination 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.
@@ -57,7 +57,7 @@ module Merb
57
57
  padding: 2px;
58
58
  }
59
59
  } } if options[:default_css]
60
- b << (current_page <= 1 ? options[:prev_label] : link_to(options[:prev_label],url(route_name, params_for_route.merge(:page => current_page - 1))) )
60
+ b << (current_page <= 1 ? options[:prev_label] : link_to(options[:prev_label],iframe_url_for(route_name, params_for_route.merge(:page => current_page - 1))) )
61
61
 
62
62
  b.ul do
63
63
  [pages[:left], pages[:center], pages[:right]].each do |p|
@@ -68,12 +68,12 @@ module Merb
68
68
  when current_page
69
69
  b.li(page_number, :class=>'current_page')
70
70
  else
71
- b.li { b.a(page_number, :href=> url(route_name, params_for_route.merge(:page => page_number)) ) }
71
+ b.li { b.a(page_number, :href=> iframe_url_for(route_name, params_for_route.merge(:page => page_number)) ) }
72
72
  end
73
73
  end
74
74
  end
75
75
  end
76
- b << (current_page >= page_count ? options[:next_label] : link_to(options[:next_label],url(route_name, params_for_route.merge(:page => current_page + 1))) )
76
+ b << (current_page >= page_count ? options[:next_label] : link_to(options[:next_label],iframe_url_for(route_name, params_for_route.merge(:page => current_page + 1))) )
77
77
  end
78
78
  end
79
79
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = %q{merb-pagination}
3
- s.version = "0.0.1"
3
+ s.version = "0.0.2"
4
4
  s.date = %q{2008-12-10}
5
5
  s.summary = %q{A pagination helper for merb. Useful with dm-is-paginated}
6
6
  s.email = "hedley.robertson@gmail.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heedley-merb-pagination
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lori Holden
@@ -15,6 +15,7 @@ default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: merb-core
18
+ type: :runtime
18
19
  version_requirement:
19
20
  version_requirements: !ruby/object:Gem::Requirement
20
21
  requirements: