radiant-archive-extension 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
data/app/models/archive_page.rb
CHANGED
@@ -11,7 +11,7 @@ class ArchivePage < Page
|
|
11
11
|
end
|
12
12
|
|
13
13
|
def existing_child_types
|
14
|
-
children(:select => 'DISTINCT class_name', :order => nil).collect{|p| p.class }.uniq
|
14
|
+
children(:select => 'DISTINCT class_name, title, virtual', :order => nil).collect{|p| p.class }.uniq
|
15
15
|
end
|
16
16
|
|
17
17
|
description %{
|
@@ -38,7 +38,7 @@ describe ArchivePage do
|
|
38
38
|
|
39
39
|
describe '#existing_child_types' do
|
40
40
|
it 'should return a unique array of classes of the page children' do
|
41
|
-
archive.existing_child_types.should == archive.children.all(:select => 'DISTINCT class_name').collect{|p| p.class }.uniq
|
41
|
+
archive.existing_child_types.should == archive.children.all(:select => 'DISTINCT class_name, title, virtual').collect{|p| p.class }.uniq
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radiant-archive-extension
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Radiant CMS Dev Team
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-10-
|
18
|
+
date: 2011-10-30 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- lib/radiant-archive-extension/version.rb
|
50
50
|
- lib/radiant-archive-extension.rb
|
51
51
|
- lib/tasks/archive_extension_tasks.rake
|
52
|
+
- radiant-archive-extension-1.0.3.gem
|
52
53
|
- radiant-archive-extension.gemspec
|
53
54
|
- Rakefile
|
54
55
|
- README
|