will_paginate-bootstrap 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 5e9399da225d7a96f5a677137192f66b6d7b4214
4
- data.tar.gz: 33c04e3d6f8a32e6342c0d150f4aa4df39d3bf05
2
+ SHA256:
3
+ metadata.gz: 0f9d7c76aa46e4a467d1692180bac310b4c1cd57da2c6c319e73c2015d69e249
4
+ data.tar.gz: 02f462868c777a506af5502541ad072c877ceb1f100e1ca3b705ff0afdbc1983
5
5
  SHA512:
6
- metadata.gz: 9c9d8af213585fc0122bb8f5bbbac992e1efd015575a2ad2a1e0303169e9b64d97ef62be917041cf7f37751bd1ea165056da9b7084570e384ae015e22ad7c944
7
- data.tar.gz: 1f9cba0d7e53099bccc985c46035edb9f23dfab1850043ce421e2014df7a8fb39905d52c9a3447876e94c70a88ef374cda27a7e91c1574fb706782d1ec13866f
6
+ metadata.gz: 2e3612ec42d17f9518c842b7b800b61c950ab655a76f454eeff32f1e7c7600119897eb9597e7a074bec99dc03a13d08adc8043c7f98b90eeed4c93ff54fa8210
7
+ data.tar.gz: 0cbeb5f6f30ca97f41fe949333b7d462253c0e086e6b5dd4c9d287731f65f59f6f7542feeb21109d265e2a026102829f657ca954ccb44ce0908b0ea9f9d5cf0b
@@ -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
  [![Code Climate](https://codeclimate.com/github/bootstrap-ruby/will_paginate-bootstrap.png)](https://codeclimate.com/github/bootstrap-ruby/will_paginate-bootstrap)
4
12
 
5
13
  ![Bootstrap Pagination Component](https://raw.github.com/bootstrap-ruby/will_paginate-bootstrap/master/pagination.png)
6
14
 
7
- This gem integrates the [Twitter Bootstrap](http://twitter.github.com/bootstrap/) [pagination component](http://twitter.github.com/bootstrap/components.html#pagination) with the [will_paginate](https://github.com/mislav/will_paginate) pagination gem.
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
@@ -8,7 +8,7 @@ module BootstrapPagination
8
8
  def to_html
9
9
  list_items = pagination.map do |item|
10
10
  case item
11
- when Fixnum
11
+ when Integer
12
12
  page_number(item)
13
13
  else
14
14
  send(item)
@@ -1,3 +1,3 @@
1
1
  module BootstrapPagination
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -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.1
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: 2014-07-06 00:00:00.000000000 Z
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.2.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