will_paginate-bootstrap 0.2.2 → 0.2.3

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.
data/README.markdown CHANGED
@@ -1,6 +1,8 @@
1
1
  # will_paginate-bootstrap
2
2
 
3
- ![Bootstrap Pagination Component](//github.com/nickpad/will_paginate-bootstrap/raw/master/pagination.png)
3
+ [![Code Climate](https://codeclimate.com/github/nickpad/will_paginate-bootstrap.png)](https://codeclimate.com/github/nickpad/will_paginate-bootstrap)
4
+
5
+ ![Bootstrap Pagination Component](https://raw.github.com/nickpad/will_paginate-bootstrap/master/pagination.png)
4
6
 
5
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.
6
8
 
@@ -16,9 +18,9 @@ As with will_paginate itself, Rails and Sinatra are supported.
16
18
  ### Rails
17
19
 
18
20
  1. Load the Bootstrap CSS in your template.
19
- 2. In your view, use the `:renderer => BootstrapPagination::Rails` option with the `will_paginate` helper, for example:
21
+ 2. In your view, use the `renderer: BootstrapPagination::Rails` option with the `will_paginate` helper, for example:
20
22
 
21
- `<%= will_paginate @collection, :renderer => BootstrapPagination::Rails %>`
23
+ `<%= will_paginate @collection, renderer: BootstrapPagination::Rails %>`
22
24
 
23
25
  ### Sinatra
24
26
 
@@ -26,7 +28,7 @@ As with will_paginate itself, Rails and Sinatra are supported.
26
28
  2. `require "will_paginate-bootstrap"` in your Sinatra app.
27
29
  3. In your view, use the `:renderer => BootstrapPagination::Sinatra` option with the `will_paginate` helper, for example:
28
30
 
29
- `<%= will_paginate @collection, :renderer => BootstrapPagination::Sinatra %>`
31
+ `<%= will_paginate @collection, renderer: BootstrapPagination::Sinatra %>`
30
32
 
31
33
  ## Compatibility
32
34
 
@@ -1,3 +1,3 @@
1
1
  module BootstrapPagination
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -1,3 +1,5 @@
1
+ require 'will_paginate'
2
+
1
3
  if defined?(ActionView)
2
4
  require "bootstrap_pagination/action_view"
3
5
  end
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.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-29 00:00:00.000000000 Z
12
+ date: 2013-06-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: will_paginate
@@ -64,7 +64,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
64
64
  version: '0'
65
65
  segments:
66
66
  - 0
67
- hash: -3359177914669589572
67
+ hash: 463001071241710486
68
68
  required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  none: false
70
70
  requirements:
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  version: '0'
74
74
  segments:
75
75
  - 0
76
- hash: -3359177914669589572
76
+ hash: 463001071241710486
77
77
  requirements: []
78
78
  rubyforge_project: will_paginate-bootstrap
79
79
  rubygems_version: 1.8.23