tablelists 0.4.1 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tablelists.rb +3 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 21122ada45bfbbe74e4d1b550b0d34a0c4199eb0
|
4
|
+
data.tar.gz: 3a6e12fb5c9cb3bc258939a28f85663cd8222504
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fbc3f8a00f6baa1ec953b9e0773d68fa2788a025bed73db6c392f940868225e220c1edfbfb00ce679d4be07e4b9ce84565744a35d67b407ac53eb0d5c8672b8e
|
7
|
+
data.tar.gz: d3b0ec7e94d6199cde2f6815a9610903725fbab9e948be4a2fe6647a83dbf8a252a8ea1a1513846c5fc89122184a38f2e06ca851d5426ef447458e2403b6287d
|
data/lib/tablelists.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
class Class
|
2
|
-
|
2
|
+
def filting( page , quality_of_elements , category)
|
3
3
|
puts category[0]
|
4
4
|
# Qualety of elements which will be shows on page
|
5
5
|
elemants_int = quality_of_elements.to_i
|
@@ -31,7 +31,7 @@ class Class
|
|
31
31
|
elsif image.length/elemants_float > image.length/elemants_int
|
32
32
|
@galery = image[0..(image.length - elemants_int*(@number-1)-1)]
|
33
33
|
end
|
34
|
-
|
34
|
+
end
|
35
35
|
|
36
36
|
def categories(category)
|
37
37
|
x = ""
|
@@ -52,4 +52,4 @@ class Class
|
|
52
52
|
#
|
53
53
|
# end
|
54
54
|
# end
|
55
|
-
end
|
55
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tablelists
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Chernovsky
|
@@ -10,7 +10,8 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2016-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: This gem can help you sort elements from database and divided into pages.
|
14
|
+
For more information go to our github page.
|
14
15
|
email: daniel.chernovsky@gmail.com
|
15
16
|
executables: []
|
16
17
|
extensions: []
|