dhole 0.0.11 → 0.0.12
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: d8b609c345ad57ed27c7d8778032eddac6b030dc
|
4
|
+
data.tar.gz: 4effdb7a7fe99e07c10cdcef872f79d742e31cf8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7cdf8d17ba6ac4e36fe05572cb12494d807fa758d5c5ec3144655ced5278f059721f51230c058b4fb1d398179d83f809ac642f49ba274409a46ad7ce761d80d
|
7
|
+
data.tar.gz: 0d530263b027417739856f869aa25ae607e40b34c4f3e5ff7d443bfbd00b1138c76b09f8e309254461d1690afa7fc337dd333eca724036734bf361329c102f23
|
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'}.
|
11
|
+
members.select{|cl| cl.cl_type == 'page'}.map {|cl| cl.cl_from}
|
12
12
|
end
|
13
13
|
def member_file_titles
|
14
|
-
members.select{|cl| cl.cl_type == 'file'}.
|
14
|
+
members.select{|cl| cl.cl_type == 'file'}.map {|cl| cl.cl_from}
|
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