radiant-archive-extension 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/radiant-archive-extension/version.rb +1 -1
- data/spec/models/archive_day_index_page_spec.rb +3 -3
- data/spec/models/archive_month_index_page_spec.rb +1 -1
- data/spec/models/archive_page_spec.rb +1 -1
- data/spec/models/archive_year_index_page_spec.rb +3 -3
- data/spec/models/page_spec.rb +1 -1
- metadata +7 -5
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.
|
1
|
+
require File.expand_path("../../spec_helper", __FILE__)
|
2
2
|
|
3
3
|
describe ArchiveDayIndexPage do
|
4
4
|
dataset :archive
|
@@ -24,7 +24,7 @@ describe ArchiveDayIndexPage do
|
|
24
24
|
@page.should render('<r:breadcrumb />').as('June 09, 2000 Archive').on('/archive/2000/06/09/')
|
25
25
|
end
|
26
26
|
|
27
|
-
it "should render the <r:
|
28
|
-
@page.should render('<r:
|
27
|
+
it "should render the <r:path /> tag with interpolated date" do
|
28
|
+
@page.should render('<r:path />').as('/archive/2000/06/09/').on('/archive/2000/06/09')
|
29
29
|
end
|
30
30
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.
|
1
|
+
require File.expand_path("../../spec_helper", __FILE__)
|
2
2
|
|
3
3
|
describe ArchiveYearIndexPage do
|
4
4
|
dataset :archive
|
@@ -24,8 +24,8 @@ describe ArchiveYearIndexPage do
|
|
24
24
|
@page.should render('<r:breadcrumb />').as('2000 Archive').on('/archive/2000')
|
25
25
|
end
|
26
26
|
|
27
|
-
it "should render the <r:
|
28
|
-
@page.should render('<r:
|
27
|
+
it "should render the <r:path /> tag with interpolated date" do
|
28
|
+
@page.should render('<r:path />').as('/archive/2000/').on('/archive/2000')
|
29
29
|
end
|
30
30
|
|
31
31
|
end
|
data/spec/models/page_spec.rb
CHANGED
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: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 2
|
10
|
+
version: 1.0.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Radiant CMS Dev Team
|
@@ -15,7 +15,8 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-10-22 00:00:00 -05:00
|
19
|
+
default_executable:
|
19
20
|
dependencies: []
|
20
21
|
|
21
22
|
description: Provides page types for news or blog archives.
|
@@ -59,6 +60,7 @@ files:
|
|
59
60
|
- spec/models/page_spec.rb
|
60
61
|
- spec/spec.opts
|
61
62
|
- spec/spec_helper.rb
|
63
|
+
has_rdoc: true
|
62
64
|
homepage: http://radiantcms.org
|
63
65
|
licenses: []
|
64
66
|
|
@@ -88,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
88
90
|
requirements: []
|
89
91
|
|
90
92
|
rubyforge_project:
|
91
|
-
rubygems_version: 1.
|
93
|
+
rubygems_version: 1.3.9.3
|
92
94
|
signing_key:
|
93
95
|
specification_version: 3
|
94
96
|
summary: Archive for Radiant CMS
|