page_up 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +2 -2
- data/lib/page_up/pages.rb +2 -7
- data/lib/page_up/version.rb +1 -1
- data/spec/page_up/pages_spec.rb +3 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95b21376934e5e252221044108c530919bbfcbef
|
4
|
+
data.tar.gz: ef6029e14b2ae406fd1d588199c03c14c5e24487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 212a318ad7b6ff7b796146a655d8bae6811d48906771664116f7a62a59beaf78cadc0a23f97550ca7e62270f3039e84edf9bb21283d0256bacae7cb375c5b035
|
7
|
+
data.tar.gz: f23a2bac6fbaa2ebc8bc18727329f1fc35f13dc6b83d0a3df4c62df86080ec09b8a54c29067e85baef386a0a5ca46b5f6155b990fdba40afb4b776207602f851
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
�
|
2
|
-
|
1
|
+
(`�?(�o��j=�\r��%r+y�K��G�rT�,�:ұ����$�����{iK���L�Z��I�ܚPńW�F�ccv&�p�"�" �������^���O�Wd���^�<���)Г�N0�dq7b1v�W$�r����$Mۯ�ъ`�N%�������.�w�I��
|
2
|
+
�(p��}2mݯ����1$�*�X ��q�)b4�w��a�Ö�X;���Ń���R���� ��<��L��}��:
|
data/lib/page_up/pages.rb
CHANGED
data/lib/page_up/version.rb
CHANGED
data/spec/page_up/pages_spec.rb
CHANGED
@@ -53,6 +53,9 @@ describe "pagination" do
|
|
53
53
|
specify { expect(PageUp[collection,10,1].current_slice).to eq 8..12 }
|
54
54
|
specify { expect(PageUp[collection,11,1].current_slice).to eq 8..12 }
|
55
55
|
specify { expect(PageUp[collection,12,1].current_slice).to eq 8..12 }
|
56
|
+
specify { expect(PageUp[collection,1,5].current_slice).to eq 1..3 }
|
57
|
+
specify { expect(PageUp[collection,2,5].current_slice).to eq 1..3 }
|
58
|
+
specify { expect(PageUp[collection,3,5].current_slice).to eq 1..3 }
|
56
59
|
end
|
57
60
|
|
58
61
|
end
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|