dhole 0.0.12 → 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/dhole/category.rb +2 -2
- data/lib/dhole/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d8e0e9a8352ec12b20b9e5627a6ac5b9af79f1c
|
4
|
+
data.tar.gz: ba83f7fa819f8e9ce74c939fb54f55ffbd62508d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02343b3b7ccfb477e323802aed90e6ed38435469cfe0eea26b842f629c7a6bc61b1b708f42bc6e21906fbca2f6c6b103c77fb9ade7e76686678ec44369052939
|
7
|
+
data.tar.gz: ad28c850b7509344ec1599e4ad80cbe45b0cb0bb7a3d75002bcddac8817dfdd2019e6ad4d9056a2102ff58542f76f59512cbe616544b00c19ec7b6de1e2fa94e
|
data/lib/dhole/category.rb
CHANGED
@@ -8,10 +8,10 @@ module Dhole
|
|
8
8
|
CategoryLink.where(cl_to: cat_title) || []
|
9
9
|
end
|
10
10
|
def member_page_titles
|
11
|
-
members.select{|cl| cl.cl_type == 'page'}.map {|cl| cl.cl_from}
|
11
|
+
members.select{|cl| cl.cl_type == 'page'}.map {|cl| Page.find(cl.cl_from).page_title}
|
12
12
|
end
|
13
13
|
def member_file_titles
|
14
|
-
members.select{|cl| cl.cl_type == 'file'}.map {|cl| cl.cl_from}
|
14
|
+
members.select{|cl| cl.cl_type == 'file'}.map {|cl| Image.find(cl.cl_from).img_name}
|
15
15
|
end
|
16
16
|
def member_pages
|
17
17
|
members.select{|cl| cl.cl_type == 'page'}.map {|cl| Page.find(cl.cl_from)}
|
data/lib/dhole/version.rb
CHANGED