jquery-bootstrap-pagination 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.
data/.gitignore CHANGED
File without changes
data/Gemfile CHANGED
File without changes
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- jquery-bootstrap-pagination (1.0.0)
4
+ jquery-bootstrap-pagination (1.0.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/Guardfile CHANGED
File without changes
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
File without changes
File without changes
File without changes
@@ -1,7 +1,7 @@
1
1
  module Jquery
2
2
  module Bootstrap
3
3
  module Pagination
4
- VERSION = "1.0.1"
4
+ VERSION = "1.0.2"
5
5
  end
6
6
  end
7
7
  end
@@ -84,7 +84,7 @@ describe "pagination", ->
84
84
  it "renders the pagination HTML to the el", ->
85
85
  @view.render()
86
86
  expect(@page.html()).toEqual("""
87
- <div class="jquery-bootstrap-pagination">
87
+ <div class="jquery-bootstrap-pagination pagination">
88
88
  <ul>
89
89
  <li class="active"><a href="#" data-page="1">1</a></li>
90
90
  <li><a href="#" data-page="2">2</a></li>
@@ -103,7 +103,7 @@ describe "pagination", ->
103
103
  @view.settings.current_page = 2
104
104
  @view.render()
105
105
  expect(@page.html()).toEqual("""
106
- <div class="jquery-bootstrap-pagination">
106
+ <div class="jquery-bootstrap-pagination pagination">
107
107
  <ul>
108
108
  <li><a href="#" data-page="1">1</a></li>
109
109
  <li class="active"><a href="#" data-page="2">2</a></li>
@@ -118,7 +118,7 @@ describe "pagination", ->
118
118
  @view.settings.current_page = 1
119
119
  @view.render()
120
120
  expect(@page.html()).toEqual("""
121
- <div class="jquery-bootstrap-pagination">
121
+ <div class="jquery-bootstrap-pagination pagination">
122
122
  <ul>
123
123
  <li class="disabled"><a href="#" data-page="1">first</a></li>
124
124
  <li class="active"><a href="#" data-page="1">1</a></li>
@@ -135,7 +135,7 @@ describe "pagination", ->
135
135
  @view.settings.current_page = @view.settings.total_pages
136
136
  @view.render()
137
137
  expect(@page.html()).toEqual("""
138
- <div class="jquery-bootstrap-pagination">
138
+ <div class="jquery-bootstrap-pagination pagination">
139
139
  <ul>
140
140
  <li><a href="#" data-page="1">first</a></li>
141
141
  <li><a href="#" data-page="1">1</a></li>
@@ -151,7 +151,7 @@ describe "pagination", ->
151
151
  @view.settings.current_page = 2
152
152
  @view.render()
153
153
  expect(@page.html()).toEqual("""
154
- <div class="jquery-bootstrap-pagination">
154
+ <div class="jquery-bootstrap-pagination pagination">
155
155
  <ul>
156
156
  <li><a href="#" data-page="1">1</a></li>
157
157
  <li class="active"><a href="#" data-page="2">2</a></li>
@@ -172,7 +172,7 @@ describe "pagination", ->
172
172
  @view.settings.current_page = 2
173
173
  @view.render()
174
174
  expect(@page.html()).toEqual("""
175
- <div class="jquery-bootstrap-pagination">
175
+ <div class="jquery-bootstrap-pagination pagination">
176
176
  <ul>
177
177
  <li><a href="#" data-page="1">1</a></li>
178
178
  <li class="active"><a href="#" data-page="2">2</a></li>
@@ -193,7 +193,7 @@ describe "pagination", ->
193
193
  @view.settings.current_page = 8
194
194
  @view.render()
195
195
  expect(@page.html()).toEqual("""
196
- <div class="jquery-bootstrap-pagination">
196
+ <div class="jquery-bootstrap-pagination pagination">
197
197
  <ul>
198
198
  <li><a href="#" data-page="1">1</a></li>
199
199
  <li class="disabled"><a href="#" data-page="..">..</a></li>
@@ -219,7 +219,7 @@ describe "pagination", ->
219
219
  @view.settings.current_page = 2
220
220
  @view.render()
221
221
  expect(@page.html()).toEqual("""
222
- <div class="jquery-bootstrap-pagination">
222
+ <div class="jquery-bootstrap-pagination pagination">
223
223
  <ul>
224
224
  <li><a href="#" data-page="1">1</a></li>
225
225
  <li class="active"><a href="#" data-page="2">2</a></li>
@@ -237,7 +237,7 @@ describe "pagination", ->
237
237
  $("[data-page=8]", @view.el).click()
238
238
  @view.render()
239
239
  expect(@page.html()).toEqual("""
240
- <div class="jquery-bootstrap-pagination">
240
+ <div class="jquery-bootstrap-pagination pagination">
241
241
  <ul>
242
242
  <li><a href="#" data-page="1">1</a></li>
243
243
  <li class="disabled"><a href="#" data-page="..">..</a></li>
File without changes
File without changes
@@ -138,7 +138,7 @@
138
138
  @el.html("")
139
139
  return
140
140
  # render all of the pages:
141
- html = ["<div class='jquery-bootstrap-pagination'>"]
141
+ html = ["<div class='jquery-bootstrap-pagination pagination'>"]
142
142
  html.push "<ul>"
143
143
  for link in @buildLinks()
144
144
  html.push link
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.1
4
+ version: 1.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: