camaleon_cms 2.5.1 → 2.5.2

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ca0f68996820c7725140cb843bd93344acc9632e71119f660e08e1da42af92cf
4
- data.tar.gz: 5bd44b5de75b5ba5365a35be26c773447d30637d5f916274816b3f2bab69a955
3
+ metadata.gz: 23925db19d917a23b292d2269b3105230ea7354e77158e18f9992cc15bcd42ce
4
+ data.tar.gz: 674f93d0665b27456c715989dac686049834a0c15505100384678c6cac598b12
5
5
  SHA512:
6
- metadata.gz: ba55bf6e1b00838bd64a7b5fb8db76c06a447a163d6ed5742c43750287d898fe3ddbf4ac16a7f5f6f9af431f5159e8e5944bd4e1cb4670ddf81148a3983598cc
7
- data.tar.gz: 7f3860069465af225a39767d78c583ecfdbfdec59e5a0c26b381a32e0b84989e377642e2811bffa28f16c0aa0fa2d8496f929c65cfa9f3bfb51f5a0d29d882eb
6
+ metadata.gz: 5d248db3b523eaf1f93f2b5f7d262a77d6a109b1ff1f7f0f0f704cd1e430fcf03a0f45e633157361f42a2dc65bd6fb35969fa1407d75df668f7c1410dff0d417
7
+ data.tar.gz: 7b019ada4cfb79b750dd0b44d9f9d3cf578546008443fc51132715a5e212b5414a0eeb00683d7df82c4780965de533c0d61efcfdabc09a6a6d5c21d0f196d8a1
@@ -65,7 +65,7 @@ class CamaleonCms::Admin::SessionsController < CamaleonCms::CamaleonController
65
65
  @user = current_site.users.where(password_reset_token: params[:h]).first
66
66
  if @user.nil?
67
67
  flash[:error] = t('camaleon_cms.admin.login.message.forgot_url_incorrect')
68
- redirect_to cama_forgot_path
68
+ redirect_to cama_admin_forgot_path
69
69
  return
70
70
  elsif @user.password_reset_sent_at < 2.hours.ago
71
71
  flash[:error] = t('camaleon_cms.admin.login.message.forgot_expired')
@@ -2,7 +2,7 @@ module CamaleonCms::Admin::BreadcrumbHelper
2
2
  # draw the title for the admin admin panel according the breadcrumb
3
3
  def cama_admin_title_draw
4
4
  res = [t("camaleon_cms.admin.sidebar_top.admin_panel")]
5
- @breadcrumbs.reverse.slice(0, 2).reverse.each{|b| res << (b.is_a?(Hash) ? b[:name] : b.name) }
5
+ breadcrumbs.reverse.slice(0, 2).reverse.each{|b| res << (b.is_a?(Hash) ? b[:name] : b.name) }
6
6
  res.join(" &raquo; ")
7
7
  end
8
8
 
@@ -1,3 +1,3 @@
1
1
  module CamaleonCms
2
- VERSION = '2.5.1'
2
+ VERSION = '2.5.2'
3
3
  end
@@ -412,28 +412,3 @@ class PluginRoutes
412
412
  end
413
413
  end
414
414
  CamaManager = PluginRoutes
415
-
416
- #********* fix missing helper method for breadcrumb on rails gem **********#
417
- if PluginRoutes.isRails5?
418
- module BreadcrumbsOnRails
419
- module ActionController extend ActiveSupport::Concern
420
- def self.included(base = nil, &block)
421
- if base.nil?
422
- @_included_block = block
423
- else
424
- super
425
- end
426
- end
427
-
428
- included do |base|
429
- extend ClassMethods
430
- helper HelperMethods if respond_to? :helper
431
- helper_method :add_breadcrumb, :breadcrumbs if respond_to? :helper_method
432
-
433
- unless base.respond_to?(:before_action)
434
- base.alias_method :before_action, :before_filter
435
- end
436
- end
437
- end
438
- end
439
- end
@@ -231,3 +231,24 @@ Migrating to AdjustFieldLength (20180704211100)
231
231
   (2.3ms) commit transaction
232
232
   (0.2ms) SELECT sqlite_version(*)
233
233
   (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
234
+ DEPRECATION WARNING: `.represent_boolean_as_integer=` is now always true, so setting this is deprecated and will be removed in Rails 6.1. (called from <top (required)> at /Volumes/DocumentsHD/www/rails/camaleon/camaleon-cms/config/initializers/active_record_extension.rb:23)
235
+  (1.8ms) SELECT sqlite_version(*)
236
+ CamaleonCms::Site Exists? (0.7ms) SELECT 1 AS one FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? LIMIT ? [["taxonomy", "site"], ["LIMIT", 1]]
237
+ DEPRECATION WARNING: Initialization autoloaded the constants Plugins, Plugins::Attack, Plugins::Attack::Config, CamaleonCms::Metas, CamaleonCms::CustomFieldsRead, CamaleonCms::UniqValidator, CamaleonCms::TermTaxonomy, CamaleonCms::SiteDefaultSettings, CamaleonCms::Site, Plugins::FrontCache, Plugins::FrontCache::Config, CamaleonCms::PostDefault, CamaleonCms::CategoriesTagsForPosts, CamaleonCms::Post, CamaleonCms::PostUniqValidator, CamaleonCms::Category, CamaleonCms::PostTag, CamaleonCms::PostType, and CamaleonCms::TermRelationship.
238
+
239
+ Being able to do this is deprecated. Autoloading during initialization is going
240
+ to be an error condition in future versions of Rails.
241
+
242
+ Reloading does not reboot the application, and therefore code executed during
243
+ initialization does not run again. So, if you reload Plugins, for example,
244
+ the expected changes won't be reflected in that stale Module object.
245
+
246
+ These autoloaded constants have been unloaded.
247
+
248
+ Please, check the "Autoloading and Reloading Constants" guide for solutions.
249
+ (called from <top (required)> at /Volumes/DocumentsHD/www/rails/camaleon/camaleon-cms/spec/dummy/config/environment.rb:5)
250
+  (0.1ms) SELECT sqlite_version(*)
251
+ CamaleonCms::Site Load (0.2ms) SELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."id" ASC LIMIT ? [["taxonomy", "site"], ["LIMIT", 1]]
252
+ CamaleonCms::Site Load (0.2ms) SELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."term_group" DESC, "term_taxonomy"."id" ASC [["taxonomy", "site"]]
253
+ DEPRECATION WARNING: Using `bin/rake routes` is deprecated and will be removed in Rails 6.1. Use `bin/rails routes` instead.
254
+ (called from load at /Users/owenperedo/.rvm/gems/ruby-2.5.3/bin/rake:23)
@@ -46366,3 +46366,19 @@ CamaleonCms::HtmlMailer#sender: processed outbound mail in 7.4ms
46366
46366
   (0.1ms) SELECT "term_taxonomy"."slug", "term_taxonomy"."id" FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? AND "term_taxonomy"."parent_id" = ? [["taxonomy", "post_type"], ["parent_id", 1]]
46367
46367
   (0.1ms) RELEASE SAVEPOINT active_record_1
46368
46368
   (1.5ms) rollback transaction
46369
+  (2.0ms) SELECT sqlite_version(*)
46370
+ CamaleonCms::Site Exists? (0.4ms) SELECT 1 AS one FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? LIMIT ? [["taxonomy", "site"], ["LIMIT", 1]]
46371
+  (0.1ms) SELECT sqlite_version(*)
46372
+ CamaleonCms::Site Load (0.2ms) SELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."id" ASC LIMIT ? [["taxonomy", "site"], ["LIMIT", 1]]
46373
+ CamaleonCms::Site Load (0.2ms) SELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."term_group" DESC, "term_taxonomy"."id" ASC [["taxonomy", "site"]]
46374
+  (0.1ms) SELECT sqlite_version(*)
46375
+  (0.4ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "schema_sha1"]]
46376
+  (3.0ms) SELECT sqlite_version(*)
46377
+ CamaleonCms::Site Exists? (0.2ms) SELECT 1 AS one FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? LIMIT ? [["taxonomy", "site"], ["LIMIT", 1]]
46378
+  (0.1ms) SELECT sqlite_version(*)
46379
+ CamaleonCms::Site Load (0.1ms) SELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."id" ASC LIMIT ? [["taxonomy", "site"], ["LIMIT", 1]]
46380
+ CamaleonCms::Site Load (0.2ms) SELECT "term_taxonomy".* FROM "term_taxonomy" WHERE "term_taxonomy"."taxonomy" = ? ORDER BY "term_taxonomy"."term_group" DESC, "term_taxonomy"."id" ASC [["taxonomy", "site"]]
46381
+  (0.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
46382
+  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? [["key", "environment"]]
46383
+  (0.1ms) SELECT sqlite_version(*)
46384
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
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.5.1
4
+ version: 2.5.2
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: 2020-01-20 00:00:00.000000000 Z
11
+ date: 2020-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bcrypt
@@ -1160,7 +1160,7 @@ requirements:
1160
1160
  - ruby >= 2.2
1161
1161
  - imagemagick
1162
1162
  rubyforge_project:
1163
- rubygems_version: 2.7.7
1163
+ rubygems_version: 2.7.9
1164
1164
  signing_key:
1165
1165
  specification_version: 4
1166
1166
  summary: Camaleon is a CMS for Ruby on Rails as an alternative to Wordpress.