constructor-cms 1.0.0beta1 → 1.0.0beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/spec/dummy/app/views/{home_pages/show.html.slim → templates/home_page.html.slim} +0 -0
- data/spec/dummy/app/views/{pages/show.html.slim → templates/page.html.slim} +0 -0
- data/spec/dummy/config/database.yml +26 -20
- metadata +14 -18
- data/spec/dummy/app/views/pages/edit.html.slim +0 -7
- data/spec/dummy/db/schema.rb +0 -140
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 72edacfab47dc9b6a829d9c83f82db3470f124eb
|
4
|
+
data.tar.gz: d8220f4b7079746cb4b550c3ccf4898f09dad433
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc0393d6007271c33f2ad085e200e7a1a30526e51bf7e4788095467e12e6cffe1d8b86d7db3eb874f3484bf9ca24fe5a66d2487b8efadeeebdfe41c451e3cee8
|
7
|
+
data.tar.gz: 64506c29f04bfecd296d200c41bf5c04cf053058350a9ac1977b7d556d6fbe390b4a68408102cae74da8a0ec5a97dd2959935d990654a0a1ac70e09c156c4eeb
|
data/README.md
CHANGED
@@ -12,7 +12,7 @@ Constructor – an open source Ruby on Rails content management system for Rails
|
|
12
12
|
|
13
13
|
### Add to Gemfile
|
14
14
|
|
15
|
-
gem 'constructor-cms', '~> 1.0.
|
15
|
+
gem 'constructor-cms', '~> 1.0.0beta2'
|
16
16
|
|
17
17
|
### Install
|
18
18
|
|
@@ -33,7 +33,7 @@ Password: 123qweASD
|
|
33
33
|
![Screenshot structure](https://s3-eu-west-1.amazonaws.com/constructorcms/screenshot_1.0.0beta1.png)
|
34
34
|
|
35
35
|
## Copyright
|
36
|
-
Copyright © 2012—
|
36
|
+
Copyright © 2012—2014 Ivan Zotov. See [LICENSE][] for details.
|
37
37
|
|
38
38
|
[license]: LICENSE.md
|
39
39
|
|
File without changes
|
File without changes
|
@@ -1,25 +1,31 @@
|
|
1
|
-
|
2
|
-
# gem install sqlite3
|
3
|
-
#
|
4
|
-
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
-
# gem 'sqlite3'
|
6
|
-
development:
|
1
|
+
sqlite: &sqlite
|
7
2
|
adapter: sqlite3
|
8
|
-
database: db
|
3
|
+
database: db/<%= Rails.env %>.sqlite3
|
4
|
+
|
5
|
+
mysql: &mysql
|
6
|
+
adapter: mysql2
|
7
|
+
username: root
|
8
|
+
password:
|
9
|
+
database: <%= Rails.root.basename.to_s %>_<%= Rails.env %>
|
10
|
+
|
11
|
+
postgresql: &postgresql
|
12
|
+
adapter: postgresql
|
13
|
+
username: postgres
|
14
|
+
password:
|
15
|
+
database: <%= Rails.root.basename.to_s %>_<%= Rails.env %>
|
16
|
+
min_messages: ERROR
|
17
|
+
|
18
|
+
defaults: &defaults
|
9
19
|
pool: 5
|
10
20
|
timeout: 5000
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
21
|
+
host: localhost
|
22
|
+
<<: *<%= ENV['DB'] || "postgresql" %>
|
23
|
+
|
24
|
+
development:
|
25
|
+
<<: *defaults
|
26
|
+
|
15
27
|
test:
|
16
|
-
|
17
|
-
|
18
|
-
pool: 5
|
19
|
-
timeout: 5000
|
20
|
-
|
28
|
+
<<: *defaults
|
29
|
+
|
21
30
|
production:
|
22
|
-
|
23
|
-
database: db/production.sqlite3
|
24
|
-
pool: 5
|
25
|
-
timeout: 5000
|
31
|
+
<<: *defaults
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: constructor-cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.0beta2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Zotov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: constructor-core
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.0.
|
19
|
+
version: 1.0.0beta2
|
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: 1.0.
|
26
|
+
version: 1.0.0beta2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: constructor-pages
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0.
|
33
|
+
version: 1.0.0beta2
|
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.0.
|
40
|
+
version: 1.0.0beta2
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rspec-rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: database_cleaner
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: capybara
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -129,10 +129,9 @@ files:
|
|
129
129
|
- spec/dummy/app/helpers/application_helper.rb
|
130
130
|
- spec/dummy/app/mailers/.gitkeep
|
131
131
|
- spec/dummy/app/models/.gitkeep
|
132
|
-
- spec/dummy/app/views/home_pages/show.html.slim
|
133
132
|
- spec/dummy/app/views/layouts/application.html.slim
|
134
|
-
- spec/dummy/app/views/
|
135
|
-
- spec/dummy/app/views/
|
133
|
+
- spec/dummy/app/views/templates/home_page.html.slim
|
134
|
+
- spec/dummy/app/views/templates/page.html.slim
|
136
135
|
- spec/dummy/bin/bundle
|
137
136
|
- spec/dummy/bin/rails
|
138
137
|
- spec/dummy/bin/rake
|
@@ -153,7 +152,6 @@ files:
|
|
153
152
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
154
153
|
- spec/dummy/config/locales/en.yml
|
155
154
|
- spec/dummy/config/routes.rb
|
156
|
-
- spec/dummy/db/schema.rb
|
157
155
|
- spec/dummy/doc/README_FOR_APP
|
158
156
|
- spec/dummy/lib/assets/.gitkeep
|
159
157
|
- spec/dummy/lib/tasks/.gitkeep
|
@@ -197,10 +195,9 @@ test_files:
|
|
197
195
|
- spec/dummy/app/helpers/application_helper.rb
|
198
196
|
- spec/dummy/app/mailers/.gitkeep
|
199
197
|
- spec/dummy/app/models/.gitkeep
|
200
|
-
- spec/dummy/app/views/home_pages/show.html.slim
|
201
198
|
- spec/dummy/app/views/layouts/application.html.slim
|
202
|
-
- spec/dummy/app/views/
|
203
|
-
- spec/dummy/app/views/
|
199
|
+
- spec/dummy/app/views/templates/home_page.html.slim
|
200
|
+
- spec/dummy/app/views/templates/page.html.slim
|
204
201
|
- spec/dummy/bin/bundle
|
205
202
|
- spec/dummy/bin/rails
|
206
203
|
- spec/dummy/bin/rake
|
@@ -221,7 +218,6 @@ test_files:
|
|
221
218
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
222
219
|
- spec/dummy/config/locales/en.yml
|
223
220
|
- spec/dummy/config/routes.rb
|
224
|
-
- spec/dummy/db/schema.rb
|
225
221
|
- spec/dummy/doc/README_FOR_APP
|
226
222
|
- spec/dummy/lib/assets/.gitkeep
|
227
223
|
- spec/dummy/lib/tasks/.gitkeep
|
data/spec/dummy/db/schema.rb
DELETED
@@ -1,140 +0,0 @@
|
|
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: 20140103091824) do
|
15
|
-
|
16
|
-
create_table "constructor_core_users", force: true do |t|
|
17
|
-
t.string "email", default: "", null: false
|
18
|
-
t.string "encrypted_password", default: "", null: false
|
19
|
-
t.string "reset_password_token"
|
20
|
-
t.datetime "reset_password_sent_at"
|
21
|
-
t.datetime "remember_created_at"
|
22
|
-
t.integer "sign_in_count", default: 0
|
23
|
-
t.datetime "current_sign_in_at"
|
24
|
-
t.datetime "last_sign_in_at"
|
25
|
-
t.string "current_sign_in_ip"
|
26
|
-
t.string "last_sign_in_ip"
|
27
|
-
t.string "authentication_token"
|
28
|
-
end
|
29
|
-
|
30
|
-
add_index "constructor_core_users", ["email"], name: "index_constructor_core_users_on_email", unique: true
|
31
|
-
add_index "constructor_core_users", ["reset_password_token"], name: "index_constructor_core_users_on_reset_password_token", unique: true
|
32
|
-
|
33
|
-
create_table "constructor_pages_boolean_types", force: true do |t|
|
34
|
-
t.boolean "value", default: false
|
35
|
-
t.integer "field_id"
|
36
|
-
t.integer "page_id"
|
37
|
-
t.datetime "created_at"
|
38
|
-
t.datetime "updated_at"
|
39
|
-
end
|
40
|
-
|
41
|
-
create_table "constructor_pages_date_types", force: true do |t|
|
42
|
-
t.date "value", default: '2014-01-03'
|
43
|
-
t.integer "field_id"
|
44
|
-
t.integer "page_id"
|
45
|
-
t.datetime "created_at"
|
46
|
-
t.datetime "updated_at"
|
47
|
-
end
|
48
|
-
|
49
|
-
create_table "constructor_pages_fields", force: true do |t|
|
50
|
-
t.string "name"
|
51
|
-
t.string "code_name"
|
52
|
-
t.string "type_value"
|
53
|
-
t.integer "position"
|
54
|
-
t.integer "template_id"
|
55
|
-
t.datetime "created_at"
|
56
|
-
t.datetime "updated_at"
|
57
|
-
end
|
58
|
-
|
59
|
-
create_table "constructor_pages_float_types", force: true do |t|
|
60
|
-
t.float "value", default: 0.0
|
61
|
-
t.integer "field_id"
|
62
|
-
t.integer "page_id"
|
63
|
-
t.datetime "created_at"
|
64
|
-
t.datetime "updated_at"
|
65
|
-
end
|
66
|
-
|
67
|
-
create_table "constructor_pages_html_types", force: true do |t|
|
68
|
-
t.text "value", limit: 4294967295
|
69
|
-
t.integer "field_id"
|
70
|
-
t.integer "page_id"
|
71
|
-
t.datetime "created_at"
|
72
|
-
t.datetime "updated_at"
|
73
|
-
end
|
74
|
-
|
75
|
-
create_table "constructor_pages_image_types", force: true do |t|
|
76
|
-
t.string "value_uid"
|
77
|
-
t.string "value_name"
|
78
|
-
t.integer "field_id"
|
79
|
-
t.integer "page_id"
|
80
|
-
t.datetime "created_at"
|
81
|
-
t.datetime "updated_at"
|
82
|
-
end
|
83
|
-
|
84
|
-
create_table "constructor_pages_integer_types", force: true do |t|
|
85
|
-
t.integer "value", default: 0
|
86
|
-
t.integer "field_id"
|
87
|
-
t.integer "page_id"
|
88
|
-
t.datetime "created_at"
|
89
|
-
t.datetime "updated_at"
|
90
|
-
end
|
91
|
-
|
92
|
-
create_table "constructor_pages_pages", force: true do |t|
|
93
|
-
t.boolean "active", default: true
|
94
|
-
t.string "name", default: ""
|
95
|
-
t.boolean "auto_url", default: true
|
96
|
-
t.string "full_url", default: ""
|
97
|
-
t.string "url", default: ""
|
98
|
-
t.string "redirect", default: ""
|
99
|
-
t.string "title", default: ""
|
100
|
-
t.string "keywords", default: ""
|
101
|
-
t.text "description", limit: 4294967295
|
102
|
-
t.boolean "in_menu", default: true
|
103
|
-
t.boolean "in_nav", default: true
|
104
|
-
t.boolean "in_map", default: true
|
105
|
-
t.integer "parent_id"
|
106
|
-
t.integer "lft"
|
107
|
-
t.integer "rgt"
|
108
|
-
t.integer "template_id"
|
109
|
-
t.datetime "created_at"
|
110
|
-
t.datetime "updated_at"
|
111
|
-
t.boolean "in_url", default: true
|
112
|
-
end
|
113
|
-
|
114
|
-
create_table "constructor_pages_string_types", force: true do |t|
|
115
|
-
t.string "value", default: ""
|
116
|
-
t.integer "field_id"
|
117
|
-
t.integer "page_id"
|
118
|
-
t.datetime "created_at"
|
119
|
-
t.datetime "updated_at"
|
120
|
-
end
|
121
|
-
|
122
|
-
create_table "constructor_pages_templates", force: true do |t|
|
123
|
-
t.string "name"
|
124
|
-
t.string "code_name"
|
125
|
-
t.integer "parent_id"
|
126
|
-
t.integer "lft"
|
127
|
-
t.integer "rgt"
|
128
|
-
t.datetime "created_at"
|
129
|
-
t.datetime "updated_at"
|
130
|
-
end
|
131
|
-
|
132
|
-
create_table "constructor_pages_text_types", force: true do |t|
|
133
|
-
t.text "value", limit: 4294967295
|
134
|
-
t.integer "field_id"
|
135
|
-
t.integer "page_id"
|
136
|
-
t.datetime "created_at"
|
137
|
-
t.datetime "updated_at"
|
138
|
-
end
|
139
|
-
|
140
|
-
end
|