Skip to content

Commit 50eca72

Browse files
author
Richard Luck
committed
updating to support rails > 4.8
1 parent 1a0d7b3 commit 50eca72

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

README.markdown

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
---
44

5-
__No longer maintained__
5+
__Minimal Updates__
66

7-
I'm no longer using Bootstrap with Rails, so unfortunately am no longer accepting pull requests or maintaining this library. Feel free to fork this repository in order to publish your changes, or get in touch with me if you'd like to take over maintenance of the gem.
7+
The original author of this gem is no longer maintaining it. This version of the gem is being maintained solely for the use within the HeyPublisher appliction. If you have feature requests, it may take us a while to get to them.
88

99
---
1010

11-
[![Code Climate](https://codeclimate.com/github/bootstrap-ruby/will_paginate-bootstrap.png)](https://codeclimate.com/github/bootstrap-ruby/will_paginate-bootstrap)
12-
13-
![Bootstrap Pagination Component](https://raw.github.com/bootstrap-ruby/will_paginate-bootstrap/master/pagination.png)
11+
![Bootstrap Pagination Component](https://raw.github.com/HeyPublisher/will_paginate-bootstrap/master/pagination.png)
1412

1513
This gem integrates the [Twitter Bootstrap](http://getbootstrap.com/) [pagination component](http://getbootstrap.com/components/#pagination) with the [will_paginate](https://github.com/mislav/will_paginate) pagination gem.
1614

lib/bootstrap_pagination/bootstrap_renderer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ module BootstrapRenderer
88
def to_html
99
list_items = pagination.map do |item|
1010
case item
11-
when Fixnum
11+
when Integer
1212
page_number(item)
1313
else
1414
send(item)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module BootstrapPagination
2-
VERSION = "1.0.1"
2+
VERSION = "1.0.2"
33
end

will_paginate-bootstrap.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ require "bootstrap_pagination/version"
55
Gem::Specification.new do |s|
66
s.name = "will_paginate-bootstrap"
77
s.version = BootstrapPagination::VERSION
8-
s.authors = ["Nick Dainty"]
9-
s.email = ["nick@npad.co.uk"]
10-
s.homepage = "https://github.com/bootstrap-ruby/will_paginate-bootstrap"
8+
s.authors = ["Nick Dainty", 'Richard Luck']
9+
s.email = ["nick@npad.co.uk", 'richard@heypublisher.com']
10+
s.homepage = "https://github.com/HeyPublisher/will_paginate-bootstrap"
1111
s.summary = %q{Integrates the Twitter Bootstrap pagination component with will_paginate}
1212
s.description = %q{This gem integrates the Twitter Bootstrap pagination component with the will_paginate pagination gem. Supports Rails and Sinatra.}
1313
s.license = "MIT"
@@ -19,5 +19,5 @@ Gem::Specification.new do |s|
1919
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
2020
s.require_paths = ["lib"]
2121

22-
s.add_runtime_dependency "will_paginate", ">= 3.0.3"
22+
s.add_runtime_dependency "will_paginate", ">= 3.1.6"
2323
end

0 commit comments

Comments
 (0)