corn_starch 1.1.24 → 1.1.25

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
2
  SHA1:
3
- metadata.gz: 8587f0750b957e7e40833d74be791226a908c6fc
4
- data.tar.gz: 39fb10b8c886b213de5f929e65107348e0714fca
3
+ metadata.gz: 89b86b8ebe050d16fe9acfbec3dbc1728edc9ba6
4
+ data.tar.gz: ccb3b1c2763b15df8ff9d384e3a10de0a4336a5a
5
5
  SHA512:
6
- metadata.gz: ae9f883bec7121360e206406e8f4cca0cd22d96ff9ffd3013e45f13ae9b84f981502a26ed661b9ce7d7e681d3d1dfcc4b5d391e0f2f60486d1c7a3ccd2736d33
7
- data.tar.gz: 8df11a7cf0f64065d2ae99386f35045446418444dbea8485a9b82abdb0183f0b22d31c741c04d6eae8be224cccc705e1c3ac1f57f5b18d267025bbdea45f2cef
6
+ metadata.gz: 824cf18f97a44c11688344085697f16badb941750c82a4999122e0d02f693514c26f266f6d857baac722a459d7e3bc90280bd1ff707310408c49dcc4690ec450
7
+ data.tar.gz: 3c0dc4c363948b3484536ab6417953bf922c6ac562a44d1bd428f7b72ac3beb781adf2da1cbb573bb0a5abafecca2d162d5ee5123748363864d834ba6b5848bc
@@ -151,9 +151,6 @@ module CornStarch
151
151
  total = collection.count
152
152
  @pagination[:pg_count] = (total / @pagination[:recs_per_page]) + (((total % @pagination[:recs_per_page]) > 0) ? 1 : 0)
153
153
 
154
- # DEBUG
155
- puts "================== PAGINATION : #{@pagination}"
156
-
157
154
  # Compute Page Range
158
155
  range_start = current - (CORNSTARCH_CONF[:pagination][:page_range] / 2)
159
156
  range_start = 0 if range_start < 0
@@ -1,3 +1,3 @@
1
1
  module CornStarch
2
- VERSION = '1.1.24'
2
+ VERSION = '1.1.25'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: corn_starch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.24
4
+ version: 1.1.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eresse