tb_cms 1.0.3 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. checksums.yaml +6 -14
  2. data/README.markdown +1 -1
  3. data/app/controllers/admin/menu_items_controller.rb +5 -5
  4. data/app/controllers/admin/menus_controller.rb +8 -2
  5. data/app/controllers/admin/pages_controller.rb +7 -21
  6. data/app/controllers/admin/snippets_controller.rb +7 -4
  7. data/app/controllers/cms/sitemaps_controller.rb +0 -2
  8. data/app/controllers/pages_controller.rb +1 -10
  9. data/app/helpers/cms/application_helper.rb +90 -98
  10. data/app/models/spud_menu.rb +2 -3
  11. data/app/models/spud_menu_item.rb +1 -4
  12. data/app/models/spud_page.rb +6 -8
  13. data/app/models/spud_page_partial.rb +6 -21
  14. data/app/models/spud_page_partial_revision.rb +1 -1
  15. data/app/models/spud_snippet.rb +3 -19
  16. data/app/views/admin/menu_items/_menu_item_row.html.erb +2 -2
  17. data/app/views/admin/menus/index.html.erb +6 -9
  18. data/app/views/admin/pages/_page_row.html.erb +16 -16
  19. data/app/views/admin/pages/edit.html.erb +1 -1
  20. data/app/views/admin/snippets/index.html.erb +1 -1
  21. data/app/views/pages/show.html.erb +27 -22
  22. data/config/routes.rb +1 -4
  23. data/db/migrate/20121119030136_change_liquid_tags_to_polymorphic.rb +4 -2
  24. data/db/migrate/20140110142037_drop_spud_page_liquid_tags.rb +31 -0
  25. data/lib/spud_cms/engine.rb +1 -9
  26. data/lib/spud_cms/page_route.rb +2 -4
  27. data/lib/spud_cms/version.rb +1 -1
  28. data/spec/controllers/admin/menu_items_controller_spec.rb +0 -2
  29. data/spec/controllers/cms/sitemaps_controller_spec.rb +11 -17
  30. data/spec/dummy/config/application.rb +1 -0
  31. data/spec/dummy/config/environments/test.rb +9 -2
  32. data/spec/dummy/config/initializers/secret_token.rb +1 -0
  33. data/spec/dummy/db/migrate/{20120307002859_create_spud_admin_permissions.spud_core.rb → 20140110051449_create_spud_admin_permissions.tb_core.rb} +1 -1
  34. data/spec/dummy/db/migrate/{20120307002860_create_spud_users.spud_core.rb → 20140110051450_create_spud_users.tb_core.rb} +1 -1
  35. data/spec/dummy/db/migrate/{20120610123555_add_time_zone_to_spud_user.spud_core.rb → 20140110051451_add_time_zone_to_spud_user.tb_core.rb} +1 -1
  36. data/spec/dummy/db/migrate/20140110051452_add_scope_to_spud_admin_permissions.tb_core.rb +7 -0
  37. data/spec/dummy/db/migrate/{20120610123557_create_spud_user_settings.spud_core.rb → 20140110051453_create_spud_user_settings.tb_core.rb} +1 -1
  38. data/spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb +11 -0
  39. data/spec/dummy/db/migrate/20140110051455_create_spud_permissions.tb_core.rb +11 -0
  40. data/spec/dummy/db/migrate/20140110051456_create_spud_role_permissions.tb_core.rb +12 -0
  41. data/spec/dummy/db/migrate/20140110051457_drop_spud_admin_permissions.tb_core.rb +16 -0
  42. data/spec/dummy/db/migrate/20140110051458_create_spud_liquid_tags.tb_core.rb +13 -0
  43. data/spec/dummy/db/migrate/20140110051459_create_spud_permalinks.tb_permalinks.rb +12 -0
  44. data/spec/dummy/db/migrate/20140110051460_add_site_id_to_spud_permalinks.tb_permalinks.rb +7 -0
  45. data/spec/dummy/db/migrate/20140110051461_modify_site_id_for_spud_permalinks.tb_permalinks.rb +12 -0
  46. data/spec/dummy/db/migrate/20140110051462_create_spud_pages.tb_cms.rb +20 -0
  47. data/spec/dummy/db/migrate/20140110051463_create_spud_menus.tb_cms.rb +11 -0
  48. data/spec/dummy/db/migrate/20140110051464_create_spud_menu_items.tb_cms.rb +18 -0
  49. data/spec/dummy/db/migrate/20140110051465_create_spud_templates.tb_cms.rb +12 -0
  50. data/spec/dummy/db/migrate/20140110051466_create_spud_page_partials.tb_cms.rb +14 -0
  51. data/spec/dummy/db/migrate/20140110051467_add_visibility_to_spud_pages.tb_cms.rb +7 -0
  52. data/spec/dummy/db/migrate/20140110051468_add_menu_name_to_spud_menu_items.tb_cms.rb +6 -0
  53. data/spec/dummy/db/migrate/20140110051469_add_use_custom_url_name_to_spud_pages.tb_cms.rb +6 -0
  54. data/spec/dummy/db/migrate/20140110051470_add_notes_to_spud_pages.tb_cms.rb +6 -0
  55. data/spec/dummy/db/migrate/20140110051471_add_menu_id_to_spud_menu_items.tb_cms.rb +8 -0
  56. data/spec/dummy/db/migrate/20140110051472_add_classes_to_spud_menu_items.tb_cms.rb +7 -0
  57. data/spec/dummy/db/migrate/20140110051473_add_site_id_to_spud_pages.tb_cms.rb +7 -0
  58. data/spec/dummy/db/migrate/20140110051474_add_site_id_to_spud_templates.tb_cms.rb +7 -0
  59. data/spec/dummy/db/migrate/20140110051475_add_site_id_to_spud_menus.tb_cms.rb +7 -0
  60. data/spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb +14 -0
  61. data/spec/dummy/db/migrate/20140110051477_add_symbol_name_to_spud_page_partials.tb_cms.rb +6 -0
  62. data/spec/dummy/db/migrate/20140110051478_modify_site_id_for_spud_pages.tb_cms.rb +16 -0
  63. data/spec/dummy/db/migrate/20140110051479_add_content_processed_to_spud_page_partials.tb_cms.rb +6 -0
  64. data/spec/dummy/db/migrate/20140110051480_add_layout_to_spud_pages.tb_cms.rb +9 -0
  65. data/spec/dummy/db/migrate/20140110051481_create_spud_page_liquid_tags.tb_cms.rb +12 -0
  66. data/spec/dummy/db/migrate/20140110051482_create_spud_snippets.tb_cms.rb +18 -0
  67. data/spec/dummy/db/migrate/20140110051483_change_liquid_tags_to_polymorphic.tb_cms.rb +20 -0
  68. data/spec/dummy/db/migrate/20140110051484_drop_spud_page_liquid_tags.tb_cms.rb +30 -0
  69. data/spec/dummy/db/schema.rb +96 -79
  70. data/spec/helpers/cms/application_helper_spec.rb +11 -9
  71. data/spec/models/spud_page_partial_spec.rb +3 -3
  72. data/spec/models/spud_page_spec.rb +3 -4
  73. metadata +115 -77
  74. data/app/models/spud_page_liquid_tag.rb +0 -4
  75. data/app/observers/page_sweeper.rb +0 -48
  76. data/app/observers/snippet_sweeper.rb +0 -41
  77. data/spec/dummy/db/migrate/20120307003559_create_spud_permalinks.spud_permalinks.rb +0 -12
  78. data/spec/dummy/db/migrate/20120610123556_add_scope_to_spud_admin_permissions.spud_core.rb +0 -7
  79. data/spec/dummy/db/migrate/20120610123615_add_site_id_to_spud_permalinks.spud_permalinks.rb +0 -7
  80. data/spec/dummy/log/test.log +0 -11310
  81. data/spec/models/spud_page_liquid_tag_spec.rb +0 -5
@@ -0,0 +1,20 @@
1
+ # This migration comes from tb_cms (originally 20121119030136)
2
+ class ChangeLiquidTagsToPolymorphic < ActiveRecord::Migration
3
+ def up
4
+ rename_column :spud_page_liquid_tags, :spud_page_partial_id, :attachment_id
5
+ add_column :spud_page_liquid_tags, :attachment_type, :string
6
+
7
+ add_index :spud_page_liquid_tags, [:attachment_type,:attachment_id]
8
+
9
+ if defined?(SpudPageLiquidTag)
10
+ SpudPageLiquidTag.all.each do |f|
11
+ f.update_attributes(:attachment_type => "SpudPagePartial")
12
+ end
13
+ end
14
+ end
15
+
16
+ def down
17
+ rename_column :spud_page_liquid_tags, :attachment_id, :spud_page_partial_id
18
+ remove_column :spud_page_liquid_tags, :attachment_type
19
+ end
20
+ end
@@ -0,0 +1,30 @@
1
+ # This migration comes from tb_cms (originally 20140110041105)
2
+ class DropSpudPageLiquidTags < ActiveRecord::Migration
3
+
4
+ class SpudPageLiquidTag < ActiveRecord::Base
5
+ end
6
+
7
+ def up
8
+ SpudPageLiquidTag.all.each do |tag|
9
+ SpudLiquidTag.create({
10
+ :attachment_id => tag.attachment_id,
11
+ :attachment_type => tag.attachment_type,
12
+ :tag_name => tag.tag_name,
13
+ :value => tag.value
14
+ })
15
+ end
16
+ drop_table :spud_page_liquid_tags
17
+ end
18
+
19
+ def down
20
+ create_table :spud_page_liquid_tags do |t|
21
+ t.integer :attachment_id
22
+ t.string :attachment_type
23
+ t.string :tag_name
24
+ t.string :value
25
+ t.timestamps
26
+ end
27
+ add_index :spud_page_liquid_tags, [:tag_name,:value]
28
+ add_index :spud_page_liquid_tags, [:attachment_type,:attachment_id]
29
+ end
30
+ end
@@ -9,163 +9,180 @@
9
9
  # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
10
  # you'll amass, the slower it'll run and the greater likelihood for issues).
11
11
  #
12
- # It's strongly recommended to check this file into your version control system.
12
+ # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20121119030136) do
14
+ ActiveRecord::Schema.define(version: 20140110051484) do
15
15
 
16
- create_table "admin_permissions", :force => true do |t|
17
- t.integer "user_id"
18
- t.string "name"
19
- t.boolean "access"
20
- t.datetime "created_at", :null => false
21
- t.datetime "updated_at", :null => false
22
- t.string "scope"
16
+ create_table "spud_liquid_tags", force: true do |t|
17
+ t.integer "attachment_id"
18
+ t.string "attachment_type"
19
+ t.string "tag_name"
20
+ t.string "value"
21
+ t.datetime "created_at"
22
+ t.datetime "updated_at"
23
23
  end
24
24
 
25
- create_table "spud_menu_items", :force => true do |t|
25
+ add_index "spud_liquid_tags", ["tag_name", "value"], name: "index_spud_liquid_tags_on_tag_name_and_value", using: :btree
26
+
27
+ create_table "spud_menu_items", force: true do |t|
26
28
  t.string "parent_type"
27
29
  t.integer "parent_id"
28
30
  t.integer "item_type"
29
31
  t.integer "spud_page_id"
30
- t.integer "menu_order", :default => 0
32
+ t.integer "menu_order", default: 0
31
33
  t.string "url"
32
- t.datetime "created_at", :null => false
33
- t.datetime "updated_at", :null => false
34
+ t.datetime "created_at"
35
+ t.datetime "updated_at"
34
36
  t.string "name"
35
37
  t.integer "spud_menu_id"
36
38
  t.string "classes"
37
39
  end
38
40
 
39
- add_index "spud_menu_items", ["menu_order"], :name => "index_spud_menu_items_on_menu_order"
40
- add_index "spud_menu_items", ["parent_type", "parent_id"], :name => "index_spud_menu_items_on_parent_type_and_parent_id"
41
- add_index "spud_menu_items", ["spud_menu_id"], :name => "index_spud_menu_items_on_spud_menu_id"
41
+ add_index "spud_menu_items", ["menu_order"], name: "index_spud_menu_items_on_menu_order", using: :btree
42
+ add_index "spud_menu_items", ["parent_type", "parent_id"], name: "index_spud_menu_items_on_parent_type_and_parent_id", using: :btree
43
+ add_index "spud_menu_items", ["spud_menu_id"], name: "index_spud_menu_items_on_spud_menu_id", using: :btree
42
44
 
43
- create_table "spud_menus", :force => true do |t|
45
+ create_table "spud_menus", force: true do |t|
44
46
  t.string "name"
45
47
  t.text "description"
46
- t.datetime "created_at", :null => false
47
- t.datetime "updated_at", :null => false
48
- t.integer "site_id", :default => 0, :null => false
49
- end
50
-
51
- add_index "spud_menus", ["site_id"], :name => "index_spud_menus_on_site_id"
52
-
53
- create_table "spud_page_liquid_tags", :force => true do |t|
54
- t.integer "attachment_id"
55
- t.string "tag_name"
56
- t.string "value"
57
- t.datetime "created_at", :null => false
58
- t.datetime "updated_at", :null => false
59
- t.string "attachment_type"
48
+ t.datetime "created_at"
49
+ t.datetime "updated_at"
50
+ t.integer "site_id", default: 0, null: false
60
51
  end
61
52
 
62
- add_index "spud_page_liquid_tags", ["attachment_type", "attachment_id"], :name => "index_spud_page_liquid_tags_on_attachment_type_and_attachment_id"
63
- add_index "spud_page_liquid_tags", ["tag_name", "value"], :name => "index_spud_page_liquid_tags_on_tag_name_and_value"
53
+ add_index "spud_menus", ["site_id"], name: "index_spud_menus_on_site_id", using: :btree
64
54
 
65
- create_table "spud_page_partial_revisions", :force => true do |t|
55
+ create_table "spud_page_partial_revisions", force: true do |t|
66
56
  t.string "name"
67
57
  t.text "content"
68
58
  t.string "format"
69
59
  t.integer "spud_page_id"
70
- t.datetime "created_at", :null => false
71
- t.datetime "updated_at", :null => false
60
+ t.datetime "created_at"
61
+ t.datetime "updated_at"
72
62
  end
73
63
 
74
- add_index "spud_page_partial_revisions", ["spud_page_id", "name"], :name => "revision_idx"
64
+ add_index "spud_page_partial_revisions", ["spud_page_id", "name"], name: "revision_idx", using: :btree
75
65
 
76
- create_table "spud_page_partials", :force => true do |t|
66
+ create_table "spud_page_partials", force: true do |t|
77
67
  t.integer "spud_page_id"
78
68
  t.string "name"
79
69
  t.text "content"
80
70
  t.string "format"
81
- t.datetime "created_at", :null => false
82
- t.datetime "updated_at", :null => false
71
+ t.datetime "created_at"
72
+ t.datetime "updated_at"
83
73
  t.string "symbol_name"
84
74
  t.text "content_processed"
85
75
  end
86
76
 
87
- add_index "spud_page_partials", ["spud_page_id"], :name => "index_spud_page_partials_on_spud_page_id"
77
+ add_index "spud_page_partials", ["spud_page_id"], name: "index_spud_page_partials_on_spud_page_id", using: :btree
88
78
 
89
- create_table "spud_pages", :force => true do |t|
79
+ create_table "spud_pages", force: true do |t|
90
80
  t.string "name"
91
81
  t.string "url_name"
92
82
  t.datetime "publish_at"
93
83
  t.integer "created_by"
94
84
  t.integer "updated_by"
95
- t.string "format", :default => "html"
85
+ t.string "format", default: "html"
96
86
  t.integer "spud_page_id"
97
87
  t.text "meta_description"
98
88
  t.string "meta_keywords"
99
89
  t.integer "page_order"
100
- t.datetime "created_at", :null => false
101
- t.datetime "updated_at", :null => false
102
- t.integer "visibility", :default => 0
103
- t.boolean "published", :default => true
104
- t.boolean "use_custom_url_name", :default => false
90
+ t.datetime "created_at"
91
+ t.datetime "updated_at"
92
+ t.integer "visibility", default: 0
93
+ t.boolean "published", default: true
94
+ t.boolean "use_custom_url_name", default: false
105
95
  t.text "notes"
106
- t.integer "site_id", :default => 0, :null => false
96
+ t.integer "site_id", default: 0, null: false
107
97
  t.string "layout"
108
98
  end
109
99
 
110
- add_index "spud_pages", ["site_id"], :name => "index_spud_pages_on_site_id"
100
+ add_index "spud_pages", ["site_id"], name: "index_spud_pages_on_site_id", using: :btree
111
101
 
112
- create_table "spud_permalinks", :force => true do |t|
102
+ create_table "spud_permalinks", force: true do |t|
113
103
  t.string "url_name"
114
104
  t.string "attachment_type"
115
105
  t.integer "attachment_id"
116
- t.datetime "created_at", :null => false
117
- t.datetime "updated_at", :null => false
118
- t.integer "site_id"
106
+ t.datetime "created_at"
107
+ t.datetime "updated_at"
108
+ t.integer "site_id", default: 0, null: false
109
+ end
110
+
111
+ add_index "spud_permalinks", ["attachment_type", "attachment_id"], name: "idx_permalink_attachment", using: :btree
112
+ add_index "spud_permalinks", ["site_id"], name: "idx_permalinks_site_id", using: :btree
113
+
114
+ create_table "spud_permissions", force: true do |t|
115
+ t.string "name", null: false
116
+ t.string "tag", null: false
117
+ t.datetime "created_at"
118
+ t.datetime "updated_at"
119
119
  end
120
120
 
121
- add_index "spud_permalinks", ["attachment_type", "attachment_id"], :name => "index_spud_permalinks_on_attachment_type_and_attachment_id"
122
- add_index "spud_permalinks", ["site_id"], :name => "index_spud_permalinks_on_site_id"
121
+ add_index "spud_permissions", ["tag"], name: "index_spud_permissions_on_tag", unique: true, using: :btree
122
+
123
+ create_table "spud_role_permissions", force: true do |t|
124
+ t.integer "spud_role_id", null: false
125
+ t.string "spud_permission_tag", null: false
126
+ t.datetime "created_at"
127
+ t.datetime "updated_at"
128
+ end
129
+
130
+ add_index "spud_role_permissions", ["spud_permission_tag"], name: "index_spud_role_permissions_on_spud_permission_tag", using: :btree
131
+ add_index "spud_role_permissions", ["spud_role_id"], name: "index_spud_role_permissions_on_spud_role_id", using: :btree
132
+
133
+ create_table "spud_roles", force: true do |t|
134
+ t.string "name"
135
+ t.datetime "created_at"
136
+ t.datetime "updated_at"
137
+ end
123
138
 
124
- create_table "spud_snippets", :force => true do |t|
139
+ create_table "spud_snippets", force: true do |t|
125
140
  t.string "name"
126
141
  t.text "content"
127
142
  t.string "format"
128
143
  t.text "content_processed"
129
- t.integer "site_id", :default => 0
130
- t.datetime "created_at", :null => false
131
- t.datetime "updated_at", :null => false
144
+ t.integer "site_id", default: 0
145
+ t.datetime "created_at"
146
+ t.datetime "updated_at"
132
147
  end
133
148
 
134
- add_index "spud_snippets", ["name"], :name => "index_spud_snippets_on_name"
135
- add_index "spud_snippets", ["site_id"], :name => "index_spud_snippets_on_site_id"
149
+ add_index "spud_snippets", ["name"], name: "index_spud_snippets_on_name", using: :btree
150
+ add_index "spud_snippets", ["site_id"], name: "index_spud_snippets_on_site_id", using: :btree
136
151
 
137
- create_table "spud_user_settings", :force => true do |t|
152
+ create_table "spud_user_settings", force: true do |t|
138
153
  t.integer "spud_user_id"
139
154
  t.string "key"
140
155
  t.string "value"
141
- t.datetime "created_at", :null => false
142
- t.datetime "updated_at", :null => false
156
+ t.datetime "created_at"
157
+ t.datetime "updated_at"
143
158
  end
144
159
 
145
- create_table "spud_users", :force => true do |t|
160
+ create_table "spud_users", force: true do |t|
146
161
  t.string "first_name"
147
162
  t.string "last_name"
148
163
  t.boolean "super_admin"
149
- t.string "login", :null => false
150
- t.string "email", :null => false
151
- t.string "crypted_password", :null => false
152
- t.string "password_salt", :null => false
153
- t.string "persistence_token", :null => false
154
- t.string "single_access_token", :null => false
155
- t.string "perishable_token", :null => false
156
- t.integer "login_count", :default => 0, :null => false
157
- t.integer "failed_login_count", :default => 0, :null => false
164
+ t.string "login", null: false
165
+ t.string "email", null: false
166
+ t.string "crypted_password", null: false
167
+ t.string "password_salt", null: false
168
+ t.string "persistence_token", null: false
169
+ t.string "single_access_token", null: false
170
+ t.string "perishable_token", null: false
171
+ t.integer "login_count", default: 0, null: false
172
+ t.integer "failed_login_count", default: 0, null: false
158
173
  t.datetime "last_request_at"
159
174
  t.datetime "current_login_at"
160
175
  t.datetime "last_login_at"
161
176
  t.string "current_login_ip"
162
177
  t.string "last_login_ip"
163
- t.datetime "created_at", :null => false
164
- t.datetime "updated_at", :null => false
178
+ t.datetime "created_at"
179
+ t.datetime "updated_at"
165
180
  t.string "time_zone"
181
+ t.integer "spud_role_id"
166
182
  end
167
183
 
168
- add_index "spud_users", ["email"], :name => "index_spud_users_on_email"
169
- add_index "spud_users", ["login"], :name => "index_spud_users_on_login"
184
+ add_index "spud_users", ["email"], name: "index_spud_users_on_email", using: :btree
185
+ add_index "spud_users", ["login"], name: "index_spud_users_on_login", using: :btree
186
+ add_index "spud_users", ["spud_role_id"], name: "index_spud_users_on_spud_role_id", using: :btree
170
187
 
171
188
  end
@@ -2,9 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  describe Cms::ApplicationHelper do
4
4
  before(:each) do
5
- ActiveRecord::Base.observers.disable(:page_sweeper)
6
-
7
-
5
+ helper.output_buffer = ''
8
6
  Spud::Core.configure do |config|
9
7
  config.site_name = "Test Site"
10
8
  config.multisite_mode_enabled = false
@@ -14,17 +12,19 @@ describe Cms::ApplicationHelper do
14
12
 
15
13
  describe :sp_list_menu do
16
14
  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 => "/")}
15
+ menu = FactoryGirl.create(:spud_menu, :name => "Main")
16
+ 2.times { |x| FactoryGirl.create(:spud_menu_item, :parent_id => menu.id, :spud_menu_id => menu.id, :url => "/") }
19
17
 
20
- helper.sp_list_menu(:name => "Main",:active_class => "active").should match /\<li/
18
+ helper.sp_list_menu(:name => "Main", :active_class => "active")
19
+ helper.output_buffer.should match /\<li/
21
20
  end
22
21
 
23
22
  it "should assign id to ul block" do
24
23
  menu = FactoryGirl.create(:spud_menu)
25
24
  2.times {|x| s = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")}
26
25
 
27
- helper.sp_list_menu(:name => menu.name,:id => "nav").should match /id=\'nav\'/
26
+ helper.sp_list_menu(:name => menu.name,:id => "nav")
27
+ helper.output_buffer.should match /id=\'nav\'/
28
28
  end
29
29
 
30
30
  it "should render nested menu items" do
@@ -33,7 +33,8 @@ describe Cms::ApplicationHelper do
33
33
  s2 = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
34
34
  s3 = FactoryGirl.create(:spud_menu_item,:parent_type => "SpudMenuItem",:parent_id => s.id,:spud_menu_id => menu.id,:url => "/",:name => "SubItem")
35
35
 
36
- helper.sp_list_menu(:name => "Main2").should match /SubItem/
36
+ helper.sp_list_menu(:name => "Main2")
37
+ helper.output_buffer.should match /SubItem/
37
38
  end
38
39
 
39
40
  it "should respect max depth" do
@@ -42,7 +43,8 @@ describe Cms::ApplicationHelper do
42
43
  s2 = FactoryGirl.create(:spud_menu_item,:parent_id => menu.id,:spud_menu_id => menu.id,:url => "/")
43
44
  s3 = FactoryGirl.create(:spud_menu_item,:parent_type => "SpudMenuItem",:parent_id => s.id,:spud_menu_id => menu.id,:url => "/",:name => "SubItem")
44
45
 
45
- helper.sp_list_menu(:name => "Main4",:max_depth => 1).should_not match /SubItem/
46
+ helper.sp_list_menu(:name => "Main4",:max_depth => 1)
47
+ helper.output_buffer.should_not match /SubItem/
46
48
  end
47
49
 
48
50
  it "should not load menu from different site_id" do
@@ -16,12 +16,12 @@ describe SpudPagePartial do
16
16
 
17
17
  describe "save hooks" do
18
18
  it "should save the symbol name" do
19
- p = Factory.create(:spud_page_partial,:name => "Test Page")
19
+ p = FactoryGirl.create(:spud_page_partial,:name => "Test Page")
20
20
  p.attributes["symbol_name"].should == "test_page"
21
21
  end
22
22
 
23
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)
24
+ p = FactoryGirl.create(:spud_page_partial,:name => "Test Page",:content =>"Home Sweet Home",:spud_page_id => 1)
25
25
  SpudPagePartialRevision.where(:spud_page_id => 1,:name => "Test Page").count.should == 1
26
26
  end
27
27
 
@@ -29,7 +29,7 @@ describe SpudPagePartial do
29
29
  Spud::Cms.configure do |config|
30
30
  config.max_revisions = 2
31
31
  end
32
- p = Factory.create(:spud_page_partial,:name => "Test Page",:content =>"Home Sweet Home",:spud_page_id => 1)
32
+ p = FactoryGirl.create(:spud_page_partial,:name => "Test Page",:content =>"Home Sweet Home",:spud_page_id => 1)
33
33
  p.content = "Nah"
34
34
  p.save
35
35
 
@@ -16,13 +16,13 @@ describe SpudPage do
16
16
  end
17
17
 
18
18
  it "should require a unique url_name" do
19
- Factory(:spud_page, :url_name => "test", :use_custom_url_name => true)
19
+ FactoryGirl.create(:spud_page, :url_name => "test", :use_custom_url_name => true)
20
20
  t = FactoryGirl.build(:spud_page, :url_name => "test", :use_custom_url_name => true)
21
21
  t.should_not be_valid
22
22
  end
23
23
 
24
24
  it "should generate a url_name if taken" do
25
- Factory(:spud_page, :name => "test")
25
+ FactoryGirl.create(:spud_page, :name => "test")
26
26
  t = FactoryGirl.build(:spud_page, :name => "test")
27
27
  lambda {
28
28
  t.valid?
@@ -30,7 +30,7 @@ describe SpudPage do
30
30
  end
31
31
 
32
32
  it "should dependantly destroy page_partials" do
33
- t = Factory(:spud_page, :spud_page_partials => [SpudPagePartial.new(:name => "body")])
33
+ t = FactoryGirl.create(:spud_page, :spud_page_partials => [SpudPagePartial.new(:name => "body")])
34
34
  lambda {
35
35
  t.destroy
36
36
  }.should change(SpudPagePartial, :count).from(1).to(0)
@@ -83,7 +83,6 @@ describe SpudPage do
83
83
 
84
84
  describe "generate_url_name" do
85
85
  it "should add the parent url name if a page has a parent" do
86
- # Factory(:spud_page, :name => "test")
87
86
  parent_page = FactoryGirl.build(:spud_page,:name => "about")
88
87
  parent_page.save
89
88
  t = FactoryGirl.build(:spud_page, :name => "test")
metadata CHANGED
@@ -1,99 +1,85 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tb_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
- - Greg Woods
7
+ - Westlake Design
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-10-29 00:00:00.000000000 Z
11
+ date: 2014-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.1
19
+ version: '4.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 3.2.1
26
+ version: '4.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: tb_core
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.1.5
33
+ version: '1.2'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 1.1.5
40
+ version: '1.2'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: tb_permalinks
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '1.0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: liquid
56
+ name: tb_liquid
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ! '>='
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: codemirror-rails
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - ! '>='
74
- - !ruby/object:Gem::Version
75
- version: '0'
61
+ version: '1.0'
76
62
  type: :runtime
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ! '>='
66
+ - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: '0'
68
+ version: '1.0'
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: mysql2
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - '='
73
+ - - ">="
88
74
  - !ruby/object:Gem::Version
89
- version: 0.3.11
75
+ version: '0'
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - '='
80
+ - - ">="
95
81
  - !ruby/object:Gem::Version
96
- version: 0.3.11
82
+ version: '0'
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: rspec
99
85
  requirement: !ruby/object:Gem::Requirement
@@ -126,30 +112,30 @@ dependencies:
126
112
  name: shoulda
127
113
  requirement: !ruby/object:Gem::Requirement
128
114
  requirements:
129
- - - ~>
115
+ - - "~>"
130
116
  - !ruby/object:Gem::Version
131
117
  version: 3.0.1
132
118
  type: :development
133
119
  prerelease: false
134
120
  version_requirements: !ruby/object:Gem::Requirement
135
121
  requirements:
136
- - - ~>
122
+ - - "~>"
137
123
  - !ruby/object:Gem::Version
138
124
  version: 3.0.1
139
125
  - !ruby/object:Gem::Dependency
140
126
  name: factory_girl
141
127
  requirement: !ruby/object:Gem::Requirement
142
128
  requirements:
143
- - - '='
129
+ - - "~>"
144
130
  - !ruby/object:Gem::Version
145
- version: 2.5.0
131
+ version: '3.0'
146
132
  type: :development
147
133
  prerelease: false
148
134
  version_requirements: !ruby/object:Gem::Requirement
149
135
  requirements:
150
- - - '='
136
+ - - "~>"
151
137
  - !ruby/object:Gem::Version
152
- version: 2.5.0
138
+ version: '3.0'
153
139
  - !ruby/object:Gem::Dependency
154
140
  name: mocha
155
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,26 +156,26 @@ dependencies:
170
156
  requirements:
171
157
  - - '='
172
158
  - !ruby/object:Gem::Version
173
- version: 0.7.1
159
+ version: 1.0.0.RC1
174
160
  type: :development
175
161
  prerelease: false
176
162
  version_requirements: !ruby/object:Gem::Requirement
177
163
  requirements:
178
164
  - - '='
179
165
  - !ruby/object:Gem::Version
180
- version: 0.7.1
166
+ version: 1.0.0.RC1
181
167
  - !ruby/object:Gem::Dependency
182
168
  name: simplecov
183
169
  requirement: !ruby/object:Gem::Requirement
184
170
  requirements:
185
- - - ~>
171
+ - - "~>"
186
172
  - !ruby/object:Gem::Version
187
173
  version: 0.6.4
188
174
  type: :development
189
175
  prerelease: false
190
176
  version_requirements: !ruby/object:Gem::Requirement
191
177
  requirements:
192
- - - ~>
178
+ - - "~>"
193
179
  - !ruby/object:Gem::Version
194
180
  version: 0.6.4
195
181
  description: Content management engine for Twice Baked
@@ -199,6 +185,9 @@ executables: []
199
185
  extensions: []
200
186
  extra_rdoc_files: []
201
187
  files:
188
+ - MIT-LICENSE
189
+ - README.markdown
190
+ - Rakefile
202
191
  - app/assets/images/spud/admin/menus_thumb.png
203
192
  - app/assets/images/spud/admin/menus_thumb@2x.png
204
193
  - app/assets/images/spud/admin/pages_thumb.png
@@ -218,12 +207,9 @@ files:
218
207
  - app/models/spud_menu.rb
219
208
  - app/models/spud_menu_item.rb
220
209
  - app/models/spud_page.rb
221
- - app/models/spud_page_liquid_tag.rb
222
210
  - app/models/spud_page_partial.rb
223
211
  - app/models/spud_page_partial_revision.rb
224
212
  - app/models/spud_snippet.rb
225
- - app/observers/page_sweeper.rb
226
- - app/observers/snippet_sweeper.rb
227
213
  - app/views/admin/menu_items/_form.html.erb
228
214
  - app/views/admin/menu_items/_menu_item_row.html.erb
229
215
  - app/views/admin/menu_items/edit.html.erb
@@ -275,6 +261,7 @@ files:
275
261
  - db/migrate/20121112212113_create_spud_page_liquid_tags.rb
276
262
  - db/migrate/20121119025608_create_spud_snippets.rb
277
263
  - db/migrate/20121119030136_change_liquid_tags_to_polymorphic.rb
264
+ - db/migrate/20140110142037_drop_spud_page_liquid_tags.rb
278
265
  - lib/generators/spud/cms/template_generator.rb
279
266
  - lib/generators/spud/cms/templates/template.html.erb
280
267
  - lib/spud_cms/configuration.rb
@@ -286,21 +273,21 @@ files:
286
273
  - lib/spud_cms/version.rb
287
274
  - lib/tasks/spud_cms_tasks.rake
288
275
  - lib/tb_cms.rb
289
- - MIT-LICENSE
290
- - Rakefile
291
- - README.markdown
292
276
  - spec/controllers/admin/menu_items_controller_spec.rb
293
277
  - spec/controllers/admin/menus_controller_spec.rb
294
278
  - spec/controllers/admin/pages_controller_spec.rb
295
279
  - spec/controllers/admin/snippets_controller_spec.rb
296
280
  - spec/controllers/cms/sitemaps_controller_spec.rb
297
281
  - spec/controllers/pages_controller_spec.rb
282
+ - spec/dummy/README.rdoc
283
+ - spec/dummy/Rakefile
298
284
  - spec/dummy/app/assets/javascripts/application.js
299
285
  - spec/dummy/app/assets/stylesheets/application.css
300
286
  - spec/dummy/app/controllers/application_controller.rb
301
287
  - spec/dummy/app/helpers/application_helper.rb
302
288
  - spec/dummy/app/views/layouts/application.html.erb
303
289
  - spec/dummy/app/views/layouts/content_left.html.erb
290
+ - spec/dummy/config.ru
304
291
  - spec/dummy/config/application.rb
305
292
  - spec/dummy/config/boot.rb
306
293
  - spec/dummy/config/database.yml
@@ -316,33 +303,57 @@ files:
316
303
  - spec/dummy/config/initializers/wrap_parameters.rb
317
304
  - spec/dummy/config/locales/en.yml
318
305
  - spec/dummy/config/routes.rb
319
- - spec/dummy/config.ru
320
- - spec/dummy/db/migrate/20120307002859_create_spud_admin_permissions.spud_core.rb
321
- - spec/dummy/db/migrate/20120307002860_create_spud_users.spud_core.rb
322
- - spec/dummy/db/migrate/20120307003559_create_spud_permalinks.spud_permalinks.rb
323
- - spec/dummy/db/migrate/20120610123555_add_time_zone_to_spud_user.spud_core.rb
324
- - spec/dummy/db/migrate/20120610123556_add_scope_to_spud_admin_permissions.spud_core.rb
325
- - spec/dummy/db/migrate/20120610123557_create_spud_user_settings.spud_core.rb
326
- - spec/dummy/db/migrate/20120610123615_add_site_id_to_spud_permalinks.spud_permalinks.rb
306
+ - spec/dummy/db/migrate/20140110051449_create_spud_admin_permissions.tb_core.rb
307
+ - spec/dummy/db/migrate/20140110051450_create_spud_users.tb_core.rb
308
+ - spec/dummy/db/migrate/20140110051451_add_time_zone_to_spud_user.tb_core.rb
309
+ - spec/dummy/db/migrate/20140110051452_add_scope_to_spud_admin_permissions.tb_core.rb
310
+ - spec/dummy/db/migrate/20140110051453_create_spud_user_settings.tb_core.rb
311
+ - spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb
312
+ - spec/dummy/db/migrate/20140110051455_create_spud_permissions.tb_core.rb
313
+ - spec/dummy/db/migrate/20140110051456_create_spud_role_permissions.tb_core.rb
314
+ - spec/dummy/db/migrate/20140110051457_drop_spud_admin_permissions.tb_core.rb
315
+ - spec/dummy/db/migrate/20140110051458_create_spud_liquid_tags.tb_core.rb
316
+ - spec/dummy/db/migrate/20140110051459_create_spud_permalinks.tb_permalinks.rb
317
+ - spec/dummy/db/migrate/20140110051460_add_site_id_to_spud_permalinks.tb_permalinks.rb
318
+ - spec/dummy/db/migrate/20140110051461_modify_site_id_for_spud_permalinks.tb_permalinks.rb
319
+ - spec/dummy/db/migrate/20140110051462_create_spud_pages.tb_cms.rb
320
+ - spec/dummy/db/migrate/20140110051463_create_spud_menus.tb_cms.rb
321
+ - spec/dummy/db/migrate/20140110051464_create_spud_menu_items.tb_cms.rb
322
+ - spec/dummy/db/migrate/20140110051465_create_spud_templates.tb_cms.rb
323
+ - spec/dummy/db/migrate/20140110051466_create_spud_page_partials.tb_cms.rb
324
+ - spec/dummy/db/migrate/20140110051467_add_visibility_to_spud_pages.tb_cms.rb
325
+ - spec/dummy/db/migrate/20140110051468_add_menu_name_to_spud_menu_items.tb_cms.rb
326
+ - spec/dummy/db/migrate/20140110051469_add_use_custom_url_name_to_spud_pages.tb_cms.rb
327
+ - spec/dummy/db/migrate/20140110051470_add_notes_to_spud_pages.tb_cms.rb
328
+ - spec/dummy/db/migrate/20140110051471_add_menu_id_to_spud_menu_items.tb_cms.rb
329
+ - spec/dummy/db/migrate/20140110051472_add_classes_to_spud_menu_items.tb_cms.rb
330
+ - spec/dummy/db/migrate/20140110051473_add_site_id_to_spud_pages.tb_cms.rb
331
+ - spec/dummy/db/migrate/20140110051474_add_site_id_to_spud_templates.tb_cms.rb
332
+ - spec/dummy/db/migrate/20140110051475_add_site_id_to_spud_menus.tb_cms.rb
333
+ - spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb
334
+ - spec/dummy/db/migrate/20140110051477_add_symbol_name_to_spud_page_partials.tb_cms.rb
335
+ - spec/dummy/db/migrate/20140110051478_modify_site_id_for_spud_pages.tb_cms.rb
336
+ - spec/dummy/db/migrate/20140110051479_add_content_processed_to_spud_page_partials.tb_cms.rb
337
+ - spec/dummy/db/migrate/20140110051480_add_layout_to_spud_pages.tb_cms.rb
338
+ - spec/dummy/db/migrate/20140110051481_create_spud_page_liquid_tags.tb_cms.rb
339
+ - spec/dummy/db/migrate/20140110051482_create_spud_snippets.tb_cms.rb
340
+ - spec/dummy/db/migrate/20140110051483_change_liquid_tags_to_polymorphic.tb_cms.rb
341
+ - spec/dummy/db/migrate/20140110051484_drop_spud_page_liquid_tags.tb_cms.rb
327
342
  - spec/dummy/db/schema.rb
328
- - spec/dummy/log/test.log
329
343
  - spec/dummy/public/404.html
330
344
  - spec/dummy/public/422.html
331
345
  - spec/dummy/public/500.html
332
346
  - spec/dummy/public/favicon.ico
333
- - spec/dummy/Rakefile
334
- - spec/dummy/README.rdoc
335
347
  - spec/dummy/script/rails
336
348
  - spec/helpers/cms/application_helper_spec.rb
337
349
  - spec/models/spud_menu_item_spec.rb
338
- - spec/models/spud_page_liquid_tag_spec.rb
339
350
  - spec/models/spud_page_partial_revision_spec.rb
340
351
  - spec/models/spud_page_partial_spec.rb
341
352
  - spec/models/spud_page_spec.rb
342
353
  - spec/models/spud_snippet_spec.rb
343
354
  - spec/spec_helper.rb
344
355
  - spec/support/authlogic_helper.rb
345
- homepage: http://bitbuclet.org/westlakedesign/tb_cms
356
+ homepage: http://bitbucket.org/westlakedesign/tb_cms
346
357
  licenses: []
347
358
  metadata: {}
348
359
  post_install_message:
@@ -351,17 +362,17 @@ require_paths:
351
362
  - lib
352
363
  required_ruby_version: !ruby/object:Gem::Requirement
353
364
  requirements:
354
- - - ! '>='
365
+ - - ">="
355
366
  - !ruby/object:Gem::Version
356
367
  version: '0'
357
368
  required_rubygems_version: !ruby/object:Gem::Requirement
358
369
  requirements:
359
- - - ! '>='
370
+ - - ">="
360
371
  - !ruby/object:Gem::Version
361
372
  version: '0'
362
373
  requirements: []
363
374
  rubyforge_project:
364
- rubygems_version: 2.0.7
375
+ rubygems_version: 2.2.1
365
376
  signing_key:
366
377
  specification_version: 4
367
378
  summary: Twice Baked CMS
@@ -394,15 +405,43 @@ test_files:
394
405
  - spec/dummy/config/locales/en.yml
395
406
  - spec/dummy/config/routes.rb
396
407
  - spec/dummy/config.ru
397
- - spec/dummy/db/migrate/20120307002859_create_spud_admin_permissions.spud_core.rb
398
- - spec/dummy/db/migrate/20120307002860_create_spud_users.spud_core.rb
399
- - spec/dummy/db/migrate/20120307003559_create_spud_permalinks.spud_permalinks.rb
400
- - spec/dummy/db/migrate/20120610123555_add_time_zone_to_spud_user.spud_core.rb
401
- - spec/dummy/db/migrate/20120610123556_add_scope_to_spud_admin_permissions.spud_core.rb
402
- - spec/dummy/db/migrate/20120610123557_create_spud_user_settings.spud_core.rb
403
- - spec/dummy/db/migrate/20120610123615_add_site_id_to_spud_permalinks.spud_permalinks.rb
408
+ - spec/dummy/db/migrate/20140110051449_create_spud_admin_permissions.tb_core.rb
409
+ - spec/dummy/db/migrate/20140110051450_create_spud_users.tb_core.rb
410
+ - spec/dummy/db/migrate/20140110051451_add_time_zone_to_spud_user.tb_core.rb
411
+ - spec/dummy/db/migrate/20140110051452_add_scope_to_spud_admin_permissions.tb_core.rb
412
+ - spec/dummy/db/migrate/20140110051453_create_spud_user_settings.tb_core.rb
413
+ - spec/dummy/db/migrate/20140110051454_create_spud_roles.tb_core.rb
414
+ - spec/dummy/db/migrate/20140110051455_create_spud_permissions.tb_core.rb
415
+ - spec/dummy/db/migrate/20140110051456_create_spud_role_permissions.tb_core.rb
416
+ - spec/dummy/db/migrate/20140110051457_drop_spud_admin_permissions.tb_core.rb
417
+ - spec/dummy/db/migrate/20140110051458_create_spud_liquid_tags.tb_core.rb
418
+ - spec/dummy/db/migrate/20140110051459_create_spud_permalinks.tb_permalinks.rb
419
+ - spec/dummy/db/migrate/20140110051460_add_site_id_to_spud_permalinks.tb_permalinks.rb
420
+ - spec/dummy/db/migrate/20140110051461_modify_site_id_for_spud_permalinks.tb_permalinks.rb
421
+ - spec/dummy/db/migrate/20140110051462_create_spud_pages.tb_cms.rb
422
+ - spec/dummy/db/migrate/20140110051463_create_spud_menus.tb_cms.rb
423
+ - spec/dummy/db/migrate/20140110051464_create_spud_menu_items.tb_cms.rb
424
+ - spec/dummy/db/migrate/20140110051465_create_spud_templates.tb_cms.rb
425
+ - spec/dummy/db/migrate/20140110051466_create_spud_page_partials.tb_cms.rb
426
+ - spec/dummy/db/migrate/20140110051467_add_visibility_to_spud_pages.tb_cms.rb
427
+ - spec/dummy/db/migrate/20140110051468_add_menu_name_to_spud_menu_items.tb_cms.rb
428
+ - spec/dummy/db/migrate/20140110051469_add_use_custom_url_name_to_spud_pages.tb_cms.rb
429
+ - spec/dummy/db/migrate/20140110051470_add_notes_to_spud_pages.tb_cms.rb
430
+ - spec/dummy/db/migrate/20140110051471_add_menu_id_to_spud_menu_items.tb_cms.rb
431
+ - spec/dummy/db/migrate/20140110051472_add_classes_to_spud_menu_items.tb_cms.rb
432
+ - spec/dummy/db/migrate/20140110051473_add_site_id_to_spud_pages.tb_cms.rb
433
+ - spec/dummy/db/migrate/20140110051474_add_site_id_to_spud_templates.tb_cms.rb
434
+ - spec/dummy/db/migrate/20140110051475_add_site_id_to_spud_menus.tb_cms.rb
435
+ - spec/dummy/db/migrate/20140110051476_create_spud_page_partial_revisions.tb_cms.rb
436
+ - spec/dummy/db/migrate/20140110051477_add_symbol_name_to_spud_page_partials.tb_cms.rb
437
+ - spec/dummy/db/migrate/20140110051478_modify_site_id_for_spud_pages.tb_cms.rb
438
+ - spec/dummy/db/migrate/20140110051479_add_content_processed_to_spud_page_partials.tb_cms.rb
439
+ - spec/dummy/db/migrate/20140110051480_add_layout_to_spud_pages.tb_cms.rb
440
+ - spec/dummy/db/migrate/20140110051481_create_spud_page_liquid_tags.tb_cms.rb
441
+ - spec/dummy/db/migrate/20140110051482_create_spud_snippets.tb_cms.rb
442
+ - spec/dummy/db/migrate/20140110051483_change_liquid_tags_to_polymorphic.tb_cms.rb
443
+ - spec/dummy/db/migrate/20140110051484_drop_spud_page_liquid_tags.tb_cms.rb
404
444
  - spec/dummy/db/schema.rb
405
- - spec/dummy/log/test.log
406
445
  - spec/dummy/public/404.html
407
446
  - spec/dummy/public/422.html
408
447
  - spec/dummy/public/500.html
@@ -412,7 +451,6 @@ test_files:
412
451
  - spec/dummy/script/rails
413
452
  - spec/helpers/cms/application_helper_spec.rb
414
453
  - spec/models/spud_menu_item_spec.rb
415
- - spec/models/spud_page_liquid_tag_spec.rb
416
454
  - spec/models/spud_page_partial_revision_spec.rb
417
455
  - spec/models/spud_page_partial_spec.rb
418
456
  - spec/models/spud_page_spec.rb