will_paginate-bootstrap 1.0.1 → 1.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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 0f9d7c76aa46e4a467d1692180bac310b4c1cd57da2c6c319e73c2015d69e249
|
4
|
+
data.tar.gz: 02f462868c777a506af5502541ad072c877ceb1f100e1ca3b705ff0afdbc1983
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e3612ec42d17f9518c842b7b800b61c950ab655a76f454eeff32f1e7c7600119897eb9597e7a074bec99dc03a13d08adc8043c7f98b90eeed4c93ff54fa8210
|
7
|
+
data.tar.gz: 0cbeb5f6f30ca97f41fe949333b7d462253c0e086e6b5dd4c9d287731f65f59f6f7542feeb21109d265e2a026102829f657ca954ccb44ce0908b0ea9f9d5cf0b
|
data/README.markdown
CHANGED
@@ -1,10 +1,18 @@
|
|
1
1
|
# will_paginate-bootstrap
|
2
2
|
|
3
|
+
---
|
4
|
+
|
5
|
+
__No longer maintained__
|
6
|
+
|
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.
|
8
|
+
|
9
|
+
---
|
10
|
+
|
3
11
|
[](https://codeclimate.com/github/bootstrap-ruby/will_paginate-bootstrap)
|
4
12
|
|
5
13
|

|
6
14
|
|
7
|
-
This gem integrates the [Twitter Bootstrap](http://
|
15
|
+
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.
|
8
16
|
|
9
17
|
Just like will_paginate, Rails and Sinatra are supported.
|
10
18
|
|
@@ -4,6 +4,6 @@ require "bootstrap_pagination/bootstrap_renderer"
|
|
4
4
|
module BootstrapPagination
|
5
5
|
# A custom renderer class for WillPaginate that produces markup suitable for use with Twitter Bootstrap.
|
6
6
|
class Rails < WillPaginate::ActionView::LinkRenderer
|
7
|
-
include BootstrapRenderer
|
7
|
+
include BootstrapPagination::BootstrapRenderer
|
8
8
|
end
|
9
9
|
end
|
data/spec/pagination_spec.rb
CHANGED
@@ -53,10 +53,6 @@ describe "Bootstrap Renderer" do
|
|
53
53
|
html.at_css('ul li.disabled').wont_be_nil
|
54
54
|
end
|
55
55
|
|
56
|
-
it "has one item with rel start value" do
|
57
|
-
html.css('[rel~=start]').size.must_equal 1
|
58
|
-
end
|
59
|
-
|
60
56
|
it "has two items with rel prev value" do
|
61
57
|
html.css('[rel~=prev]').size.must_equal 2
|
62
58
|
end
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: will_paginate-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Dainty
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: will_paginate
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 3.0.3
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 3.0.3
|
27
27
|
description: This gem integrates the Twitter Bootstrap pagination component with the
|
@@ -32,7 +32,7 @@ executables: []
|
|
32
32
|
extensions: []
|
33
33
|
extra_rdoc_files: []
|
34
34
|
files:
|
35
|
-
- .gitignore
|
35
|
+
- ".gitignore"
|
36
36
|
- Gemfile
|
37
37
|
- MIT-LICENSE
|
38
38
|
- README.markdown
|
@@ -57,17 +57,17 @@ require_paths:
|
|
57
57
|
- lib
|
58
58
|
required_ruby_version: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- -
|
60
|
+
- - ">="
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '0'
|
63
63
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
64
|
requirements:
|
65
|
-
- -
|
65
|
+
- - ">="
|
66
66
|
- !ruby/object:Gem::Version
|
67
67
|
version: '0'
|
68
68
|
requirements: []
|
69
69
|
rubyforge_project: will_paginate-bootstrap
|
70
|
-
rubygems_version: 2.
|
70
|
+
rubygems_version: 2.7.8
|
71
71
|
signing_key:
|
72
72
|
specification_version: 4
|
73
73
|
summary: Integrates the Twitter Bootstrap pagination component with will_paginate
|