will_paginate-bootstrap 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown
CHANGED
@@ -6,6 +6,11 @@ This gem integrates the [Twitter Bootstrap](http://twitter.github.com/bootstrap/
|
|
6
6
|
|
7
7
|
As with will_paginate itself, Rails and Sinatra are supported.
|
8
8
|
|
9
|
+
## Install
|
10
|
+
|
11
|
+
* `gem install will_paginate-bootstrap`, *or*
|
12
|
+
* For projects using Bundler, add `gem 'will_paginate-bootstrap'` to your `Gemfile` (and then run `bundle install`).
|
13
|
+
|
9
14
|
## Usage
|
10
15
|
|
11
16
|
### Rails
|
@@ -1,11 +1,9 @@
|
|
1
|
-
# encoding: utf-8
|
2
|
-
|
3
1
|
require "bootstrap_pagination/version"
|
4
2
|
|
5
3
|
module BootstrapPagination
|
6
4
|
# Contains functionality shared by all renderer classes.
|
7
5
|
module BootstrapRenderer
|
8
|
-
ELLIPSIS = '
|
6
|
+
ELLIPSIS = '…'
|
9
7
|
|
10
8
|
def to_html
|
11
9
|
list_items = pagination.map do |item|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: will_paginate-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: will_paginate
|
16
|
-
requirement: &
|
16
|
+
requirement: &70351248293000 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 3.0.3
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70351248293000
|
25
25
|
description: This gem integrates the Twitter Bootstrap pagination component with the
|
26
26
|
will_paginate pagination gem. Supports Rails and Sinatra.
|
27
27
|
email:
|
@@ -56,18 +56,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
56
56
|
- - ! '>='
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
|
-
segments:
|
60
|
-
- 0
|
61
|
-
hash: 1014543729292566297
|
62
59
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
60
|
none: false
|
64
61
|
requirements:
|
65
62
|
- - ! '>='
|
66
63
|
- !ruby/object:Gem::Version
|
67
64
|
version: '0'
|
68
|
-
segments:
|
69
|
-
- 0
|
70
|
-
hash: 1014543729292566297
|
71
65
|
requirements: []
|
72
66
|
rubyforge_project: will_paginate-bootstrap
|
73
67
|
rubygems_version: 1.8.11
|