spud_cms 0.8.17 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +30 -13
- data/app/assets/images/spud/admin/snippets_thumb.png +0 -0
- data/app/assets/images/spud/admin/snippets_thumb@2x.png +0 -0
- data/app/assets/javascripts/spud/admin/cms/application.js +3 -3
- data/app/controllers/pages_controller.rb +6 -23
- data/app/controllers/spud/admin/menu_items_controller.rb +6 -10
- data/app/controllers/spud/admin/menus_controller.rb +1 -1
- data/app/controllers/spud/admin/pages_controller.rb +40 -86
- data/app/controllers/spud/cms/sitemaps_controller.rb +1 -1
- data/app/helpers/spud/cms/application_helper.rb +50 -26
- data/app/models/spud_menu_item.rb +10 -13
- data/app/models/spud_page.rb +12 -4
- data/app/models/spud_page_liquid_tag.rb +4 -0
- data/app/models/spud_page_partial.rb +40 -1
- data/app/observers/page_sweeper.rb +48 -0
- data/app/views/pages/show.html.erb +9 -11
- data/app/views/spud/admin/pages/_form.html.erb +15 -16
- data/app/views/spud/admin/pages/_page_partials_form.html.erb +3 -3
- data/app/views/spud/admin/pages/index.html.erb +1 -1
- data/app/views/spud/admin/pages/show.html.erb +4 -6
- data/config/routes.rb +3 -3
- data/db/migrate/20120911190030_add_symbol_name_to_spud_page_partials.rb +5 -0
- data/db/migrate/20120912121313_modify_site_id_for_spud_pages.rb +15 -0
- data/db/migrate/20121016233715_add_content_processed_to_spud_page_partials.rb +5 -0
- data/db/migrate/20121112151110_add_layout_to_spud_pages.rb +8 -0
- data/db/migrate/20121112212113_create_spud_page_liquid_tags.rb +11 -0
- data/lib/spud_cms.rb +1 -0
- data/lib/spud_cms/configuration.rb +4 -7
- data/lib/spud_cms/engine.rb +37 -16
- data/lib/spud_cms/template_parser.rb +121 -0
- data/lib/spud_cms/version.rb +1 -1
- data/spec/controllers/pages_controller_spec.rb +108 -0
- data/spec/controllers/spud/admin/menu_items_controller_spec.rb +148 -0
- data/spec/controllers/spud/admin/menus_controller_spec.rb +121 -0
- data/spec/controllers/spud/admin/pages_controller_spec.rb +5 -13
- data/spec/controllers/spud/cms/sitemaps_controller_spec.rb +35 -4
- data/spec/dummy/app/controllers/application_controller.rb +1 -1
- data/spec/dummy/db/schema.rb +146 -0
- data/spec/dummy/log/development.log +341 -0
- data/spec/dummy/log/test.log +182863 -0
- data/spec/helpers/spud/cms/application_helper_spec.rb +160 -0
- data/spec/models/spud_menu_item_spec.rb +31 -0
- data/spec/models/spud_page_liquid_tag_spec.rb +5 -0
- data/spec/models/spud_page_partial_spec.rb +44 -0
- data/spec/models/spud_page_spec.rb +1 -2
- metadata +50 -19
- data/app/assets/images/spud/admin/templates_thumb.png +0 -0
- data/app/controllers/spud/admin/templates_controller.rb +0 -73
- data/app/models/page_sweeper.rb +0 -63
- data/app/models/spud_template.rb +0 -10
- data/app/views/layouts/spud/admin/cms/detail.html.erb +0 -5
- data/spec/models/spud_template_spec.rb +0 -34
@@ -0,0 +1,160 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Spud::Cms::ApplicationHelper do
|
4
|
+
before(:each) do
|
5
|
+
ActiveRecord::Base.observers.disable(:page_sweeper)
|
6
|
+
|
7
|
+
|
8
|
+
Spud::Core.configure do |config|
|
9
|
+
config.site_name = "Test Site"
|
10
|
+
config.multisite_mode_enabled = false
|
11
|
+
config.multisite_config = []
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
describe :sp_list_menu do
|
16
|
+
it "should be able to find a menu by its name" do
|
17
|
+
menu = FactoryGirl.create(:spud_menu,:name => "Main")
|
18
|
+
2.times {|x| s = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")}
|
19
|
+
|
20
|
+
helper.sp_list_menu(:name => "Main",:active_class => "active").should match /\<li/
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should assign id to ul block" do
|
24
|
+
menu = FactoryGirl.create(:spud_menu)
|
25
|
+
2.times {|x| s = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")}
|
26
|
+
|
27
|
+
helper.sp_list_menu(:name => menu.name,:id => "nav").should match /id=\'nav\'/
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should render nested menu items" do
|
31
|
+
menu = FactoryGirl.create(:spud_menu,:name => "Main2")
|
32
|
+
s = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
|
33
|
+
s2 = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
|
34
|
+
s3 = FactoryGirl.create(:spud_menu_item,:parent_type => "SpudMenuItem",:parent_id => s.id,:spud_menu_id => menu.id,:url => "/",:name => "SubItem")
|
35
|
+
|
36
|
+
helper.sp_list_menu(:name => "Main2").should match /SubItem/
|
37
|
+
end
|
38
|
+
|
39
|
+
it "should respect max depth" do
|
40
|
+
menu = FactoryGirl.create(:spud_menu,:name => "Main4")
|
41
|
+
s = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
|
42
|
+
s2 = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
|
43
|
+
s3 = FactoryGirl.create(:spud_menu_item,:parent_type => "SpudMenuItem",:parent_id => s.id,:spud_menu_id => menu.id,:url => "/",:name => "SubItem")
|
44
|
+
|
45
|
+
helper.sp_list_menu(:name => "Main4",:max_depth => 1).should_not match /SubItem/
|
46
|
+
end
|
47
|
+
|
48
|
+
it "should not load menu from different site_id" do
|
49
|
+
Spud::Core.configure do |config|
|
50
|
+
config.site_name = "Test Site"
|
51
|
+
config.multisite_mode_enabled = true
|
52
|
+
config.multisite_config = [{:hosts => ["test.host"], :site_name =>"Site B", :site_id => 1}]
|
53
|
+
end
|
54
|
+
menu = FactoryGirl.create(:spud_menu,:site_id => 0)
|
55
|
+
s = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
|
56
|
+
|
57
|
+
helper.sp_list_menu(:name => menu.name).should be_blank
|
58
|
+
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
describe :sp_menu_with_seperator do
|
63
|
+
it "should render a flattened list of links" do
|
64
|
+
menu = FactoryGirl.create(:spud_menu,:name => "Main3")
|
65
|
+
s = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
|
66
|
+
s2 = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
|
67
|
+
s3 = FactoryGirl.create(:spud_menu_item,:parent_type => "SpudMenuItem",:parent_id => s.id,:spud_menu_id => menu.id,:url => "/",:name => "SubItem")
|
68
|
+
|
69
|
+
content = helper.sp_menu_with_seperator(:name => "Main3")
|
70
|
+
content.should match /SubItem/
|
71
|
+
content.should_not match /\<li/
|
72
|
+
end
|
73
|
+
|
74
|
+
it "should not load menu from different site_id" do
|
75
|
+
|
76
|
+
Spud::Core.configure do |config|
|
77
|
+
config.site_name = "Test Site"
|
78
|
+
config.multisite_mode_enabled = true
|
79
|
+
config.multisite_config = [{:hosts => ["test.host"], :site_name =>"Site B", :site_id => 1}]
|
80
|
+
end
|
81
|
+
menu = FactoryGirl.create(:spud_menu,:site_id => 0)
|
82
|
+
s = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
|
83
|
+
helper.sp_menu_with_seperator(:name => menu.name).should be_blank
|
84
|
+
|
85
|
+
end
|
86
|
+
|
87
|
+
|
88
|
+
end
|
89
|
+
|
90
|
+
describe :sp_list_pages do
|
91
|
+
it "should be able to list created pages" do
|
92
|
+
page = FactoryGirl.create(:spud_page)
|
93
|
+
page2 = FactoryGirl.create(:spud_page)
|
94
|
+
page3 = FactoryGirl.create(:spud_page,:spud_page_id => page.id)
|
95
|
+
|
96
|
+
|
97
|
+
content = helper.sp_list_pages(:active_class => "active")
|
98
|
+
content.should match /#{page.name}/
|
99
|
+
content.should match /#{page2.name}/
|
100
|
+
content.should match /#{page3.name}/
|
101
|
+
end
|
102
|
+
|
103
|
+
it "should assign id" do
|
104
|
+
page = FactoryGirl.create(:spud_page)
|
105
|
+
page2 = FactoryGirl.create(:spud_page)
|
106
|
+
|
107
|
+
content = helper.sp_list_pages(:id => "page_nav")
|
108
|
+
content.should match /id=\'page_nav\'/
|
109
|
+
|
110
|
+
end
|
111
|
+
|
112
|
+
it "should be able to exclude certain pages" do
|
113
|
+
page = FactoryGirl.create(:spud_page)
|
114
|
+
page2 = FactoryGirl.create(:spud_page)
|
115
|
+
|
116
|
+
content = helper.sp_list_pages(:exclude => [page2.name])
|
117
|
+
content.should match /#{page.name}/
|
118
|
+
content.should_not match /#{page2.name}/
|
119
|
+
end
|
120
|
+
it "should respect max depth" do
|
121
|
+
page = FactoryGirl.create(:spud_page)
|
122
|
+
page2 = FactoryGirl.create(:spud_page)
|
123
|
+
page3 = FactoryGirl.create(:spud_page,:spud_page_id => page.id)
|
124
|
+
|
125
|
+
|
126
|
+
content = helper.sp_list_pages(:max_depth => 1)
|
127
|
+
content.should match /#{page.name}/
|
128
|
+
content.should match /#{page2.name}/
|
129
|
+
content.should_not match /#{page3.name}/
|
130
|
+
end
|
131
|
+
|
132
|
+
|
133
|
+
it "should be able to list sub pages of a particular page" do
|
134
|
+
page = FactoryGirl.create(:spud_page)
|
135
|
+
page2 = FactoryGirl.create(:spud_page)
|
136
|
+
page3 = FactoryGirl.create(:spud_page,:spud_page_id => page.id)
|
137
|
+
content = helper.sp_list_pages(:start_page_id => page.id)
|
138
|
+
content.should_not match /#{page.name}/
|
139
|
+
content.should_not match /#{page2.name}/
|
140
|
+
content.should match /#{page3.name}/
|
141
|
+
end
|
142
|
+
|
143
|
+
it "should not load pages from different site_id" do
|
144
|
+
Spud::Core.configure do |config|
|
145
|
+
config.site_name = "Test Site"
|
146
|
+
config.multisite_mode_enabled = true
|
147
|
+
config.multisite_config = [{:hosts => ["test.host"], :site_name =>"Site B", :site_id => 1}]
|
148
|
+
end
|
149
|
+
page = FactoryGirl.create(:spud_page,:site_id => 0)
|
150
|
+
page2 = FactoryGirl.create(:spud_page,:site_id => 1)
|
151
|
+
|
152
|
+
content = helper.sp_list_pages()
|
153
|
+
content.should_not match /#{page.name}/
|
154
|
+
content.should match /#{page2.name}/
|
155
|
+
|
156
|
+
end
|
157
|
+
|
158
|
+
|
159
|
+
end
|
160
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe SpudMenuItem do
|
4
|
+
|
5
|
+
it {should have_many(:spud_menu_items)}
|
6
|
+
it {should belong_to(:spud_page)}
|
7
|
+
it {should belong_to(:spud_menu)}
|
8
|
+
it {should belong_to(:parent)}
|
9
|
+
|
10
|
+
describe :validations do
|
11
|
+
it "should require a name" do
|
12
|
+
p = Factory.build(:spud_menu_item,:name => nil)
|
13
|
+
p.should_not be_valid
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should require a menu_id" do
|
17
|
+
p = Factory.build(:spud_menu_item,:spud_menu_id => nil)
|
18
|
+
p.should_not be_valid
|
19
|
+
end
|
20
|
+
|
21
|
+
it "should require a parent_type" do
|
22
|
+
p = Factory.build(:spud_menu_item,:parent_type => nil)
|
23
|
+
p.should_not be_valid
|
24
|
+
end
|
25
|
+
|
26
|
+
it "should require a parent_id" do
|
27
|
+
p = Factory.build(:spud_menu_item,:parent_id => nil)
|
28
|
+
p.should_not be_valid
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe SpudPagePartial do
|
4
|
+
describe "validations" do
|
5
|
+
|
6
|
+
it "should require a name" do
|
7
|
+
p = Factory.build(:spud_page_partial,:name => nil)
|
8
|
+
p.should_not be_valid
|
9
|
+
end
|
10
|
+
|
11
|
+
it "should respond with a symbol_name based on name" do
|
12
|
+
p = Factory.build(:spud_page_partial,:name => "Test Page")
|
13
|
+
p.symbol_name.should == "test_page"
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
describe "save hooks" do
|
18
|
+
it "should save the symbol name" do
|
19
|
+
p = Factory.create(:spud_page_partial,:name => "Test Page")
|
20
|
+
p.attributes["symbol_name"].should == "test_page"
|
21
|
+
end
|
22
|
+
|
23
|
+
it "should create a new revision if content is changed" do
|
24
|
+
p = Factory.create(:spud_page_partial,:name => "Test Page",:content =>"Home Sweet Home",:spud_page_id => 1)
|
25
|
+
SpudPagePartialRevision.where(:spud_page_id => 1,:name => "Test Page").count.should == 1
|
26
|
+
end
|
27
|
+
|
28
|
+
it "should delete old revisions beyond max_revision count" do
|
29
|
+
Spud::Cms.configure do |config|
|
30
|
+
config.max_revisions = 2
|
31
|
+
end
|
32
|
+
p = Factory.create(:spud_page_partial,:name => "Test Page",:content =>"Home Sweet Home",:spud_page_id => 1)
|
33
|
+
p.content = "Nah"
|
34
|
+
p.save
|
35
|
+
|
36
|
+
p.content = "Another change"
|
37
|
+
p.save
|
38
|
+
SpudPagePartialRevision.where(:spud_page_id => 1,:name => "Test Page").count.should == 2
|
39
|
+
end
|
40
|
+
|
41
|
+
end
|
42
|
+
|
43
|
+
|
44
|
+
end
|
@@ -3,7 +3,6 @@ require 'spec_helper'
|
|
3
3
|
describe SpudPage do
|
4
4
|
|
5
5
|
it {should have_many(:spud_page_partials)}
|
6
|
-
it {should belong_to(:spud_template)}
|
7
6
|
it {should have_many(:spud_pages)}
|
8
7
|
it {should belong_to(:spud_page)}
|
9
8
|
it {should belong_to(:created_by_user)}
|
@@ -31,7 +30,7 @@ describe SpudPage do
|
|
31
30
|
end
|
32
31
|
|
33
32
|
it "should dependantly destroy page_partials" do
|
34
|
-
t = Factory(:spud_page, :spud_page_partials => [SpudPagePartial.new()])
|
33
|
+
t = Factory(:spud_page, :spud_page_partials => [SpudPagePartial.new(:name => "body")])
|
35
34
|
lambda {
|
36
35
|
t.destroy
|
37
36
|
}.should change(SpudPagePartial, :count).from(1).to(0)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spud_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.9.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -33,9 +33,6 @@ dependencies:
|
|
33
33
|
none: false
|
34
34
|
requirements:
|
35
35
|
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 0.8.0
|
38
|
-
- - <
|
39
36
|
- !ruby/object:Gem::Version
|
40
37
|
version: 0.9.0
|
41
38
|
type: :runtime
|
@@ -44,9 +41,6 @@ dependencies:
|
|
44
41
|
none: false
|
45
42
|
requirements:
|
46
43
|
- - ! '>='
|
47
|
-
- !ruby/object:Gem::Version
|
48
|
-
version: 0.8.0
|
49
|
-
- - <
|
50
44
|
- !ruby/object:Gem::Version
|
51
45
|
version: 0.9.0
|
52
46
|
- !ruby/object:Gem::Dependency
|
@@ -56,7 +50,7 @@ dependencies:
|
|
56
50
|
requirements:
|
57
51
|
- - ~>
|
58
52
|
- !ruby/object:Gem::Version
|
59
|
-
version: 0.0
|
53
|
+
version: 0.9.0
|
60
54
|
type: :runtime
|
61
55
|
prerelease: false
|
62
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -64,7 +58,23 @@ dependencies:
|
|
64
58
|
requirements:
|
65
59
|
- - ~>
|
66
60
|
- !ruby/object:Gem::Version
|
67
|
-
version: 0.0
|
61
|
+
version: 0.9.0
|
62
|
+
- !ruby/object:Gem::Dependency
|
63
|
+
name: liquid
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
66
|
+
requirements:
|
67
|
+
- - ! '>='
|
68
|
+
- !ruby/object:Gem::Version
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
68
78
|
- !ruby/object:Gem::Dependency
|
69
79
|
name: codemirror-rails
|
70
80
|
requirement: !ruby/object:Gem::Requirement
|
@@ -224,7 +234,8 @@ files:
|
|
224
234
|
- app/assets/images/spud/admin/menus_thumb.png
|
225
235
|
- app/assets/images/spud/admin/menus_thumb@2x.png
|
226
236
|
- app/assets/images/spud/admin/pages_thumb.png
|
227
|
-
- app/assets/images/spud/admin/
|
237
|
+
- app/assets/images/spud/admin/snippets_thumb.png
|
238
|
+
- app/assets/images/spud/admin/snippets_thumb@2x.png
|
228
239
|
- app/assets/javascripts/spud/admin/cms/application.js
|
229
240
|
- app/assets/javascripts/spud/admin/cms/menu_items.js
|
230
241
|
- app/assets/stylesheets/spud/admin/cms/application.css
|
@@ -234,17 +245,15 @@ files:
|
|
234
245
|
- app/controllers/spud/admin/menu_items_controller.rb
|
235
246
|
- app/controllers/spud/admin/menus_controller.rb
|
236
247
|
- app/controllers/spud/admin/pages_controller.rb
|
237
|
-
- app/controllers/spud/admin/templates_controller.rb
|
238
248
|
- app/controllers/spud/cms/sitemaps_controller.rb
|
239
249
|
- app/helpers/spud/cms/application_helper.rb
|
240
|
-
- app/models/page_sweeper.rb
|
241
250
|
- app/models/spud_menu.rb
|
242
251
|
- app/models/spud_menu_item.rb
|
243
252
|
- app/models/spud_page.rb
|
253
|
+
- app/models/spud_page_liquid_tag.rb
|
244
254
|
- app/models/spud_page_partial.rb
|
245
255
|
- app/models/spud_page_partial_revision.rb
|
246
|
-
- app/
|
247
|
-
- app/views/layouts/spud/admin/cms/detail.html.erb
|
256
|
+
- app/observers/page_sweeper.rb
|
248
257
|
- app/views/pages/show.html.erb
|
249
258
|
- app/views/spud/admin/menu_items/_form.html.erb
|
250
259
|
- app/views/spud/admin/menu_items/_menu_item_row.html.erb
|
@@ -284,9 +293,15 @@ files:
|
|
284
293
|
- db/migrate/20120329132322_add_site_id_to_spud_templates.rb
|
285
294
|
- db/migrate/20120329132330_add_site_id_to_spud_menus.rb
|
286
295
|
- db/migrate/20120510195151_create_spud_page_partial_revisions.rb
|
296
|
+
- db/migrate/20120911190030_add_symbol_name_to_spud_page_partials.rb
|
297
|
+
- db/migrate/20120912121313_modify_site_id_for_spud_pages.rb
|
298
|
+
- db/migrate/20121016233715_add_content_processed_to_spud_page_partials.rb
|
299
|
+
- db/migrate/20121112151110_add_layout_to_spud_pages.rb
|
300
|
+
- db/migrate/20121112212113_create_spud_page_liquid_tags.rb
|
287
301
|
- lib/spud_cms/configuration.rb
|
288
302
|
- lib/spud_cms/engine.rb
|
289
303
|
- lib/spud_cms/page_route.rb
|
304
|
+
- lib/spud_cms/template_parser.rb
|
290
305
|
- lib/spud_cms/test_files.rb
|
291
306
|
- lib/spud_cms/version.rb
|
292
307
|
- lib/spud_cms.rb
|
@@ -294,7 +309,10 @@ files:
|
|
294
309
|
- MIT-LICENSE
|
295
310
|
- Rakefile
|
296
311
|
- README.markdown
|
312
|
+
- spec/controllers/pages_controller_spec.rb
|
297
313
|
- spec/controllers/spud/admin/cms_controller_spec.rb
|
314
|
+
- spec/controllers/spud/admin/menu_items_controller_spec.rb
|
315
|
+
- spec/controllers/spud/admin/menus_controller_spec.rb
|
298
316
|
- spec/controllers/spud/admin/pages_controller_spec.rb
|
299
317
|
- spec/controllers/spud/cms/sitemaps_controller_spec.rb
|
300
318
|
- spec/dummy/app/assets/javascripts/application.js
|
@@ -326,6 +344,8 @@ files:
|
|
326
344
|
- spec/dummy/db/migrate/20120610123556_add_scope_to_spud_admin_permissions.spud_core.rb
|
327
345
|
- spec/dummy/db/migrate/20120610123557_create_spud_user_settings.spud_core.rb
|
328
346
|
- spec/dummy/db/migrate/20120610123615_add_site_id_to_spud_permalinks.spud_permalinks.rb
|
347
|
+
- spec/dummy/db/schema.rb
|
348
|
+
- spec/dummy/log/development.log
|
329
349
|
- spec/dummy/log/test.log
|
330
350
|
- spec/dummy/public/404.html
|
331
351
|
- spec/dummy/public/422.html
|
@@ -334,9 +354,12 @@ files:
|
|
334
354
|
- spec/dummy/Rakefile
|
335
355
|
- spec/dummy/README.rdoc
|
336
356
|
- spec/dummy/script/rails
|
357
|
+
- spec/helpers/spud/cms/application_helper_spec.rb
|
358
|
+
- spec/models/spud_menu_item_spec.rb
|
359
|
+
- spec/models/spud_page_liquid_tag_spec.rb
|
337
360
|
- spec/models/spud_page_partial_revision_spec.rb
|
361
|
+
- spec/models/spud_page_partial_spec.rb
|
338
362
|
- spec/models/spud_page_spec.rb
|
339
|
-
- spec/models/spud_template_spec.rb
|
340
363
|
- spec/spec_helper.rb
|
341
364
|
- spec/support/authlogic_helper.rb
|
342
365
|
homepage: http://www.github.com/davydotcom/spud_cms
|
@@ -353,7 +376,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
353
376
|
version: '0'
|
354
377
|
segments:
|
355
378
|
- 0
|
356
|
-
hash:
|
379
|
+
hash: 1190769394469605680
|
357
380
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
358
381
|
none: false
|
359
382
|
requirements:
|
@@ -362,7 +385,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
362
385
|
version: '0'
|
363
386
|
segments:
|
364
387
|
- 0
|
365
|
-
hash:
|
388
|
+
hash: 1190769394469605680
|
366
389
|
requirements: []
|
367
390
|
rubyforge_project:
|
368
391
|
rubygems_version: 1.8.24
|
@@ -370,7 +393,10 @@ signing_key:
|
|
370
393
|
specification_version: 3
|
371
394
|
summary: Modular CMS Engine
|
372
395
|
test_files:
|
396
|
+
- spec/controllers/pages_controller_spec.rb
|
373
397
|
- spec/controllers/spud/admin/cms_controller_spec.rb
|
398
|
+
- spec/controllers/spud/admin/menu_items_controller_spec.rb
|
399
|
+
- spec/controllers/spud/admin/menus_controller_spec.rb
|
374
400
|
- spec/controllers/spud/admin/pages_controller_spec.rb
|
375
401
|
- spec/controllers/spud/cms/sitemaps_controller_spec.rb
|
376
402
|
- spec/dummy/app/assets/javascripts/application.js
|
@@ -402,6 +428,8 @@ test_files:
|
|
402
428
|
- spec/dummy/db/migrate/20120610123556_add_scope_to_spud_admin_permissions.spud_core.rb
|
403
429
|
- spec/dummy/db/migrate/20120610123557_create_spud_user_settings.spud_core.rb
|
404
430
|
- spec/dummy/db/migrate/20120610123615_add_site_id_to_spud_permalinks.spud_permalinks.rb
|
431
|
+
- spec/dummy/db/schema.rb
|
432
|
+
- spec/dummy/log/development.log
|
405
433
|
- spec/dummy/log/test.log
|
406
434
|
- spec/dummy/public/404.html
|
407
435
|
- spec/dummy/public/422.html
|
@@ -410,8 +438,11 @@ test_files:
|
|
410
438
|
- spec/dummy/Rakefile
|
411
439
|
- spec/dummy/README.rdoc
|
412
440
|
- spec/dummy/script/rails
|
441
|
+
- spec/helpers/spud/cms/application_helper_spec.rb
|
442
|
+
- spec/models/spud_menu_item_spec.rb
|
443
|
+
- spec/models/spud_page_liquid_tag_spec.rb
|
413
444
|
- spec/models/spud_page_partial_revision_spec.rb
|
445
|
+
- spec/models/spud_page_partial_spec.rb
|
414
446
|
- spec/models/spud_page_spec.rb
|
415
|
-
- spec/models/spud_template_spec.rb
|
416
447
|
- spec/spec_helper.rb
|
417
448
|
- spec/support/authlogic_helper.rb
|