jquery-bootstrap-pagination 1.0.2 → 1.0.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.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jquery-bootstrap-pagination (1.0.1)
4
+ jquery-bootstrap-pagination (1.0.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -92,6 +92,8 @@ first: false
92
92
  last: false
93
93
  # how many links before truncation happens:
94
94
  display_max: 8
95
+ # render nothing if there is only 1 page:
96
+ ignore_single_page: true
95
97
  ```
96
98
 
97
99
  ## Contributing
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Bootstrap
3
3
  module Pagination
4
- VERSION = "1.0.2"
4
+ VERSION = "1.0.3"
5
5
  end
6
6
  end
7
7
  end
@@ -137,7 +137,7 @@
137
137
  this.el.html("");
138
138
  return;
139
139
  }
140
- html = ["<div class='jquery-bootstrap-pagination'>"];
140
+ html = ["<div class='jquery-bootstrap-pagination pagination'>"];
141
141
  html.push("<ul>");
142
142
  _ref = this.buildLinks();
143
143
  for (_i = 0, _len = _ref.length; _i < _len; _i++) {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery-bootstrap-pagination
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: