iord 1.2.0 → 1.2.1

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: 4c64f4158e72d95e6fa76711cc5ce047bdbff474
4
- data.tar.gz: aff42ae18c11e827aef3368050084a47ee737053
3
+ metadata.gz: 006e672e0ca538b689e0cf9a7ea62d95061c1160
4
+ data.tar.gz: 751a69a5ffdddae8c826d2444d3ee815fd30edcf
5
5
  SHA512:
6
- metadata.gz: a5fa157be8a8a4c2e8f4b43e4291ade002f7864b718f2417f90fe45192b6dd5ba926b733907ba5de161cba5d7f64a0c5f6db415531bef0ca1926367ba6b7ea55
7
- data.tar.gz: 0598f3b017fde893afef2ecbd93300e7498f5fedddeabc531983d46e4a631fac3b208a309fbd71b22df8e957e4d8ab50c7e89266ecea6056c09badf61fd16ddb
6
+ metadata.gz: 1018d84a1bc262915f7d2103fce7c572716453a1243bcfd6779c4af3b13e0e89aae193a43b4224b661c2d3d6b8874b6dc44380b2dbf6de3a41afb2e8a8a275c4
7
+ data.tar.gz: 57ffcdf1bf5ec63220c937dec5468e5c6e49f6fc253d022c01d2c352de1098f6e1bb517a36b595695de9b3a060329cf5fc537c9207da59dc29d92e92f8fe1c1c
@@ -18,7 +18,7 @@ module Iord
18
18
  page_div += " "
19
19
  end
20
20
 
21
- (count / limit + 1).times do |i|
21
+ (count / limit + 1).ceil.times do |i|
22
22
  page_div += " " unless i == 0
23
23
  if (i * limit) == offset
24
24
  page_div += page(i)
@@ -1,4 +1,4 @@
1
1
  module Iord
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iord
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geoffroy Planquart