camaleon_cms 2.4.6.8 → 2.4.6.9

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: 466d505e2b143425b7dc5d4c0a9e3102686a6474a32bf724f061a8579adc915a
4
- data.tar.gz: 1329f4f0f39e95b2d595fd35683d49a475cfd2b1a9acd9d7f665676997753ca6
3
+ metadata.gz: b1c8476ef3365232d1b41494c06c66d5209132e46de2d82d138e57248b213af5
4
+ data.tar.gz: 4fde82e12120242fc58dcd5e14222084be61437c6bc30bda69acd1197be930f3
5
5
  SHA512:
6
- metadata.gz: e7f057187fdc8346ad80503044a6bdfc94e883da7cea9e0f785be8dd0c14f4ac8f7233009c18e5596a2fabc9cbee17d115d2c5446b0221d18c25e6c726eb0b07
7
- data.tar.gz: ce68bc9be33f022d410936db77ad97e0a2c1b77f41f7a1a01d1aa8b19bb150039b9d27eb772a195dead73192cc834ca214285a1298ff8cc36a0c97b1ff1e38fc
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
@@ -4,3 +4,5 @@ Rails.application.config.to_prepare do
4
4
  has_many :attack, class_name: "Plugins::Attack::Models::Attack"
5
5
  end
6
6
  end
7
+
8
+ class Plugins::Attack::Config::CustomModels; end
@@ -3,3 +3,5 @@ if(CamaleonCms::Site.any? rescue false)
3
3
  site.set_option("refresh_cache", true)
4
4
  end
5
5
  end
6
+
7
+ class Plugins::FrontCache::Config::Initializer; end
@@ -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
- }
@@ -1,3 +1,3 @@
1
1
  module CamaleonCms
2
- VERSION = '2.4.6.8'
2
+ VERSION = '2.4.6.9'
3
3
  end
@@ -0,0 +1,4 @@
1
+ //= link_tree ../images
2
+ //= link_tree ../javascripts
3
+ //= link_tree ../stylesheets
4
+ //= link camaleon-cms.js
@@ -7,7 +7,7 @@ require "camaleon_cms"
7
7
 
8
8
  module Dummy
9
9
  class Application < Rails::Application
10
- config.autoloader = :classic
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
- # Rails.application.config.assets.precompile += %w( search.js )
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.8
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