trusty-festivity-extension 2.5.4 → 2.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +17 -2
- data/Gemfile.lock +508 -16
- data/README.md +2 -0
- data/Rakefile +9 -109
- data/app/assets/images/skins/crawl/crawl-after-dark-bg.png +0 -0
- data/app/assets/images/skins/crawl/crawl-intro-bg.png +0 -0
- data/app/assets/images/skins/crawl/crawl-map.png +0 -0
- data/app/assets/images/skins/crawl/crawl-up-next-bg.png +0 -0
- data/app/assets/images/skins/traf/traf-background.png +0 -0
- data/config/database.yml +7 -0
- data/coverage/assets/0.10.0/application.css +799 -0
- data/coverage/assets/0.10.0/application.js +1707 -0
- data/coverage/assets/0.10.0/colorbox/border.png +0 -0
- data/coverage/assets/0.10.0/colorbox/controls.png +0 -0
- data/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
- data/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
- data/coverage/assets/0.10.0/favicon_green.png +0 -0
- data/coverage/assets/0.10.0/favicon_red.png +0 -0
- data/coverage/assets/0.10.0/favicon_yellow.png +0 -0
- data/coverage/assets/0.10.0/loading.gif +0 -0
- data/coverage/assets/0.10.0/magnify.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/coverage/index.html +11913 -0
- data/lib/festivity/engine.rb +1 -0
- data/lib/trusty-festivity-extension.rb +1 -1
- data/spec/ci/database.mysql.yml +21 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +5 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/bin/setup +29 -0
- data/spec/dummy/config/application.rb +100 -0
- data/spec/dummy/config/boot.rb +6 -0
- data/spec/dummy/config/database.yml +13 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +49 -0
- data/spec/dummy/config/environments/production.rb +79 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/assets.rb +11 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +4 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/trusty_cms_config.rb +20 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +0 -0
- data/spec/dummy/config/secrets.yml +22 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/schema.rb +262 -0
- data/spec/dummy/log/test.log +2151 -0
- data/spec/dummy/public/404.html +67 -0
- data/spec/dummy/public/422.html +67 -0
- data/spec/dummy/public/500.html +66 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +2 -0
- data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +0 -0
- data/spec/dummy/tmp/radiant_config_cache.txt +0 -0
- data/spec/factories/festivity_event_page.rb +9 -0
- data/spec/factories/site.rb +9 -0
- data/spec/models/festivity_event_page_spec.rb +21 -0
- data/spec/rails_helper.rb +51 -0
- data/spec/spec_helper.rb +22 -0
- data/trusty-festivity-extension.gemspec +3 -3
- metadata +118 -10
@@ -0,0 +1,262 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 201604261638542263) do
|
15
|
+
|
16
|
+
create_table "assets", force: :cascade do |t|
|
17
|
+
t.string "caption", limit: 255
|
18
|
+
t.string "title", limit: 255
|
19
|
+
t.string "asset_file_name", limit: 255
|
20
|
+
t.string "asset_content_type", limit: 255
|
21
|
+
t.integer "asset_file_size", limit: 4
|
22
|
+
t.integer "created_by_id", limit: 4
|
23
|
+
t.integer "updated_by_id", limit: 4
|
24
|
+
t.datetime "created_at"
|
25
|
+
t.datetime "updated_at"
|
26
|
+
t.string "uuid", limit: 255
|
27
|
+
t.integer "original_width", limit: 4
|
28
|
+
t.integer "original_height", limit: 4
|
29
|
+
t.string "original_extension", limit: 255
|
30
|
+
end
|
31
|
+
|
32
|
+
create_table "config", force: :cascade do |t|
|
33
|
+
t.string "key", limit: 40, default: "", null: false
|
34
|
+
t.string "value", limit: 255, default: ""
|
35
|
+
end
|
36
|
+
|
37
|
+
add_index "config", ["key"], name: "key", unique: true, using: :btree
|
38
|
+
|
39
|
+
create_table "extension_meta", force: :cascade do |t|
|
40
|
+
t.string "name", limit: 255
|
41
|
+
t.integer "schema_version", limit: 4, default: 0
|
42
|
+
t.boolean "enabled", default: true
|
43
|
+
end
|
44
|
+
|
45
|
+
create_table "festivity_categories", force: :cascade do |t|
|
46
|
+
t.string "name", limit: 255
|
47
|
+
t.integer "festivity_category_type_id", limit: 4
|
48
|
+
t.integer "parent_id", limit: 4
|
49
|
+
t.integer "position", limit: 4
|
50
|
+
t.boolean "inactive", default: false
|
51
|
+
end
|
52
|
+
|
53
|
+
create_table "festivity_category_types", force: :cascade do |t|
|
54
|
+
t.string "name", limit: 255
|
55
|
+
t.integer "site_id", limit: 4
|
56
|
+
t.integer "position", limit: 4
|
57
|
+
t.string "page_class", limit: 255
|
58
|
+
t.boolean "inactive", default: false
|
59
|
+
end
|
60
|
+
|
61
|
+
create_table "festivity_event_performances", id: false, force: :cascade do |t|
|
62
|
+
t.integer "performance_id", limit: 4, default: 0, null: false
|
63
|
+
t.datetime "start_date"
|
64
|
+
t.datetime "end_date"
|
65
|
+
t.integer "event_id", limit: 4, default: 0, null: false
|
66
|
+
t.string "event_title", limit: 255
|
67
|
+
t.string "short_description", limit: 255
|
68
|
+
t.string "buy_url", limit: 255
|
69
|
+
t.boolean "featured_item"
|
70
|
+
t.string "header", limit: 255
|
71
|
+
t.string "sub_header", limit: 255
|
72
|
+
t.integer "site_id", limit: 4
|
73
|
+
t.integer "location_id", limit: 4, default: 0, null: false
|
74
|
+
t.string "location_slug", limit: 100
|
75
|
+
t.string "location_title", limit: 255
|
76
|
+
t.string "festivity_directions_url", limit: 255
|
77
|
+
t.integer "area_id", limit: 4, default: 0, null: false
|
78
|
+
t.string "area_slug", limit: 100
|
79
|
+
t.string "area_title", limit: 255
|
80
|
+
end
|
81
|
+
|
82
|
+
create_table "festivity_market_details", id: false, force: :cascade do |t|
|
83
|
+
t.integer "market_id", limit: 4, default: 0, null: false
|
84
|
+
t.string "market_title", limit: 255
|
85
|
+
t.string "short_description", limit: 255
|
86
|
+
t.string "header", limit: 255
|
87
|
+
t.string "sub_header", limit: 255
|
88
|
+
t.integer "site_id", limit: 4
|
89
|
+
t.datetime "start_date"
|
90
|
+
t.datetime "end_date"
|
91
|
+
t.integer "area_id", limit: 4, default: 0, null: false
|
92
|
+
t.string "area_slug", limit: 100
|
93
|
+
t.string "area_title", limit: 255
|
94
|
+
end
|
95
|
+
|
96
|
+
create_table "festivity_page_categories", force: :cascade do |t|
|
97
|
+
t.integer "page_id", limit: 4
|
98
|
+
t.integer "festivity_category_id", limit: 4
|
99
|
+
end
|
100
|
+
|
101
|
+
add_index "festivity_page_categories", ["page_id", "festivity_category_id"], name: "event_categories", unique: true, using: :btree
|
102
|
+
|
103
|
+
create_table "festivity_performances", force: :cascade do |t|
|
104
|
+
t.integer "event_page_id", limit: 4
|
105
|
+
t.datetime "start_date"
|
106
|
+
t.datetime "end_date"
|
107
|
+
t.integer "location_page_id", limit: 4
|
108
|
+
t.string "notes", limit: 255, default: ""
|
109
|
+
t.datetime "created_at", null: false
|
110
|
+
t.datetime "updated_at", null: false
|
111
|
+
end
|
112
|
+
|
113
|
+
add_index "festivity_performances", ["event_page_id"], name: "index_festivity_performances_on_event_page_id", using: :btree
|
114
|
+
add_index "festivity_performances", ["location_page_id"], name: "index_festivity_performances_on_location_page_id", using: :btree
|
115
|
+
|
116
|
+
create_table "layouts", force: :cascade do |t|
|
117
|
+
t.string "name", limit: 100
|
118
|
+
t.text "content", limit: 65535
|
119
|
+
t.datetime "created_at"
|
120
|
+
t.datetime "updated_at"
|
121
|
+
t.integer "created_by_id", limit: 4
|
122
|
+
t.integer "updated_by_id", limit: 4
|
123
|
+
t.string "content_type", limit: 40
|
124
|
+
t.integer "lock_version", limit: 4, default: 0
|
125
|
+
t.integer "site_id", limit: 4
|
126
|
+
end
|
127
|
+
|
128
|
+
create_table "page_attachments", force: :cascade do |t|
|
129
|
+
t.integer "asset_id", limit: 4
|
130
|
+
t.integer "page_id", limit: 4
|
131
|
+
t.integer "position", limit: 4
|
132
|
+
end
|
133
|
+
|
134
|
+
create_table "page_fields", force: :cascade do |t|
|
135
|
+
t.integer "page_id", limit: 4
|
136
|
+
t.string "name", limit: 255
|
137
|
+
t.string "content", limit: 255
|
138
|
+
end
|
139
|
+
|
140
|
+
add_index "page_fields", ["page_id", "name", "content"], name: "index_page_fields_on_page_id_and_name_and_content", using: :btree
|
141
|
+
|
142
|
+
create_table "page_parts", force: :cascade do |t|
|
143
|
+
t.string "name", limit: 100
|
144
|
+
t.string "filter_id", limit: 25
|
145
|
+
t.text "content", limit: 16777215
|
146
|
+
t.integer "page_id", limit: 4
|
147
|
+
end
|
148
|
+
|
149
|
+
add_index "page_parts", ["page_id", "name"], name: "parts_by_page", using: :btree
|
150
|
+
|
151
|
+
create_table "pages", force: :cascade do |t|
|
152
|
+
t.string "title", limit: 255
|
153
|
+
t.string "slug", limit: 100
|
154
|
+
t.string "breadcrumb", limit: 160
|
155
|
+
t.string "class_name", limit: 25
|
156
|
+
t.integer "status_id", limit: 4, default: 1, null: false
|
157
|
+
t.integer "parent_id", limit: 4
|
158
|
+
t.integer "layout_id", limit: 4
|
159
|
+
t.datetime "created_at"
|
160
|
+
t.datetime "updated_at"
|
161
|
+
t.datetime "published_at"
|
162
|
+
t.integer "created_by_id", limit: 4
|
163
|
+
t.integer "updated_by_id", limit: 4
|
164
|
+
t.boolean "virtual", default: false, null: false
|
165
|
+
t.integer "lock_version", limit: 4, default: 0
|
166
|
+
t.text "allowed_children_cache", limit: 65535
|
167
|
+
t.integer "site_id", limit: 4
|
168
|
+
t.integer "position", limit: 4
|
169
|
+
t.string "short_description", limit: 255
|
170
|
+
t.string "artist_twitter", limit: 255
|
171
|
+
t.string "artist_facebook", limit: 255
|
172
|
+
t.string "artist_instagram", limit: 255
|
173
|
+
t.string "artist_homepage", limit: 255
|
174
|
+
t.string "header", limit: 255
|
175
|
+
t.string "sub_header", limit: 255
|
176
|
+
t.string "redirect_url", limit: 255
|
177
|
+
t.boolean "featured_item"
|
178
|
+
t.string "buy_url", limit: 255
|
179
|
+
t.string "booth_number", limit: 255
|
180
|
+
t.integer "area_id", limit: 4
|
181
|
+
t.string "festivity_address", limit: 255
|
182
|
+
t.string "festivity_city", limit: 255
|
183
|
+
t.string "festivity_state", limit: 255
|
184
|
+
t.string "festivity_zip", limit: 255
|
185
|
+
t.string "festivity_directions_url", limit: 255
|
186
|
+
t.string "vanity_url", limit: 255
|
187
|
+
t.string "target_url", limit: 255
|
188
|
+
t.boolean "hide_from_subnav", default: false
|
189
|
+
t.datetime "market_start_date"
|
190
|
+
t.datetime "market_end_date"
|
191
|
+
end
|
192
|
+
|
193
|
+
add_index "pages", ["class_name"], name: "pages_class_name", using: :btree
|
194
|
+
add_index "pages", ["parent_id"], name: "pages_parent_id", using: :btree
|
195
|
+
add_index "pages", ["site_id"], name: "index_pages_on_site_id", using: :btree
|
196
|
+
add_index "pages", ["slug", "parent_id"], name: "pages_child_slug", using: :btree
|
197
|
+
add_index "pages", ["virtual", "status_id"], name: "pages_published", using: :btree
|
198
|
+
|
199
|
+
create_table "sessions", force: :cascade do |t|
|
200
|
+
t.string "session_id", limit: 255
|
201
|
+
t.text "data", limit: 65535
|
202
|
+
t.datetime "updated_at"
|
203
|
+
end
|
204
|
+
|
205
|
+
add_index "sessions", ["session_id"], name: "index_sessions_on_session_id", using: :btree
|
206
|
+
add_index "sessions", ["updated_at"], name: "index_sessions_on_updated_at", using: :btree
|
207
|
+
|
208
|
+
create_table "sites", force: :cascade do |t|
|
209
|
+
t.string "name", limit: 255
|
210
|
+
t.string "domain", limit: 255
|
211
|
+
t.integer "homepage_id", limit: 4
|
212
|
+
t.integer "position", limit: 4, default: 0
|
213
|
+
t.string "base_domain", limit: 255
|
214
|
+
t.integer "created_by_id", limit: 4
|
215
|
+
t.datetime "created_at"
|
216
|
+
t.integer "updated_by_id", limit: 4
|
217
|
+
t.datetime "updated_at"
|
218
|
+
t.string "subtitle", limit: 255
|
219
|
+
t.string "abbreviation", limit: 255
|
220
|
+
t.datetime "festivity_start_date"
|
221
|
+
t.datetime "festivity_end_date"
|
222
|
+
t.string "festivity_festival_name", limit: 255
|
223
|
+
t.string "festivity_google_api_key", limit: 255
|
224
|
+
t.string "festivity_filter_type", limit: 255
|
225
|
+
t.string "festivity_buy_ticket_text", limit: 255, default: "Buy Tickets"
|
226
|
+
t.string "social_media_tag", limit: 255
|
227
|
+
end
|
228
|
+
|
229
|
+
create_table "snippets", force: :cascade do |t|
|
230
|
+
t.string "name", limit: 100, default: "", null: false
|
231
|
+
t.string "filter_id", limit: 25
|
232
|
+
t.text "content", limit: 65535
|
233
|
+
t.datetime "created_at"
|
234
|
+
t.datetime "updated_at"
|
235
|
+
t.integer "created_by_id", limit: 4
|
236
|
+
t.integer "updated_by_id", limit: 4
|
237
|
+
t.integer "lock_version", limit: 4, default: 0
|
238
|
+
t.integer "site_id", limit: 4
|
239
|
+
end
|
240
|
+
|
241
|
+
add_index "snippets", ["name", "site_id"], name: "name_site_id", unique: true, using: :btree
|
242
|
+
|
243
|
+
create_table "users", force: :cascade do |t|
|
244
|
+
t.string "name", limit: 100
|
245
|
+
t.string "email", limit: 255
|
246
|
+
t.string "login", limit: 40, default: "", null: false
|
247
|
+
t.string "password", limit: 40
|
248
|
+
t.boolean "admin", default: false, null: false
|
249
|
+
t.boolean "designer", default: false, null: false
|
250
|
+
t.datetime "created_at"
|
251
|
+
t.datetime "updated_at"
|
252
|
+
t.integer "created_by_id", limit: 4
|
253
|
+
t.integer "updated_by_id", limit: 4
|
254
|
+
t.string "salt", limit: 255
|
255
|
+
t.text "notes", limit: 65535
|
256
|
+
t.integer "lock_version", limit: 4, default: 0
|
257
|
+
t.string "session_token", limit: 255
|
258
|
+
t.string "locale", limit: 255
|
259
|
+
t.integer "site_id", limit: 4
|
260
|
+
end
|
261
|
+
|
262
|
+
end
|