camaleon_sitemap_customizer 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -3
- data/Rakefile +17 -15
- data/app/controllers/plugins/camaleon_sitemap_customizer/admin_controller.rb +15 -10
- data/app/helpers/plugins/camaleon_sitemap_customizer/main_helper.rb +40 -17
- data/app/jobs/camaleon_sitemap_customizer/submit_sitemap_job.rb +10 -0
- data/app/views/camaleon_cms/default_theme/sitemap_with_caching.xml.builder +20 -14
- data/app/views/plugins/camaleon_sitemap_customizer/admin/settings.html.erb +6 -0
- data/config/camaleon_plugin.json +7 -4
- data/config/locales/en.yml +2 -0
- data/config/routes.rb +8 -6
- data/lib/camaleon_sitemap_customizer.rb +3 -1
- data/lib/camaleon_sitemap_customizer/engine.rb +2 -0
- data/lib/camaleon_sitemap_customizer/version.rb +3 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ad9758dc86d24fe6230d89e0b42d1e5e80d1317e1f8be9f6bca54ae3d0bb2be
|
4
|
+
data.tar.gz: 8f9d394eab31aba632a49e2a96f17dbea90acc56a941e30f17d36b96d4abeafe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 215630221044ccefc5579e0260fdabd49d856f324b739cd88b4e3f6edb22ef98b3caaceed6946cdbb44fa0cdcd3036fa2390833af289c7a4f1f341cc5b0cc60b
|
7
|
+
data.tar.gz: e43d31a7c9b32f85d79e3f17463252a15685889c07af38ca85582ecf74c797a8673ce6853eded983cab522a09a83645f9189f869211135053f6427796fea0af4
|
data/README.md
CHANGED
@@ -1,14 +1,19 @@
|
|
1
|
-
![](https://img.shields.io/badge/ruby-2.
|
1
|
+
![](https://img.shields.io/badge/ruby-2.4%2B-red.svg)
|
2
2
|
![Gem Version](https://img.shields.io/gem/v/camaleon_sitemap_customizer.svg?colorB=blue)
|
3
|
+
[![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
|
3
4
|
[![Build Status](https://travis-ci.com/brian-kephart/camaleon_sitemap_customizer.svg?branch=master)](https://travis-ci.com/brian-kephart/camaleon_sitemap_customizer)
|
4
5
|
|
6
|
+
|
5
7
|
# Camaleon Sitemap Customizer
|
6
8
|
Camaleon CMS automatically generates sitemaps for all content of your site. This plugin allows you to select content to omit from the sitemap. You may wish to do this for a variety of reasons:
|
7
9
|
- Keep search engines from indexing pages that are not relevant to the general public.
|
8
10
|
- Keep search engines from indexing summary pages that only contain duplicate content.
|
9
11
|
- Remove redundant entries. (ex. – 'https://yoursite.com', 'https://yoursite.com/index')
|
10
12
|
|
11
|
-
This plugin also comes with
|
13
|
+
This plugin also comes with:
|
14
|
+
- an optional sitemap template that includes caching to speed up rendering,
|
15
|
+
- links in plugin settings to submit your sitemap to Google,
|
16
|
+
- an option to automatically resubmit your sitemap to Google when changes are made (requires ActiveJob).
|
12
17
|
|
13
18
|
## Installation
|
14
19
|
Add this line to your application's Gemfile:
|
@@ -45,7 +50,7 @@ This plugin offers an XML builder template that uses Russian doll caching to spe
|
|
45
50
|
|
46
51
|
If you wish to make changes to the included template:
|
47
52
|
1. **Disable** the caching option in the plugin settings.
|
48
|
-
2. Copy the included `app/views/
|
53
|
+
2. Copy the included `app/views/camaleon_cms/default_theme/sitemap_with_caching.xml.builder` into your app's `app/apps/themes/your_theme/views/sitemap.xml.builder` and make your changes. Camaleon will use the `sitemap.xml.builder` file in your theme directory by default.
|
49
54
|
|
50
55
|
## Contributing
|
51
56
|
See CONTRIBUTING.md
|
data/Rakefile
CHANGED
@@ -1,31 +1,33 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
begin
|
2
|
-
require
|
4
|
+
require "bundler/setup"
|
3
5
|
rescue LoadError
|
4
|
-
puts
|
6
|
+
puts "You must `gem install bundler` and `bundle install` to run rake tasks"
|
5
7
|
end
|
6
8
|
|
7
|
-
require
|
9
|
+
require "rdoc/task"
|
8
10
|
|
9
11
|
RDoc::Task.new(:rdoc) do |rdoc|
|
10
|
-
rdoc.rdoc_dir =
|
11
|
-
rdoc.title
|
12
|
-
rdoc.options <<
|
13
|
-
rdoc.rdoc_files.include(
|
14
|
-
rdoc.rdoc_files.include(
|
12
|
+
rdoc.rdoc_dir = "rdoc"
|
13
|
+
rdoc.title = "CamaleonSitemapCustomizer"
|
14
|
+
rdoc.options << "--line-numbers"
|
15
|
+
rdoc.rdoc_files.include("README.md")
|
16
|
+
rdoc.rdoc_files.include("lib/**/*.rb")
|
15
17
|
end
|
16
18
|
|
17
|
-
APP_RAKEFILE = File.expand_path(
|
18
|
-
load
|
19
|
+
APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
|
20
|
+
load "rails/tasks/engine.rake"
|
19
21
|
|
20
|
-
load
|
22
|
+
load "rails/tasks/statistics.rake"
|
21
23
|
|
22
|
-
require
|
24
|
+
require "bundler/gem_tasks"
|
23
25
|
|
24
|
-
require
|
26
|
+
require "rake/testtask"
|
25
27
|
|
26
28
|
Rake::TestTask.new(:test) do |t|
|
27
|
-
t.libs <<
|
28
|
-
t.pattern =
|
29
|
+
t.libs << "test"
|
30
|
+
t.pattern = "test/**/*_test.rb"
|
29
31
|
t.verbose = false
|
30
32
|
end
|
31
33
|
|
@@ -1,19 +1,24 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
class Plugins::CamaleonSitemapCustomizer::AdminController < CamaleonCms::Apps::PluginsAdminController
|
2
4
|
DEFAULT_OPTIONS = {
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
"skip_post_types" => [],
|
6
|
+
"skip_post_list_types" => [],
|
7
|
+
"skip_category_list_types" => [],
|
8
|
+
"skip_all_categories" => false,
|
9
|
+
"skip_tags" => false,
|
10
|
+
"skip_home" => false,
|
11
|
+
"cache" => Rails.env.test?,
|
12
|
+
"submit_changes_to_google" => false
|
10
13
|
}.freeze
|
11
14
|
|
12
15
|
include Plugins::CamaleonSitemapCustomizer::MainHelper
|
13
|
-
def index
|
16
|
+
def index
|
17
|
+
end
|
14
18
|
|
15
19
|
# show settings form
|
16
|
-
def settings
|
20
|
+
def settings
|
21
|
+
end
|
17
22
|
|
18
23
|
# save values from settings form
|
19
24
|
def save_settings
|
@@ -21,6 +26,6 @@ class Plugins::CamaleonSitemapCustomizer::AdminController < CamaleonCms::Apps::P
|
|
21
26
|
@plugin.set_options(options) # save option values
|
22
27
|
@plugin.set_metas(params[:metas]) if params[:metas].present? # save meta values
|
23
28
|
@plugin.set_field_values(params[:field_options]) if params[:field_options].present? # save custom field values
|
24
|
-
redirect_to url_for(action: :settings), notice:
|
29
|
+
redirect_to url_for(action: :settings), notice: "Settings Saved Successfully"
|
25
30
|
end
|
26
31
|
end
|
@@ -1,25 +1,35 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module Plugins::CamaleonSitemapCustomizer::MainHelper
|
4
|
+
# methods accessible from views
|
2
5
|
def self.included(klass)
|
3
|
-
|
6
|
+
klass.helper_method [:camaleon_sitemap_customizer_google_submit_url]
|
7
|
+
rescue
|
8
|
+
""
|
4
9
|
end
|
5
10
|
|
6
11
|
def camaleon_sitemap_customizer_on_active(plugin)
|
7
12
|
skip_posts plugin
|
8
13
|
end
|
9
14
|
|
10
|
-
def camaleon_sitemap_customizer_on_inactive(plugin)
|
15
|
+
def camaleon_sitemap_customizer_on_inactive(plugin)
|
16
|
+
end
|
11
17
|
|
12
18
|
def camaleon_sitemap_customizer_on_upgrade(plugin)
|
13
19
|
skip_posts plugin
|
14
20
|
end
|
15
21
|
|
16
22
|
def camaleon_sitemap_customizer_on_plugin_options(args)
|
17
|
-
args[:links] << [
|
23
|
+
args[:links] << [
|
24
|
+
link_to("Settings", admin_plugins_camaleon_sitemap_customizer_settings_path),
|
25
|
+
link_to("View Sitemap", cama_sitemap_url, target: :blank),
|
26
|
+
link_to("Submit Sitemap to Google", camaleon_sitemap_customizer_google_submit_url, target: :blank)
|
27
|
+
]
|
18
28
|
end
|
19
29
|
|
20
30
|
def customize_sitemap(args)
|
21
31
|
# completely excluded content types
|
22
|
-
args[:skip_posttype_ids] += current_plugin.get_option(
|
32
|
+
args[:skip_posttype_ids] += current_plugin.get_option("skip_post_types")&.map(&:to_i).presence || []
|
23
33
|
args[:skip_posttype_ids].each do |ptype|
|
24
34
|
# leave out post pages within content type
|
25
35
|
args[:skip_post_ids] += current_site.the_posts(ptype).map(&:id)
|
@@ -28,51 +38,64 @@ module Plugins::CamaleonSitemapCustomizer::MainHelper
|
|
28
38
|
end
|
29
39
|
|
30
40
|
# excluded list pages
|
31
|
-
args[:skip_posttype_ids] += current_plugin.get_option(
|
32
|
-
args[:skip_cat_ids]
|
33
|
-
args[:skip_tag_ids]
|
41
|
+
args[:skip_posttype_ids] += current_plugin.get_option("skip_post_list_types")&.map(&:to_i).presence || []
|
42
|
+
args[:skip_cat_ids] += select_categories
|
43
|
+
args[:skip_tag_ids] += current_site.the_tags.map(&:id) if current_plugin.get_option("skip_tags")
|
34
44
|
|
35
45
|
# exclude individual posts via post editor option
|
36
|
-
args[:skip_post_ids]
|
46
|
+
args[:skip_post_ids] += current_plugin.get_option("skip_posts").presence || []
|
37
47
|
|
38
48
|
# exclude redundant home page url
|
39
|
-
args[:skip_post_ids]
|
49
|
+
args[:skip_post_ids] << current_site.options.dig(:home_page).to_i if current_plugin.get_option("skip_home") && current_site.options.dig(:home_page).present?
|
40
50
|
|
41
51
|
# use caching in sitemap
|
42
|
-
args[:render] = cached_sitemap_template if current_plugin.get_option(
|
52
|
+
args[:render] = cached_sitemap_template if current_plugin.get_option("cache").present?
|
43
53
|
end
|
44
54
|
|
45
55
|
def camaleon_sitemap_customizer_form(args)
|
46
56
|
args[:extra_settings] << "
|
47
57
|
<div class='form-group'>
|
48
58
|
<label for='options_hide_in_sitemap' class='control-label'>
|
49
|
-
<input type='checkbox' name='options[hide_in_sitemap]' id='options_hide_in_sitemap' value='true' #{
|
50
|
-
#{cama_t(
|
59
|
+
<input type='checkbox' name='options[hide_in_sitemap]' id='options_hide_in_sitemap' value='true' #{"checked" if args[:post].get_option("hide_in_sitemap").present?}>
|
60
|
+
#{cama_t("hide_in_sitemap")}?
|
51
61
|
</label>
|
52
62
|
</div>
|
53
63
|
"
|
54
64
|
end
|
55
65
|
|
66
|
+
def camaleon_sitemap_customizer_google_submit_url
|
67
|
+
"https://www.google.com/ping?sitemap=#{cama_sitemap_url}"
|
68
|
+
end
|
69
|
+
|
56
70
|
def camaleon_sitemap_customizer_save(args)
|
57
|
-
args[:post].set_option
|
71
|
+
args[:post].set_option "hide_in_sitemap", false unless params.dig(:options, "hide_in_sitemap").present?
|
58
72
|
skip_posts current_plugin
|
59
73
|
end
|
60
74
|
|
75
|
+
def camaleon_sitemap_customizer_submit_sitemap(_args)
|
76
|
+
plugin = current_site.get_plugin("camaleon_sitemap_customizer").decorate
|
77
|
+
return unless plugin.get_option "submit_changes_to_google"
|
78
|
+
CamaleonSitemapCustomizer::SubmitSitemapJob.perform_later camaleon_sitemap_customizer_google_submit_url
|
79
|
+
flash[:alert] = "Sitemap submitted."
|
80
|
+
rescue => e
|
81
|
+
flash[:alert] = e.message
|
82
|
+
end
|
83
|
+
|
61
84
|
private
|
62
85
|
|
63
86
|
def skip_posts(plugin)
|
64
|
-
plugin.set_option
|
87
|
+
plugin.set_option "skip_posts", current_site.the_posts.eager_load(:metas).select { |post| post.get_option("hide_in_sitemap").present? } .map(&:id)
|
65
88
|
end
|
66
89
|
|
67
90
|
def select_categories
|
68
|
-
if current_plugin.get_option(
|
91
|
+
if current_plugin.get_option("skip_all_categories").present?
|
69
92
|
current_site.the_full_categories.pluck(:id)
|
70
93
|
else
|
71
|
-
current_plugin.get_option(
|
94
|
+
current_plugin.get_option("skip_category_list_types")&.map(&:to_i).presence || []
|
72
95
|
end
|
73
96
|
end
|
74
97
|
|
75
98
|
def cached_sitemap_template
|
76
|
-
|
99
|
+
"sitemap_with_caching"
|
77
100
|
end
|
78
101
|
end
|
@@ -1,23 +1,26 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
xml.instruct! :xml, version: "1.0"
|
4
|
+
xml.urlset xmlns: "http://www.sitemaps.org/schemas/sitemap/0.9" do
|
3
5
|
current_site.get_languages.each_with_index do |lang, index|
|
4
6
|
lang = (index.zero? ? nil : lang)
|
5
7
|
xml.url do
|
6
8
|
xml.loc current_site.the_url(locale: lang)
|
7
9
|
xml.lastmod current_site.updated_at.to_date
|
8
|
-
xml.changefreq
|
9
|
-
xml.priority
|
10
|
+
xml.changefreq "daily"
|
11
|
+
xml.priority "1.0"
|
10
12
|
end
|
11
13
|
|
12
14
|
cache ["xml_sitemap/posts/#{current_site.the_posts.maximum :updated_at}", @r[:skip_post_ids]] do
|
13
15
|
current_site.the_posts.decorate.each do |post|
|
14
16
|
next if @r[:skip_post_ids].include? post.id
|
17
|
+
|
15
18
|
cache post do
|
16
19
|
xml.url do
|
17
20
|
xml.loc post.the_url(locale: lang)
|
18
21
|
xml.lastmod post.updated_at.to_date
|
19
|
-
xml.changefreq
|
20
|
-
xml.priority
|
22
|
+
xml.changefreq "monthly"
|
23
|
+
xml.priority "0.5"
|
21
24
|
end
|
22
25
|
end
|
23
26
|
end
|
@@ -26,12 +29,13 @@ xml.urlset xmlns: 'http://www.sitemaps.org/schemas/sitemap/0.9' do
|
|
26
29
|
cache ["xml_sitemap/categories/#{current_site.full_categories.maximum :updated_at}", @r[:skip_cat_ids]] do
|
27
30
|
current_site.full_categories.no_empty.decorate.each do |cat|
|
28
31
|
next if @r[:skip_cat_ids].include? cat.id
|
32
|
+
|
29
33
|
cache cat do
|
30
34
|
xml.url do
|
31
35
|
xml.loc cat.the_url(locale: lang)
|
32
36
|
xml.lastmod cat.updated_at.to_date
|
33
|
-
xml.changefreq
|
34
|
-
xml.priority
|
37
|
+
xml.changefreq "monthly"
|
38
|
+
xml.priority "0.5"
|
35
39
|
end
|
36
40
|
end
|
37
41
|
end
|
@@ -40,12 +44,13 @@ xml.urlset xmlns: 'http://www.sitemaps.org/schemas/sitemap/0.9' do
|
|
40
44
|
cache ["xml_sitemap/post_types/#{current_site.post_types.maximum :updated_at}", @r[:skip_posttype_ids]] do
|
41
45
|
current_site.post_types.decorate.each do |ptype|
|
42
46
|
next if @r[:skip_posttype_ids].include? ptype.id
|
47
|
+
|
43
48
|
cache ptype do
|
44
49
|
xml.url do
|
45
50
|
xml.loc ptype.the_url(locale: lang)
|
46
51
|
xml.lastmod ptype.updated_at.to_date
|
47
|
-
xml.changefreq
|
48
|
-
xml.priority
|
52
|
+
xml.changefreq "monthly"
|
53
|
+
xml.priority "0.5"
|
49
54
|
end
|
50
55
|
end
|
51
56
|
end
|
@@ -54,12 +59,13 @@ xml.urlset xmlns: 'http://www.sitemaps.org/schemas/sitemap/0.9' do
|
|
54
59
|
cache ["xml_sitemap/post_tags/#{current_site.post_types.maximum :updated_at}", @r[:skip_tag_ids]] do
|
55
60
|
current_site.post_tags.decorate.each do |tag|
|
56
61
|
next if @r[:skip_tag_ids].include? tag.id
|
62
|
+
|
57
63
|
cache tag do
|
58
64
|
xml.url do
|
59
65
|
xml.loc tag.the_url(locale: lang)
|
60
66
|
xml.lastmod tag.updated_at.to_date
|
61
|
-
xml.changefreq
|
62
|
-
xml.priority
|
67
|
+
xml.changefreq "monthly"
|
68
|
+
xml.priority "0.5"
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -72,8 +78,8 @@ xml.urlset xmlns: 'http://www.sitemaps.org/schemas/sitemap/0.9' do
|
|
72
78
|
xml.url do
|
73
79
|
xml.loc item[:url]
|
74
80
|
xml.lastmod item[:lastmod] || Date.today.to_s
|
75
|
-
xml.changefreq item[:changefreq] ||
|
76
|
-
xml.priority item[:priority] ||
|
81
|
+
xml.changefreq item[:changefreq] || "monthly"
|
82
|
+
xml.priority item[:priority] || "0.5"
|
77
83
|
end
|
78
84
|
end
|
79
85
|
end
|
@@ -61,7 +61,13 @@
|
|
61
61
|
<%= check_box_tag "options[cache]", 1, @plugin.get_option('cache'), style: 'display: block;' %>
|
62
62
|
</div>
|
63
63
|
|
64
|
+
<div class="form-group">
|
65
|
+
<label><%= cama_t 'submit_changes_to_google' %></label>
|
66
|
+
<%= check_box_tag "options[submit_changes_to_google]", 1, @plugin.get_option('submit_changes_to_google'), style: 'display: block;' %>
|
67
|
+
</div>
|
68
|
+
|
64
69
|
<div class="form-group text-right">
|
70
|
+
<%= link_to cama_t("submit_sitemap_to_google"), camaleon_sitemap_customizer_google_submit_url, target: :blank %>
|
65
71
|
<%= link_to 'View Sitemap', '/sitemap', target: 'blank' %>
|
66
72
|
<%= submit_tag 'Save Settings', class: 'btn btn-primary' %>
|
67
73
|
</div>
|
data/config/camaleon_plugin.json
CHANGED
@@ -6,12 +6,15 @@
|
|
6
6
|
"Plugins::CamaleonSitemapCustomizer::MainHelper"
|
7
7
|
],
|
8
8
|
"hooks": {
|
9
|
-
"
|
10
|
-
"edit_post":["camaleon_sitemap_customizer_form"],
|
11
|
-
"
|
9
|
+
"created_post": ["camaleon_sitemap_customizer_submit_sitemap"],
|
10
|
+
"edit_post": ["camaleon_sitemap_customizer_form"],
|
11
|
+
"new_post": ["camaleon_sitemap_customizer_form"],
|
12
12
|
"on_active": ["camaleon_sitemap_customizer_on_active"],
|
13
13
|
"on_inactive": ["camaleon_sitemap_customizer_on_inactive"],
|
14
|
+
"on_render_sitemap": ["customize_sitemap"],
|
14
15
|
"plugin_options": ["camaleon_sitemap_customizer_on_plugin_options"],
|
15
|
-
"
|
16
|
+
"restored_post": ["camaleon_sitemap_customizer_submit_sitemap"],
|
17
|
+
"trashed_post": ["camaleon_sitemap_customizer_submit_sitemap"],
|
18
|
+
"updated_post": ["camaleon_sitemap_customizer_save", "camaleon_sitemap_customizer_submit_sitemap"]
|
16
19
|
}
|
17
20
|
}
|
data/config/locales/en.yml
CHANGED
@@ -9,3 +9,5 @@ en:
|
|
9
9
|
tags: "Exclude Tags"
|
10
10
|
homepage: "Exclude duplicate home page url? (ex. – remove www.mysite.com/home if this renders the same post as www.mysite.com)"
|
11
11
|
cache: "Use caching to speed up sitemap rendering?"
|
12
|
+
submit_changes_to_google: "Submit sitemap to Google when changes are made? (requires ActiveJob)"
|
13
|
+
submit_sitemap_to_google: "Submit sitemap to Google"
|
data/config/routes.rb
CHANGED
@@ -1,12 +1,14 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "plugin_routes"
|
4
|
+
require "camaleon_cms/engine"
|
3
5
|
|
4
6
|
Rails.application.routes.draw do
|
5
|
-
scope PluginRoutes.system_info[
|
7
|
+
scope PluginRoutes.system_info["relative_url_root"] do
|
6
8
|
# Admin Panel
|
7
|
-
scope :admin, as:
|
8
|
-
namespace
|
9
|
-
namespace
|
9
|
+
scope :admin, as: "admin", path: PluginRoutes.system_info["admin_path_name"] do
|
10
|
+
namespace "plugins" do
|
11
|
+
namespace "camaleon_sitemap_customizer" do
|
10
12
|
controller :admin do
|
11
13
|
get :index
|
12
14
|
get :settings
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: camaleon_sitemap_customizer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Kephart
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-03-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: camaleon_cms
|
@@ -25,33 +25,33 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '2.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: sqlite3
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1.4'
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: rails
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 6.0.0
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 6.0.0
|
55
55
|
description: Customize auto-generated sitemap in Camaleon CMS. Eliminate duplicate
|
56
56
|
content and list pages.
|
57
57
|
email:
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- Rakefile
|
66
66
|
- app/controllers/plugins/camaleon_sitemap_customizer/admin_controller.rb
|
67
67
|
- app/helpers/plugins/camaleon_sitemap_customizer/main_helper.rb
|
68
|
+
- app/jobs/camaleon_sitemap_customizer/submit_sitemap_job.rb
|
68
69
|
- app/views/camaleon_cms/default_theme/sitemap_with_caching.xml.builder
|
69
70
|
- app/views/plugins/camaleon_sitemap_customizer/admin/settings.html.erb
|
70
71
|
- config/camaleon_plugin.json
|
@@ -88,15 +89,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
88
89
|
requirements:
|
89
90
|
- - "~>"
|
90
91
|
- !ruby/object:Gem::Version
|
91
|
-
version: '2.
|
92
|
+
version: '2.5'
|
92
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
93
94
|
requirements:
|
94
95
|
- - ">="
|
95
96
|
- !ruby/object:Gem::Version
|
96
97
|
version: '0'
|
97
98
|
requirements: []
|
98
|
-
|
99
|
-
rubygems_version: 2.7.6
|
99
|
+
rubygems_version: 3.1.2
|
100
100
|
signing_key:
|
101
101
|
specification_version: 4
|
102
102
|
summary: Customize auto-generated sitemap in Camaleon CMS
|