tb_cms 1.3.beta1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spud_cms/version.rb +1 -1
- data/spec/dummy/db/schema.rb +143 -143
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec75c53b2b39e4b6fe5a0e7968c1f54a695403b4
|
4
|
+
data.tar.gz: 79126403fdfc7cdc63e65ac01e14a883570eeb06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e79dba5b06e5998468ea5d1d4ec15a0bde3173563770a9a2b1eb1759eac376f0fac84489ddf7840f0e19c3e54d38725a80bd0ff9ec80d419ae4565479a42a1d3
|
7
|
+
data.tar.gz: 934771b2dd67cffad7f93b80d6a6edd3a93cd56754a78a05178618683b5eb0239971ada653436f82c196d100e2edac7498948f80c6f604f697c3d1f38d5354c6
|
data/lib/spud_cms/version.rb
CHANGED
data/spec/dummy/db/schema.rb
CHANGED
@@ -10,175 +10,175 @@
|
|
10
10
|
#
|
11
11
|
# It's strongly recommended that you check this file into your version control system.
|
12
12
|
|
13
|
-
ActiveRecord::Schema.define(version:
|
14
|
-
|
15
|
-
create_table
|
16
|
-
t.integer
|
17
|
-
t.string
|
18
|
-
t.string
|
19
|
-
t.string
|
20
|
-
t.datetime
|
21
|
-
t.datetime
|
22
|
-
t.index [
|
13
|
+
ActiveRecord::Schema.define(version: 20160215180157) do
|
14
|
+
|
15
|
+
create_table "spud_liquid_tags", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
16
|
+
t.integer "attachment_id"
|
17
|
+
t.string "attachment_type"
|
18
|
+
t.string "tag_name"
|
19
|
+
t.string "value"
|
20
|
+
t.datetime "created_at"
|
21
|
+
t.datetime "updated_at"
|
22
|
+
t.index ["tag_name", "value"], name: "index_spud_liquid_tags_on_tag_name_and_value", using: :btree
|
23
23
|
end
|
24
24
|
|
25
|
-
create_table
|
26
|
-
t.string
|
27
|
-
t.integer
|
28
|
-
t.integer
|
29
|
-
t.integer
|
30
|
-
t.integer
|
31
|
-
t.string
|
32
|
-
t.datetime
|
33
|
-
t.datetime
|
34
|
-
t.string
|
35
|
-
t.integer
|
36
|
-
t.string
|
37
|
-
t.index [
|
38
|
-
t.index [
|
39
|
-
t.index [
|
25
|
+
create_table "spud_menu_items", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
26
|
+
t.string "parent_type"
|
27
|
+
t.integer "parent_id"
|
28
|
+
t.integer "item_type"
|
29
|
+
t.integer "spud_page_id"
|
30
|
+
t.integer "menu_order", default: 0
|
31
|
+
t.string "url"
|
32
|
+
t.datetime "created_at"
|
33
|
+
t.datetime "updated_at"
|
34
|
+
t.string "name"
|
35
|
+
t.integer "spud_menu_id"
|
36
|
+
t.string "classes"
|
37
|
+
t.index ["menu_order"], name: "index_spud_menu_items_on_menu_order", using: :btree
|
38
|
+
t.index ["parent_type", "parent_id"], name: "index_spud_menu_items_on_parent_type_and_parent_id", using: :btree
|
39
|
+
t.index ["spud_menu_id"], name: "index_spud_menu_items_on_spud_menu_id", using: :btree
|
40
40
|
end
|
41
41
|
|
42
|
-
create_table
|
43
|
-
t.string
|
44
|
-
t.text
|
45
|
-
t.datetime
|
46
|
-
t.datetime
|
42
|
+
create_table "spud_menus", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
43
|
+
t.string "name"
|
44
|
+
t.text "description", limit: 65535
|
45
|
+
t.datetime "created_at"
|
46
|
+
t.datetime "updated_at"
|
47
47
|
end
|
48
48
|
|
49
|
-
create_table
|
50
|
-
t.string
|
51
|
-
t.text
|
52
|
-
t.string
|
53
|
-
t.integer
|
54
|
-
t.datetime
|
55
|
-
t.datetime
|
56
|
-
t.index [
|
49
|
+
create_table "spud_page_partial_revisions", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
50
|
+
t.string "name"
|
51
|
+
t.text "content", limit: 65535
|
52
|
+
t.string "format"
|
53
|
+
t.integer "spud_page_id"
|
54
|
+
t.datetime "created_at"
|
55
|
+
t.datetime "updated_at"
|
56
|
+
t.index ["spud_page_id", "name"], name: "revision_idx", using: :btree
|
57
57
|
end
|
58
58
|
|
59
|
-
create_table
|
60
|
-
t.integer
|
61
|
-
t.string
|
62
|
-
t.text
|
63
|
-
t.string
|
64
|
-
t.datetime
|
65
|
-
t.datetime
|
66
|
-
t.string
|
67
|
-
t.text
|
68
|
-
t.index [
|
59
|
+
create_table "spud_page_partials", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
60
|
+
t.integer "spud_page_id"
|
61
|
+
t.string "name"
|
62
|
+
t.text "content", limit: 65535
|
63
|
+
t.string "format"
|
64
|
+
t.datetime "created_at"
|
65
|
+
t.datetime "updated_at"
|
66
|
+
t.string "symbol_name"
|
67
|
+
t.text "content_processed", limit: 65535
|
68
|
+
t.index ["spud_page_id"], name: "index_spud_page_partials_on_spud_page_id", using: :btree
|
69
69
|
end
|
70
70
|
|
71
|
-
create_table
|
72
|
-
t.string
|
73
|
-
t.string
|
74
|
-
t.datetime
|
75
|
-
t.integer
|
76
|
-
t.integer
|
77
|
-
t.string
|
78
|
-
t.integer
|
79
|
-
t.text
|
80
|
-
t.string
|
81
|
-
t.integer
|
82
|
-
t.datetime
|
83
|
-
t.datetime
|
84
|
-
t.integer
|
85
|
-
t.boolean
|
86
|
-
t.boolean
|
87
|
-
t.text
|
88
|
-
t.string
|
89
|
-
t.string
|
71
|
+
create_table "spud_pages", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
72
|
+
t.string "name"
|
73
|
+
t.string "url_name"
|
74
|
+
t.datetime "publish_at"
|
75
|
+
t.integer "created_by"
|
76
|
+
t.integer "updated_by"
|
77
|
+
t.string "format", default: "html"
|
78
|
+
t.integer "spud_page_id"
|
79
|
+
t.text "meta_description", limit: 65535
|
80
|
+
t.string "meta_keywords"
|
81
|
+
t.integer "page_order"
|
82
|
+
t.datetime "created_at"
|
83
|
+
t.datetime "updated_at"
|
84
|
+
t.integer "visibility", default: 0
|
85
|
+
t.boolean "published", default: true
|
86
|
+
t.boolean "use_custom_url_name", default: false
|
87
|
+
t.text "notes", limit: 65535
|
88
|
+
t.string "layout"
|
89
|
+
t.string "page_title"
|
90
90
|
end
|
91
91
|
|
92
|
-
create_table
|
93
|
-
t.string
|
94
|
-
t.string
|
95
|
-
t.integer
|
96
|
-
t.datetime
|
97
|
-
t.datetime
|
98
|
-
t.integer
|
99
|
-
t.index [
|
100
|
-
t.index [
|
92
|
+
create_table "spud_permalinks", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
93
|
+
t.string "url_name"
|
94
|
+
t.string "attachment_type"
|
95
|
+
t.integer "attachment_id"
|
96
|
+
t.datetime "created_at"
|
97
|
+
t.datetime "updated_at"
|
98
|
+
t.integer "site_id", default: 0, null: false
|
99
|
+
t.index ["attachment_type", "attachment_id"], name: "idx_permalink_attachment", using: :btree
|
100
|
+
t.index ["site_id"], name: "idx_permalinks_site_id", using: :btree
|
101
101
|
end
|
102
102
|
|
103
|
-
create_table
|
104
|
-
t.string
|
105
|
-
t.string
|
106
|
-
t.datetime
|
107
|
-
t.datetime
|
108
|
-
t.index [
|
103
|
+
create_table "spud_permissions", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
104
|
+
t.string "name", null: false
|
105
|
+
t.string "tag", null: false
|
106
|
+
t.datetime "created_at"
|
107
|
+
t.datetime "updated_at"
|
108
|
+
t.index ["tag"], name: "index_spud_permissions_on_tag", unique: true, using: :btree
|
109
109
|
end
|
110
110
|
|
111
|
-
create_table
|
112
|
-
t.integer
|
113
|
-
t.string
|
114
|
-
t.datetime
|
115
|
-
t.datetime
|
116
|
-
t.index [
|
117
|
-
t.index [
|
111
|
+
create_table "spud_role_permissions", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
112
|
+
t.integer "spud_role_id", null: false
|
113
|
+
t.string "spud_permission_tag", null: false
|
114
|
+
t.datetime "created_at"
|
115
|
+
t.datetime "updated_at"
|
116
|
+
t.index ["spud_permission_tag"], name: "index_spud_role_permissions_on_spud_permission_tag", using: :btree
|
117
|
+
t.index ["spud_role_id"], name: "index_spud_role_permissions_on_spud_role_id", using: :btree
|
118
118
|
end
|
119
119
|
|
120
|
-
create_table
|
121
|
-
t.string
|
122
|
-
t.datetime
|
123
|
-
t.datetime
|
120
|
+
create_table "spud_roles", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
121
|
+
t.string "name"
|
122
|
+
t.datetime "created_at"
|
123
|
+
t.datetime "updated_at"
|
124
124
|
end
|
125
125
|
|
126
|
-
create_table
|
127
|
-
t.string
|
128
|
-
t.text
|
129
|
-
t.string
|
130
|
-
t.text
|
131
|
-
t.datetime
|
132
|
-
t.datetime
|
133
|
-
t.index [
|
126
|
+
create_table "spud_snippets", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
127
|
+
t.string "name"
|
128
|
+
t.text "content", limit: 65535
|
129
|
+
t.string "format"
|
130
|
+
t.text "content_processed", limit: 65535
|
131
|
+
t.datetime "created_at"
|
132
|
+
t.datetime "updated_at"
|
133
|
+
t.index ["name"], name: "index_spud_snippets_on_name", using: :btree
|
134
134
|
end
|
135
135
|
|
136
|
-
create_table
|
137
|
-
t.integer
|
138
|
-
t.string
|
139
|
-
t.string
|
140
|
-
t.datetime
|
141
|
-
t.datetime
|
136
|
+
create_table "spud_user_settings", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
137
|
+
t.integer "spud_user_id"
|
138
|
+
t.string "key"
|
139
|
+
t.string "value"
|
140
|
+
t.datetime "created_at"
|
141
|
+
t.datetime "updated_at"
|
142
142
|
end
|
143
143
|
|
144
|
-
create_table
|
145
|
-
t.string
|
146
|
-
t.string
|
147
|
-
t.boolean
|
148
|
-
t.string
|
149
|
-
t.string
|
150
|
-
t.string
|
151
|
-
t.string
|
152
|
-
t.string
|
153
|
-
t.string
|
154
|
-
t.string
|
155
|
-
t.integer
|
156
|
-
t.integer
|
157
|
-
t.datetime
|
158
|
-
t.datetime
|
159
|
-
t.datetime
|
160
|
-
t.string
|
161
|
-
t.string
|
162
|
-
t.datetime
|
163
|
-
t.datetime
|
164
|
-
t.string
|
165
|
-
t.integer
|
166
|
-
t.boolean
|
167
|
-
t.index [
|
168
|
-
t.index [
|
169
|
-
t.index [
|
144
|
+
create_table "spud_users", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
145
|
+
t.string "first_name"
|
146
|
+
t.string "last_name"
|
147
|
+
t.boolean "super_admin"
|
148
|
+
t.string "login", null: false
|
149
|
+
t.string "email", null: false
|
150
|
+
t.string "crypted_password", null: false
|
151
|
+
t.string "password_salt", null: false
|
152
|
+
t.string "persistence_token", null: false
|
153
|
+
t.string "single_access_token", null: false
|
154
|
+
t.string "perishable_token", null: false
|
155
|
+
t.integer "login_count", default: 0, null: false
|
156
|
+
t.integer "failed_login_count", default: 0, null: false
|
157
|
+
t.datetime "last_request_at"
|
158
|
+
t.datetime "current_login_at"
|
159
|
+
t.datetime "last_login_at"
|
160
|
+
t.string "current_login_ip"
|
161
|
+
t.string "last_login_ip"
|
162
|
+
t.datetime "created_at"
|
163
|
+
t.datetime "updated_at"
|
164
|
+
t.string "time_zone"
|
165
|
+
t.integer "spud_role_id"
|
166
|
+
t.boolean "requires_password_change", default: false
|
167
|
+
t.index ["email"], name: "index_spud_users_on_email", using: :btree
|
168
|
+
t.index ["login"], name: "index_spud_users_on_login", using: :btree
|
169
|
+
t.index ["spud_role_id"], name: "index_spud_users_on_spud_role_id", using: :btree
|
170
170
|
end
|
171
171
|
|
172
|
-
create_table
|
173
|
-
t.string
|
174
|
-
t.integer
|
175
|
-
t.string
|
176
|
-
t.string
|
177
|
-
t.string
|
178
|
-
t.datetime
|
179
|
-
t.datetime
|
180
|
-
t.index [
|
181
|
-
t.index [
|
172
|
+
create_table "tb_redirects", force: :cascade, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8" do |t|
|
173
|
+
t.string "owner_type"
|
174
|
+
t.integer "owner_id"
|
175
|
+
t.string "source", null: false
|
176
|
+
t.string "destination", null: false
|
177
|
+
t.string "created_by"
|
178
|
+
t.datetime "created_at", null: false
|
179
|
+
t.datetime "updated_at", null: false
|
180
|
+
t.index ["owner_type", "owner_id"], name: "index_tb_redirects_on_owner_type_and_owner_id", using: :btree
|
181
|
+
t.index ["source"], name: "index_tb_redirects_on_source", unique: true, using: :btree
|
182
182
|
end
|
183
183
|
|
184
184
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tb_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Moser Consulting
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-03-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -355,9 +355,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
355
355
|
version: '0'
|
356
356
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
357
357
|
requirements:
|
358
|
-
- - "
|
358
|
+
- - ">="
|
359
359
|
- !ruby/object:Gem::Version
|
360
|
-
version:
|
360
|
+
version: '0'
|
361
361
|
requirements: []
|
362
362
|
rubyforge_project:
|
363
363
|
rubygems_version: 2.5.1
|