camaleon_cms 2.4.6.8 → 2.4.6.9
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 +4 -4
- data/README.md +0 -9
- data/app/apps/plugins/attack/config/custom_models.rb +2 -0
- data/app/apps/plugins/front_cache/config/initializer.rb +2 -0
- data/app/assets/config/camaleon-cms.js +10 -0
- data/config/initializers/assets.rb +0 -17
- data/lib/camaleon_cms/version.rb +1 -1
- data/spec/dummy/app/assets/config/manifest.js +4 -0
- data/spec/dummy/config/application.rb +1 -1
- data/spec/dummy/config/initializers/assets.rb +1 -1
- metadata +4 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b1c8476ef3365232d1b41494c06c66d5209132e46de2d82d138e57248b213af5
|
4
|
+
data.tar.gz: 4fde82e12120242fc58dcd5e14222084be61437c6bc30bda69acd1197be930f3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aa4621ffcac1e2b76fdd1e8b6544e61c1d15bd9128c0fc8b93f3b7b9cb3ee227e3fe625ccbb5044459b3f59a3906b33dd47a6d900fb92017f8bdc46e5d138a5
|
7
|
+
data.tar.gz: 9091e5e86b0e486abcdd6efb3b90597444b9339d82d93a421d83c4108d3af23fafe26f6063dfb146b9b2651df0c6d0d235726473bd4c78dd126bfc2ae35d69e1
|
data/README.md
CHANGED
@@ -131,15 +131,6 @@ http://camaleon.tuzitio.com/store/plugins
|
|
131
131
|
bundle install
|
132
132
|
```
|
133
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
|
141
|
-
```
|
142
|
-
|
143
134
|
* Camaleon CMS Installation
|
144
135
|
|
145
136
|
```bash
|
@@ -0,0 +1,10 @@
|
|
1
|
+
//= link_tree ../fonts
|
2
|
+
//= link_tree ../images
|
3
|
+
//= link_tree ../javascripts
|
4
|
+
//= link_tree ../stylesheets
|
5
|
+
//= link_tree ../../apps/themes/default/assets
|
6
|
+
//= link_tree ../../apps/themes/camaleon_first/assets
|
7
|
+
//= link_tree ../../apps/themes/new/assets
|
8
|
+
//= link_tree ../../apps/plugins/visibility_post/assets/js
|
9
|
+
//= link plugins/cama_contact_form/admin_editor.js
|
10
|
+
//= link camaleon_cms/admin/nav_menu.js
|
@@ -4,20 +4,3 @@
|
|
4
4
|
Rails.application.config.assets.version = '1.0'
|
5
5
|
|
6
6
|
Rails.application.config.tinymce.install = :compile
|
7
|
-
|
8
|
-
# Add additional assets to the asset load path
|
9
|
-
Rails.application.config.assets.precompile += %w( camaleon_cms/* )
|
10
|
-
# Rails.application.config.assets.precompile += %w( themes/*/assets/* )
|
11
|
-
|
12
|
-
# This will precompile any assets, not just JavaScript (.js, .coffee, .swf, .css, .scss)
|
13
|
-
Rails.application.config.assets.precompile << Proc.new { |path|
|
14
|
-
res = false
|
15
|
-
if File.dirname(path).start_with?('plugins/') || File.dirname(path).start_with?('themes/')
|
16
|
-
name = File.basename(path)
|
17
|
-
content_type = MIME::Types.type_for(name).first.content_type rescue ""
|
18
|
-
if (path =~ /\.(css|js|svg|ttf|woff|eot|swf|pdf|png|jpg|gif)\z/ || content_type.scan(/(javascript|image\/|audio|video|font)/).any?) && !name.start_with?("_") && !path.include?('/views/')
|
19
|
-
res = true
|
20
|
-
end
|
21
|
-
end
|
22
|
-
res
|
23
|
-
}
|
data/lib/camaleon_cms/version.rb
CHANGED
@@ -7,7 +7,7 @@ require "camaleon_cms"
|
|
7
7
|
|
8
8
|
module Dummy
|
9
9
|
class Application < Rails::Application
|
10
|
-
config.autoloader = :
|
10
|
+
config.autoloader = :zeitwerk
|
11
11
|
# Settings in config/environments/* take precedence over those specified here.
|
12
12
|
# Application configuration should go into files in config/initializers
|
13
13
|
# -- all .rb files in that directory are automatically loaded.
|
@@ -8,4 +8,4 @@ Rails.application.config.assets.version = '1.0'
|
|
8
8
|
|
9
9
|
# Precompile additional assets.
|
10
10
|
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
11
|
-
|
11
|
+
Rails.application.config.assets.precompile += %w( manifest.js )
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camaleon_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.6.
|
4
|
+
version: 2.4.6.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Owen Peredo Diaz
|
@@ -504,6 +504,7 @@ files:
|
|
504
504
|
- app/apps/themes/new/views/post_tag.html.erb
|
505
505
|
- app/apps/themes/new/views/post_type.html.erb
|
506
506
|
- app/apps/themes/new/views/search.html.erb
|
507
|
+
- app/assets/config/camaleon-cms.js
|
507
508
|
- app/assets/fonts/camaleon_cms/glyphicons-halflings-regular.eot
|
508
509
|
- app/assets/fonts/camaleon_cms/glyphicons-halflings-regular.svg
|
509
510
|
- app/assets/fonts/camaleon_cms/glyphicons-halflings-regular.ttf
|
@@ -1039,6 +1040,7 @@ files:
|
|
1039
1040
|
- lib/tasks/camaleon_cms/rspec_test.rake
|
1040
1041
|
- spec/dummy/README.rdoc
|
1041
1042
|
- spec/dummy/Rakefile
|
1043
|
+
- spec/dummy/app/assets/config/manifest.js
|
1042
1044
|
- spec/dummy/app/assets/javascripts/application.js
|
1043
1045
|
- spec/dummy/app/assets/stylesheets/application.css
|
1044
1046
|
- spec/dummy/app/controllers/application_controller.rb
|
@@ -1163,6 +1165,7 @@ signing_key:
|
|
1163
1165
|
specification_version: 4
|
1164
1166
|
summary: Camaleon is a CMS for Ruby on Rails as an alternative to Wordpress.
|
1165
1167
|
test_files:
|
1168
|
+
- spec/dummy/app/assets/config/manifest.js
|
1166
1169
|
- spec/dummy/app/assets/javascripts/application.js
|
1167
1170
|
- spec/dummy/app/assets/stylesheets/application.css
|
1168
1171
|
- spec/dummy/app/controllers/application_controller.rb
|