bootstrap-will_paginate 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.markdown +6 -0
- data/config/initializers/will_paginate.rb +2 -2
- data/lib/bootstrap-will_paginate/version.rb +1 -1
- metadata +14 -13
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 623783f4986f3ba36c057b4ebb401fc784fcc36d
|
4
|
+
data.tar.gz: c5d4f936d341455a2b22f32650a2af266be50b42
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 68610f5a2567aeeefd21a8afcc769e74fad9945142cae0bde590a47b8ef2f9e88fd86d14860ca9862a2ff284fe550f66753bc94807c0f145825dbf5205b1cd61
|
7
|
+
data.tar.gz: 75340f3bc80465bfc054b5483d756217243e71602d48861fc236ad028e56c4200b27170365062f9864ee6f4977f0d69f89a3d98f215fb21bd3e6a974d62843a2
|
data/README.markdown
CHANGED
@@ -10,6 +10,11 @@ The real hard work done on the renderer initializer was written by [Isaac Bowen]
|
|
10
10
|
Add to your Gemfile:
|
11
11
|
|
12
12
|
gem 'bootstrap-will_paginate'
|
13
|
+
|
14
|
+
If you need support for Bootstrap 3.0.0, the changes have been [merged][b30] into the
|
15
|
+
master branch but not released to Rubygems. Add to your Gemfile like so:
|
16
|
+
|
17
|
+
gem 'bootstrap-will_paginate', :git => 'git://github.com/yrgoldteeth/bootstrap-will_paginate.git'
|
13
18
|
|
14
19
|
### Usage
|
15
20
|
|
@@ -24,3 +29,4 @@ Copyright (c) 2012 [Nicholas Fine](http://ndfine.com), [Isaac Bowen](http://isaa
|
|
24
29
|
[wp]: http://github.com/mislav/will_paginate
|
25
30
|
[bs]: http://twitter.github.com/bootstrap
|
26
31
|
[is]: https://gist.github.com/1182136
|
32
|
+
[b30]: https://github.com/yrgoldteeth/bootstrap-will_paginate/pull/10
|
@@ -19,7 +19,7 @@ module WillPaginate
|
|
19
19
|
protected
|
20
20
|
|
21
21
|
def html_container(html)
|
22
|
-
tag :div, tag(:ul, html), container_attributes
|
22
|
+
tag :div, tag(:ul, html, :class => "pagination"), container_attributes
|
23
23
|
end
|
24
24
|
|
25
25
|
def page_number(page)
|
@@ -36,4 +36,4 @@ module WillPaginate
|
|
36
36
|
end
|
37
37
|
end
|
38
38
|
end
|
39
|
-
end
|
39
|
+
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-will_paginate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.10
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Nicholas Fine
|
@@ -10,19 +9,22 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2013-09-16 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: will_paginate
|
17
|
-
requirement:
|
18
|
-
none: false
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
|
-
version_requirements:
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - '>='
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
version: '0'
|
26
28
|
description: Hooks into will_paginate to format the html to match Twitter Bootstrap
|
27
29
|
styling. Extension code was originally written by Isaac Bowen (https://gist.github.com/1182136).
|
28
30
|
email:
|
@@ -43,26 +45,25 @@ files:
|
|
43
45
|
- lib/bootstrap-will_paginate/version.rb
|
44
46
|
homepage: http://ndfine.com/2011/12/17/twitter-bootstrap-will-paginate.html
|
45
47
|
licenses: []
|
48
|
+
metadata: {}
|
46
49
|
post_install_message:
|
47
50
|
rdoc_options: []
|
48
51
|
require_paths:
|
49
52
|
- lib
|
50
53
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
54
|
requirements:
|
53
|
-
- -
|
55
|
+
- - '>='
|
54
56
|
- !ruby/object:Gem::Version
|
55
57
|
version: '0'
|
56
58
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
59
|
requirements:
|
59
|
-
- -
|
60
|
+
- - '>='
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '0'
|
62
63
|
requirements: []
|
63
64
|
rubyforge_project: bootstrap-will_paginate
|
64
|
-
rubygems_version:
|
65
|
+
rubygems_version: 2.0.3
|
65
66
|
signing_key:
|
66
|
-
specification_version:
|
67
|
+
specification_version: 4
|
67
68
|
summary: Format will_paginate html to match Twitter Bootstrap styling.
|
68
69
|
test_files: []
|