camaleon_cms 2.4.5.12 → 2.4.5.13
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b5b841bdb1ed06f9f3ba65d2cd89e1a7bd9f5e40752d1f4933ff4e2887613be
|
4
|
+
data.tar.gz: e62d7c3127ff0707db4057f3aa6841cc3b1fdaf849cb117a01264ef0e34b237b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 948fabc9666e87b36806fca7fb2241365f011879f902bdb5c54d651c6b38f9c220ea2158d9717ea141d0f516bc37c0e30a5bbf5e148f27a88187969f639cf42c
|
7
|
+
data.tar.gz: 9e1d8973b375de51b6f8ab39d5bbd779372ad828ce29eff92049c852cc9b940492aa1f67552499380f98bac30f7cb54620784125786aaad09b3ae8aa7174a2af
|
@@ -28,7 +28,7 @@ class CamaleonCms::Admin::PostsController < CamaleonCms::AdminController
|
|
28
28
|
if params[:q].present?
|
29
29
|
params[:q] = (params[:q] || '').downcase
|
30
30
|
posts_all = posts_all.where(
|
31
|
-
"LOWER(#{CamaleonCms::Post.table_name}.title) LIKE ? OR LOWER(#{CamaleonCms::Post.table_name}.slug LIKE ?
|
31
|
+
"LOWER(#{CamaleonCms::Post.table_name}.title) LIKE ? OR LOWER(#{CamaleonCms::Post.table_name}.slug) LIKE ?",
|
32
32
|
"%#{params[:q]}%",
|
33
33
|
"%#{params[:q]}%"
|
34
34
|
)
|
@@ -37,7 +37,10 @@ class CamaleonCms::CamaleonController < ApplicationController
|
|
37
37
|
Rails.logger.debug "Camaleon CMS - 404 url: #{request.original_url rescue nil} ==> message: #{exception.message if exception.present?} ==> #{params[:error_msg]} ==> #{caller.inspect}"
|
38
38
|
@message = "#{message} #{params[:error_msg] || (exception.present? ? "#{exception.message}<br><br>#{caller.inspect}" : "")}"
|
39
39
|
@message = "" if Rails.env == "production"
|
40
|
-
|
40
|
+
respond_to do |format|
|
41
|
+
format.html { render "camaleon_cms/#{status}", :status => status }
|
42
|
+
format.any { head status }
|
43
|
+
end
|
41
44
|
end
|
42
45
|
|
43
46
|
# generate captcha image
|
@@ -72,7 +72,7 @@ module CamaleonCms::Frontend::SeoHelper
|
|
72
72
|
if l.size > 1
|
73
73
|
l.each do |lang|
|
74
74
|
s[:alternate] << {
|
75
|
-
href: current_site.the_url(locale: lang),
|
75
|
+
href: options[:object].present? ? options[:object].the_url(locale: lang) : current_site.the_url(locale: lang),
|
76
76
|
hreflang: lang
|
77
77
|
}
|
78
78
|
end
|
data/lib/camaleon_cms/version.rb
CHANGED
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.5.
|
4
|
+
version: 2.4.5.13
|
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:
|
11
|
+
date: 2019-03-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bcrypt
|
@@ -224,14 +224,14 @@ dependencies:
|
|
224
224
|
name: aws-sdk
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
226
226
|
requirements:
|
227
|
-
- - "
|
227
|
+
- - ">="
|
228
228
|
- !ruby/object:Gem::Version
|
229
229
|
version: '2'
|
230
230
|
type: :runtime
|
231
231
|
prerelease: false
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
233
|
requirements:
|
234
|
-
- - "
|
234
|
+
- - ">="
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '2'
|
237
237
|
- !ruby/object:Gem::Dependency
|