camaleon_cms 2.4.6.5 → 2.4.6.6

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of camaleon_cms might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bf11a6e7095b8c7592f1417e1bf106226272fc0940a914689b72738836dea24
4
- data.tar.gz: c088a65f8a95a0537f3ea2886dae9e105f4a19bacac17c06ff276066e13cdb02
3
+ metadata.gz: 7317fed0bc7855c2af10d8ed3dbfac3825340af772d33f466b8883e66bc18308
4
+ data.tar.gz: b78e6e473f1ac0e2a164cf20114e8bb73d5ff4bb31aab4d68d8a0fae79fdcdae
5
5
  SHA512:
6
- metadata.gz: b5c4a2a292133a1a0959e7b1f97c998d0ff6719b2dac3e27629a639f2bb5d226db3838023196b7742e4497533a60e4f9753f099a6b56cc09eb783554e7e233ec
7
- data.tar.gz: 9c6a3a058bdb2c8aa15831c4d11ce12b6755c12b5ccccea4860dfe5173281842d881ddc7275a12237534c1d78616f7af2074728e31bfaa364e7ae3a36c884697
6
+ metadata.gz: 4d3e3f6f50435afa84e704913f794ba1f8d5e6643b958391dd2495f66dd3389ebb629d4622bd27c6bee6c542ab7010c912364a0000aab06ea47b2ac8fc24e6a0
7
+ data.tar.gz: 704d909e81060f04a2665413c6bea5eacb3c7b912346de70ebe8376ce96413fe982788935aa6ecaac8308db3d39cfc26884a892d6f53505761ef920833a948c3
data/README.md CHANGED
@@ -88,7 +88,7 @@ http://camaleon.tuzitio.com/store/plugins
88
88
  * Visual Editor - Paid Plugin ($) - http://camaleon.tuzitio.com/store/plugins/camaleon_editor
89
89
  * Spree Commerce Integration - Paid Plugin ($) - http://camaleon.tuzitio.com/store/plugins/camaleon-spree
90
90
  * Admin AJAX - Paid Plugin ($) - http://camaleon.tuzitio.com/store/plugins/admin_ajax
91
- * **See here for a complete Gemfile**: https://github.com/owen2345/camaleon-cms/blob/master/doc/example_gemfile.rb
91
+ * **See here for a complete Gemfile**: https://github.com/owen2345/camaleon-cms/blob/master/docs/example_gemfile.rb
92
92
 
93
93
  ## Camaleon CMS has many useful frontend Themes such as:
94
94
  * Default Theme (Built in)
@@ -112,12 +112,12 @@ http://camaleon.tuzitio.com/store/plugins
112
112
  * Install Ruby on Rails
113
113
  * Create your rails project
114
114
 
115
- ```
115
+ ```bash
116
116
  rails new my_project
117
117
  ```
118
- * Add the gem in your Gemfile
118
+ * Add the gem in your Gemfile
119
119
 
120
- ```
120
+ ```ruby
121
121
  gem "camaleon_cms", '>= 2.4.6' # (Current stable versions are 2.4.4.5, 2.4.3.10, 2.3.6, 2.2.1, 2.1.1)
122
122
  # OR
123
123
  # gem "camaleon_cms", github: 'owen2345/camaleon-cms' # latest development version
@@ -127,17 +127,27 @@ http://camaleon.tuzitio.com/store/plugins
127
127
 
128
128
  * Install required Gem and dependencies
129
129
 
130
- ```
130
+ ```bash
131
131
  bundle install
132
132
  ```
133
- * Camaleon CMS Installation
134
133
 
134
+ * If using Rails 6, add the following line to config/application.rb
135
+
136
+ ```ruby
137
+ # Additional lines shown for context
138
+ class Application < Rails::Application
139
+ config.autoloader = :classic # This is the line to add
140
+ end
135
141
  ```
142
+
143
+ * Camaleon CMS Installation
144
+
145
+ ```bash
136
146
  rails generate camaleon_cms:install
137
147
  ```
138
148
  * (Optional) Before continue you can configure your CMS settings in (my_app/config/system.json), [here](config/system.json) you can see the full settings.
139
149
  * Create database structure
140
- ```
150
+ ```bash
141
151
  rake camaleon_cms:generate_migrations
142
152
  # before running migrations you can customize copied migration files
143
153
  rake db:migrate
@@ -145,7 +155,7 @@ http://camaleon.tuzitio.com/store/plugins
145
155
 
146
156
  * Start your server
147
157
 
148
- ```
158
+ ```bash
149
159
  rails server
150
160
  ```
151
161
 
@@ -173,12 +183,12 @@ http://camaleon.tuzitio.com/license.html
173
183
 
174
184
  ## Testing
175
185
  * Init DB
176
- ```
186
+ ```bash
177
187
  RAILS_ENV=test bundle exec rake app:db:migrate
178
188
  RAILS_ENV=test bundle exec rake app:db:test:prepare
179
189
  ```
180
190
  * Run tests
181
- ```
191
+ ```bash
182
192
  bundle exec rspec
183
193
  ```
184
194
 
@@ -95,7 +95,7 @@ module Plugins::FrontCache::FrontCacheHelper
95
95
  @caches[:cache_counter] += 1
96
96
  current_site.set_meta("front_cache_elements", @caches)
97
97
  else
98
- Rails.cache.clear
98
+ Rails.cache.clear rescue nil
99
99
  @caches[:cache_counter] = 0
100
100
  current_site.set_meta("front_cache_elements", @caches)
101
101
  end
@@ -290,3 +290,70 @@ label.error, span.error{
290
290
  color: #a94442;
291
291
  font-size: 11px;
292
292
  }
293
+
294
+
295
+ //************** Appearance
296
+
297
+ // themes: index page
298
+ .theme-card {
299
+ border: 1px
300
+ solid #ddd;
301
+ border-radius: 0;
302
+ position: relative;
303
+
304
+ .panel-body-image {
305
+ padding: 0;
306
+
307
+ .theme-image {
308
+ width: 100%;
309
+ height: 260px;
310
+ background-size: cover;
311
+ }
312
+
313
+ &:hover {
314
+ & + .theme-description {
315
+ display: block;
316
+ }
317
+ }
318
+ }
319
+
320
+ .theme-description {
321
+ position: absolute;
322
+ top: 0;
323
+ width: 100%;
324
+ height: 260px;
325
+ background: #1e282bcc;
326
+ color: #fff;
327
+ font-size: 1.8rem;
328
+ padding: 30px;
329
+ display: none;
330
+
331
+ &:hover {
332
+ display: block;
333
+ }
334
+ }
335
+
336
+ .panel-footer {
337
+ background-color: #fafafa;
338
+ border: 0;
339
+ border-radius: 0;
340
+ box-shadow: inset 0 1px 0 rgba(0,0,0,.1);
341
+ display: flex;
342
+ justify-content: space-between;
343
+ align-items: center;
344
+
345
+
346
+ .theme-name {
347
+ font-size: 1.6rem;
348
+ width: 50%;
349
+ text-align: left;
350
+ font-weight: 600;
351
+ }
352
+
353
+ .theme-actions {
354
+ .btn {
355
+ font-size: 1.1rem;
356
+ }
357
+ }
358
+ }
359
+ }
@@ -20,32 +20,35 @@
20
20
  <% next if theme[:domain].present? && !(theme[:domain].split(",").include?(current_site.the_slug) || theme[:domain].split(",").include?(dom)) %>
21
21
  <%= raw "<div class='clearfix'></div>" if index%3==0 && index > 1 %>
22
22
  <div class="col-md-4">
23
- <div class="panel panel-default">
23
+ <div class="panel panel-default theme-card">
24
24
  <div class="panel-body panel-body-image">
25
- <div class="theme-image text-center">
26
- <img class="img-responsive" style="width: 100%; height: 180px;" src="<%= asset_path(theme_asset_path(theme[:thumb].to_s, theme[:key])) %>" alt="<%= theme[:name] %>">
25
+ <% image_url = asset_path(theme_asset_path(theme[:thumb].to_s, theme[:key])) %>
26
+ <div class="theme-image text-center" style=" background-image: url(<%= image_url %>);" >
27
27
  </div>
28
- <a href="#" class="panel-body-inform">
29
- <span class="fa fa-desktop"></span>
30
- </a>
31
28
  </div>
32
- <div class="panel-body" style="min-height: 120px;">
33
- <h3><%= theme[:name] %></h3>
29
+ <div class="panel-body theme-description">
30
+ <h3></h3>
34
31
  <div><%= raw theme[:description] %></div>
35
32
  </div>
36
33
  <div class="panel-footer text-muted text-right">
37
- <% if current_theme.slug == theme[:key] && params[:set].nil? %>
38
- <% r = {links: []}; hook_run(theme, "theme_options", r) %>
39
- <% r[:links] << link_to(raw('&nbsp;&nbsp;Import Data (data.json)&nbsp;'), admin_plugins_export_content_settings_path(file: ["app", "apps", 'themes', theme[:key], 'data.json'].join("/"))) if current_site.plugin_installed?('export_content') && File.exist?(File.join(theme["path"], "data.json")) %>
40
- <% r[:links] << link_to('Settings', cama_admin_settings_theme_path, class: "btn btn-primary") if File.exist?(current_theme.settings_file) %>
34
+ <span class="theme-name">
35
+ <%= theme[:name] %>
36
+ </span>
37
+ <div class="theme-actions">
38
+ <% if current_theme.slug == theme[:key] && params[:set].nil? %>
39
+ <% r = {links: []}; hook_run(theme, "theme_options", r) %>
40
+ <% r[:links] << link_to(raw('&nbsp;&nbsp;Import Data (data.json)&nbsp;'), admin_plugins_export_content_settings_path(file: ["app", "apps", 'themes', theme[:key], 'data.json'].join("/"))) if current_site.plugin_installed?('export_content') && File.exist?(File.join(theme["path"], "data.json")) %>
41
+ <% r[:links] << link_to('Settings', cama_admin_settings_theme_path, class: "btn btn-primary") if File.exist?(current_theme.settings_file) %>
41
42
 
42
- <% r[:links] << link_to(raw('&nbsp;&nbsp;Import Data (data.json)&nbsp;'), "#", {'onclick' => "alert('You need to install import/export plugin to import sample data.'); return false;"}) if !current_site.plugin_installed?('export_content') && File.exist?(File.join(theme["path"], "data.json")) %>
43
- <%= raw r[:links].join(" | ") %>
44
- <span class="btn btn-success"><%= t('camaleon_cms.admin.button.actived').upcase %></span>
45
- <% else %>
46
- <a href="<%= current_site.the_url(ccc_theme_preview: theme[:key])%>" title="<%= t('camaleon_cms.admin.button.preview') %>" class="btn btn-info preview_link"><%= t('camaleon_cms.admin.button.preview') %></a>
47
- <a href="<%= cama_admin_appearances_themes_path(set: theme[:key]) %>" class="btn btn-primary"><%= t('camaleon_cms.admin.button.select')%></a>
48
- <% end %>
43
+ <% r[:links] << link_to(raw('&nbsp;&nbsp;Import Data (data.json)&nbsp;'), "#", {'onclick' => "alert('You need to install import/export plugin to import sample data.'); return false;"}) if !current_site.plugin_installed?('export_content') && File.exist?(File.join(theme["path"], "data.json")) %>
44
+ <%= raw r[:links].join(" | ") %>
45
+ <span class="btn btn-success"><%= t('camaleon_cms.admin.button.actived').upcase %></span>
46
+ <% else %>
47
+ <a href="<%= current_site.the_url(ccc_theme_preview: theme[:key])%>" title="<%= t('camaleon_cms.admin.button.preview') %>" class="btn btn-info preview_link"><%= t('camaleon_cms.admin.button.preview') %></a>
48
+ <a href="<%= cama_admin_appearances_themes_path(set: theme[:key]) %>" class="btn btn-primary"><%= t('camaleon_cms.admin.button.select')%></a>
49
+ <% end %>
50
+ </div>
51
+
49
52
  </div>
50
53
  </div>
51
54
  </div>
@@ -4,7 +4,7 @@ class AdjustFieldLength < CamaManager.migration_class
4
4
  change_column post_table, :title, :text
5
5
  remove_index(post_table, :slug) if index_exists?(post_table, :slug)
6
6
  change_column post_table, :slug, :text
7
- add_index post_table, :slug, length: 500
7
+ add_index post_table, :slug, length: 255
8
8
  change_column "#{PluginRoutes.static_system_info["db_prefix"]}term_taxonomy", :name, :text
9
9
  end
10
10
  end
@@ -60,7 +60,7 @@ module CamaleonCms
60
60
  # Dir[File.join(engine_dir, "config", "routes", "*.rb")].each{|r| app.routes_reloader.paths.unshift(r) }
61
61
 
62
62
  # extra configuration for plugins
63
- app.config.eager_load_paths += %W(#{app.config.root}/app/apps/**/)
63
+ app.config.eager_load_paths += %W(#{app.config.root}/app/apps/)
64
64
  if PluginRoutes.static_system_info['auto_include_migrations']
65
65
  PluginRoutes.all_plugins.each{ |plugin|
66
66
  app.config.paths["db/migrate"] << File.join(plugin["path"], "migrate") if Dir.exist?(File.join(plugin["path"], "migrate"));
@@ -1,3 +1,3 @@
1
1
  module CamaleonCms
2
- VERSION = '2.4.6.5'
2
+ VERSION = '2.4.6.6'
3
3
  end
@@ -7,6 +7,7 @@ require "camaleon_cms"
7
7
 
8
8
  module Dummy
9
9
  class Application < Rails::Application
10
+ config.autoloader = :classic
10
11
  # Settings in config/environments/* take precedence over those specified here.
11
12
  # Application configuration should go into files in config/initializers
12
13
  # -- all .rb files in that directory are automatically loaded.
@@ -10,7 +10,7 @@ Rails.application.configure do
10
10
  # Do not eager load code on boot. This avoids loading your whole application
11
11
  # just for the purpose of running a single test. If you are using a tool that
12
12
  # preloads Rails for running tests, you may have to set it to true.
13
- config.eager_load = false
13
+ config.eager_load = true
14
14
 
15
15
  # Configure static file server for tests with Cache-Control for performance.
16
16
  config.serve_static_files = true
Binary file
@@ -0,0 +1,109 @@
1
+  (0.3ms) DROP TABLE IF EXISTS "comments"
2
+  (0.3ms) SELECT sqlite_version(*)
3
+  (2.1ms) CREATE TABLE "comments" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "author" varchar, "author_email" varchar, "author_url" varchar, "author_IP" varchar, "content" text, "approved" varchar DEFAULT 'pending', "agent" varchar, "typee" varchar, "comment_parent" integer, "post_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
4
+  (0.7ms) CREATE INDEX "index_comments_on_approved" ON "comments" ("approved")
5
+  (0.6ms) CREATE INDEX "index_comments_on_comment_parent" ON "comments" ("comment_parent")
6
+  (0.6ms) CREATE INDEX "index_comments_on_post_id" ON "comments" ("post_id")
7
+  (0.7ms) CREATE INDEX "index_comments_on_user_id" ON "comments" ("user_id")
8
+  (0.1ms) DROP TABLE IF EXISTS "custom_fields"
9
+  (1.0ms) CREATE TABLE "custom_fields" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "object_class" varchar, "name" varchar, "slug" varchar, "objectid" integer, "parent_id" integer, "field_order" integer, "count" integer DEFAULT 0, "is_repeat" boolean DEFAULT 0, "description" text, "status" varchar)
10
+  (0.7ms) CREATE INDEX "index_custom_fields_on_object_class" ON "custom_fields" ("object_class")
11
+  (0.7ms) CREATE INDEX "index_custom_fields_on_objectid" ON "custom_fields" ("objectid")
12
+  (0.8ms) CREATE INDEX "index_custom_fields_on_parent_id" ON "custom_fields" ("parent_id")
13
+  (1.1ms) CREATE INDEX "index_custom_fields_on_slug" ON "custom_fields" ("slug")
14
+  (0.1ms) DROP TABLE IF EXISTS "custom_fields_relationships"
15
+  (0.7ms) CREATE TABLE "custom_fields_relationships" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "objectid" integer, "custom_field_id" integer, "term_order" integer, "object_class" varchar, "value" text(1073741823), "custom_field_slug" varchar, "group_number" integer DEFAULT 0)
16
+  (0.7ms) CREATE INDEX "index_custom_fields_relationships_on_custom_field_id" ON "custom_fields_relationships" ("custom_field_id")
17
+  (0.8ms) CREATE INDEX "index_custom_fields_relationships_on_custom_field_slug" ON "custom_fields_relationships" ("custom_field_slug")
18
+  (0.7ms) CREATE INDEX "index_custom_fields_relationships_on_object_class" ON "custom_fields_relationships" ("object_class")
19
+  (0.8ms) CREATE INDEX "index_custom_fields_relationships_on_objectid" ON "custom_fields_relationships" ("objectid")
20
+  (0.1ms) DROP TABLE IF EXISTS "media"
21
+  (0.8ms) CREATE TABLE "media" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "site_id" integer, "name" varchar, "is_folder" boolean DEFAULT 0, "folder_path" varchar, "file_size" varchar, "dimension" varchar DEFAULT '', "file_type" varchar, "url" varchar, "thumb" varchar, "is_public" boolean DEFAULT 1, "created_at" datetime, "updated_at" datetime)
22
+  (0.7ms) CREATE INDEX "index_media_on_folder_path" ON "media" ("folder_path")
23
+  (0.7ms) CREATE INDEX "index_media_on_is_folder" ON "media" ("is_folder")
24
+  (0.7ms) CREATE INDEX "index_media_on_name" ON "media" ("name")
25
+  (0.8ms) CREATE INDEX "index_media_on_site_id" ON "media" ("site_id")
26
+  (0.2ms) DROP TABLE IF EXISTS "metas"
27
+  (0.8ms) CREATE TABLE "metas" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "key" varchar, "value" text(1073741823), "objectid" integer, "object_class" varchar)
28
+  (0.9ms) CREATE INDEX "index_metas_on_key" ON "metas" ("key")
29
+  (0.7ms) CREATE INDEX "index_metas_on_object_class" ON "metas" ("object_class")
30
+  (0.7ms) CREATE INDEX "index_metas_on_objectid" ON "metas" ("objectid")
31
+  (0.1ms) DROP TABLE IF EXISTS "plugins_contact_forms"
32
+  (0.7ms) CREATE TABLE "plugins_contact_forms" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "site_id" integer, "count" integer, "parent_id" integer, "name" varchar, "slug" varchar, "description" text, "value" text, "settings" text, "created_at" datetime, "updated_at" datetime)
33
+  (0.1ms) DROP TABLE IF EXISTS "posts"
34
+  (0.8ms) CREATE TABLE "posts" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "title" text, "slug" text, "content" text(1073741823), "content_filtered" text(1073741823), "status" varchar DEFAULT 'published', "published_at" datetime, "post_parent" integer, "visibility" varchar DEFAULT 'public', "visibility_value" text, "post_class" varchar DEFAULT 'Post', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer, "post_order" integer DEFAULT 0, "taxonomy_id" integer, "is_feature" boolean DEFAULT 0)
35
+  (0.8ms) CREATE INDEX "index_posts_on_post_class" ON "posts" ("post_class")
36
+  (0.7ms) CREATE INDEX "index_posts_on_post_parent" ON "posts" ("post_parent")
37
+  (0.9ms) CREATE INDEX "index_posts_on_slug" ON "posts" ("slug")
38
+  (0.8ms) CREATE INDEX "index_posts_on_status" ON "posts" ("status")
39
+  (0.7ms) CREATE INDEX "index_posts_on_user_id" ON "posts" ("user_id")
40
+  (0.1ms) DROP TABLE IF EXISTS "term_relationships"
41
+  (0.7ms) CREATE TABLE "term_relationships" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "objectid" integer, "term_order" integer, "term_taxonomy_id" integer)
42
+  (0.7ms) CREATE INDEX "index_term_relationships_on_objectid" ON "term_relationships" ("objectid")
43
+  (0.8ms) CREATE INDEX "index_term_relationships_on_term_order" ON "term_relationships" ("term_order")
44
+  (0.9ms) CREATE INDEX "index_term_relationships_on_term_taxonomy_id" ON "term_relationships" ("term_taxonomy_id")
45
+  (0.2ms) DROP TABLE IF EXISTS "term_taxonomy"
46
+  (0.8ms) CREATE TABLE "term_taxonomy" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "taxonomy" varchar, "description" text(1073741823), "parent_id" integer, "count" integer, "name" text, "slug" varchar, "term_group" integer, "term_order" integer, "status" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_id" integer)
47
+  (0.7ms) CREATE INDEX "index_term_taxonomy_on_parent_id" ON "term_taxonomy" ("parent_id")
48
+  (0.7ms) CREATE INDEX "index_term_taxonomy_on_slug" ON "term_taxonomy" ("slug")
49
+  (0.8ms) CREATE INDEX "index_term_taxonomy_on_taxonomy" ON "term_taxonomy" ("taxonomy")
50
+  (0.7ms) CREATE INDEX "index_term_taxonomy_on_term_order" ON "term_taxonomy" ("term_order")
51
+  (0.9ms) CREATE INDEX "index_term_taxonomy_on_user_id" ON "term_taxonomy" ("user_id")
52
+  (0.1ms) DROP TABLE IF EXISTS "users"
53
+  (1.0ms) CREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar, "role" varchar DEFAULT 'client', "email" varchar, "slug" varchar, "password_digest" varchar, "auth_token" varchar, "password_reset_token" varchar, "parent_id" integer, "password_reset_sent_at" datetime, "last_login_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "site_id" integer DEFAULT -1, "confirm_email_token" varchar, "confirm_email_sent_at" datetime, "is_valid_email" boolean DEFAULT 1, "first_name" varchar, "last_name" varchar)
54
+  (0.7ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
55
+  (0.8ms) CREATE INDEX "index_users_on_role" ON "users" ("role")
56
+  (0.7ms) CREATE INDEX "index_users_on_site_id" ON "users" ("site_id")
57
+  (0.8ms) CREATE INDEX "index_users_on_username" ON "users" ("username")
58
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)
59
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
60
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES (20180704211100)
61
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES
62
+ (20160517143441);
63
+
64
+ 
65
+  (4.3ms) CREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
66
+ ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
67
+  (0.1ms) begin transaction
68
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["key", "environment"], ["value", "test"], ["created_at", "2019-05-22 10:49:44.653390"], ["updated_at", "2019-05-22 10:49:44.653390"]]
69
+  (0.5ms) commit transaction
70
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ? [["key", "environment"], ["LIMIT", 1]]
71
+  (0.1ms) begin transaction
72
+  (0.1ms) commit transaction
73
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
74
+  (0.1ms) PRAGMA foreign_keys
75
+  (0.1ms) PRAGMA foreign_keys = OFF
76
+  (0.8ms) DELETE FROM "comments";
77
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
78
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'comments';
79
+  (0.7ms) DELETE FROM "custom_fields";
80
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
81
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'custom_fields';
82
+  (0.7ms) DELETE FROM "custom_fields_relationships";
83
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
84
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'custom_fields_relationships';
85
+  (0.8ms) DELETE FROM "media";
86
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
87
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'media';
88
+  (0.7ms) DELETE FROM "metas";
89
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
90
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'metas';
91
+  (0.6ms) DELETE FROM "plugins_contact_forms";
92
+  (0.2ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
93
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'plugins_contact_forms';
94
+  (0.9ms) DELETE FROM "posts";
95
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
96
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'posts';
97
+  (0.7ms) DELETE FROM "term_relationships";
98
+  (0.3ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
99
+  (0.2ms) DELETE FROM sqlite_sequence where name = 'term_relationships';
100
+  (0.9ms) DELETE FROM "term_taxonomy";
101
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
102
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'term_taxonomy';
103
+  (0.8ms) DELETE FROM "users";
104
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
105
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
106
+  (0.6ms) DELETE FROM "ar_internal_metadata";
107
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
108
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'ar_internal_metadata';
109
+  (0.0ms) PRAGMA foreign_keys = 1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: camaleon_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.6.5
4
+ version: 2.4.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen Peredo Diaz
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-09 00:00:00.000000000 Z
11
+ date: 2019-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt
@@ -376,16 +376,16 @@ dependencies:
376
376
  name: rubocop
377
377
  requirement: !ruby/object:Gem::Requirement
378
378
  requirements:
379
- - - ">="
379
+ - - "~>"
380
380
  - !ruby/object:Gem::Version
381
- version: '0'
381
+ version: 0.68.1
382
382
  type: :development
383
383
  prerelease: false
384
384
  version_requirements: !ruby/object:Gem::Requirement
385
385
  requirements:
386
- - - ">="
386
+ - - "~>"
387
387
  - !ruby/object:Gem::Version
388
- version: '0'
388
+ version: 0.68.1
389
389
  description: Camaleon CMS is a dynamic and advanced content management system based
390
390
  on Ruby on Rails as an alternative to Wordpress.
391
391
  email:
@@ -1070,6 +1070,8 @@ files:
1070
1070
  - spec/dummy/config/routes.rb
1071
1071
  - spec/dummy/config/secrets.yml
1072
1072
  - spec/dummy/db/schema.rb
1073
+ - spec/dummy/db/test.sqlite3
1074
+ - spec/dummy/log/test.log
1073
1075
  - spec/factories/post.rb
1074
1076
  - spec/factories/post_type.rb
1075
1077
  - spec/factories/site.rb
@@ -1168,6 +1170,8 @@ test_files:
1168
1170
  - spec/dummy/config/secrets.yml
1169
1171
  - spec/dummy/config.ru
1170
1172
  - spec/dummy/db/schema.rb
1173
+ - spec/dummy/db/test.sqlite3
1174
+ - spec/dummy/log/test.log
1171
1175
  - spec/dummy/Rakefile
1172
1176
  - spec/dummy/README.rdoc
1173
1177
  - spec/factories/post.rb