effective_pages 3.16.0 → 3.16.1
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 +4 -4
- data/config/effective_pages.rb +7 -7
- data/lib/effective_pages/version.rb +1 -1
- data/lib/effective_pages.rb +4 -4
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 62b279de7e9162e7c6382b0b93f180d784dd9c6180df99d36aa3bfb5ed66dc72
|
|
4
|
+
data.tar.gz: f09090fb7ee98fd51fd47a8a5d270f97a1ceadf6e897465e3ea251c31f23ce19
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 19d5f2fcf3e31e88ae78a9d86299f17db604a37b530d2e9cd2917a9a7ae29818aa69726bcef635c764df0453309b44189762a1956d75714ac4d4096516bbd41b
|
|
7
|
+
data.tar.gz: 61f5d72a7caacc399264c0e2ec458afee547794cc4918e2ce47591728bad0f9fdafd1955a4da38bb0085517c8527ea0302bdf018ac1989b4cebc0f5cce2b8880
|
data/config/effective_pages.rb
CHANGED
|
@@ -28,8 +28,8 @@ EffectivePages.setup do |config|
|
|
|
28
28
|
|
|
29
29
|
# This site_og_image is the filename for an image placed in /assets/images and will be used to populate the og:image tag
|
|
30
30
|
config.site_og_image = ''
|
|
31
|
-
config.site_og_image_width =
|
|
32
|
-
config.site_og_image_height =
|
|
31
|
+
config.site_og_image_width = nil # Just 1024, no units
|
|
32
|
+
config.site_og_image_height = nil
|
|
33
33
|
|
|
34
34
|
# When using the effective_pages_header_tags() helper in <head> to set the <meta name='description'>
|
|
35
35
|
# The value will be populated from an Effective::Page's .meta_description field,
|
|
@@ -58,22 +58,22 @@ EffectivePages.setup do |config|
|
|
|
58
58
|
config.max_menu_depth = 2
|
|
59
59
|
|
|
60
60
|
# Banner Ads
|
|
61
|
-
config.banner_ads =
|
|
61
|
+
config.banner_ads = []
|
|
62
62
|
# config.banner_ads = [:home, :secondary]
|
|
63
|
-
config.banner_ads_hint_text =
|
|
63
|
+
config.banner_ads_hint_text = nil
|
|
64
64
|
|
|
65
65
|
# Page Banners
|
|
66
66
|
# Allow a page banner to be selected on the Admin::Pages#edit screen
|
|
67
67
|
# Banners can be CRUD by the admin
|
|
68
68
|
config.banners = false
|
|
69
69
|
config.banners_force_randomize = false # at least return a random banner with render_page_banner()
|
|
70
|
-
config.banners_hint_text =
|
|
70
|
+
config.banners_hint_text = nil
|
|
71
71
|
|
|
72
72
|
# Page Carousels
|
|
73
73
|
# The menu names a page can belong to
|
|
74
|
-
config.carousels =
|
|
74
|
+
config.carousels = []
|
|
75
75
|
# config.carousels = [:home, :secondary]
|
|
76
|
-
config.carousels_hint_text =
|
|
76
|
+
config.carousels_hint_text = nil
|
|
77
77
|
|
|
78
78
|
# Page Sidebars
|
|
79
79
|
# Set to true if your any of your pages use the sidebar content
|
data/lib/effective_pages.rb
CHANGED
|
@@ -15,10 +15,10 @@ module EffectivePages
|
|
|
15
15
|
:silence_missing_page_title_warnings, :silence_missing_meta_description_warnings, :silence_missing_canonical_url_warnings,
|
|
16
16
|
:use_effective_roles, :layout, :max_menu_depth, :banner_ads_hint_text, :banners_hint_text, :carousels_hint_text, :banners_force_randomize,
|
|
17
17
|
|
|
18
|
-
#
|
|
18
|
+
# Feature flags
|
|
19
19
|
:banners, :sidebars,
|
|
20
20
|
|
|
21
|
-
#
|
|
21
|
+
# Collections
|
|
22
22
|
:menus, :carousels, :banner_ads
|
|
23
23
|
]
|
|
24
24
|
end
|
|
@@ -57,7 +57,7 @@ module EffectivePages
|
|
|
57
57
|
end
|
|
58
58
|
|
|
59
59
|
def self.banners?
|
|
60
|
-
|
|
60
|
+
banners == true
|
|
61
61
|
end
|
|
62
62
|
|
|
63
63
|
def self.banner_ads?
|
|
@@ -73,6 +73,6 @@ module EffectivePages
|
|
|
73
73
|
end
|
|
74
74
|
|
|
75
75
|
def self.sidebars?
|
|
76
|
-
|
|
76
|
+
sidebars == true
|
|
77
77
|
end
|
|
78
78
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: effective_pages
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.16.
|
|
4
|
+
version: 3.16.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Code and Effect
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: rails
|
|
@@ -269,7 +268,6 @@ homepage: https://github.com/code-and-effect/effective_pages
|
|
|
269
268
|
licenses:
|
|
270
269
|
- MIT
|
|
271
270
|
metadata: {}
|
|
272
|
-
post_install_message:
|
|
273
271
|
rdoc_options: []
|
|
274
272
|
require_paths:
|
|
275
273
|
- lib
|
|
@@ -284,8 +282,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
284
282
|
- !ruby/object:Gem::Version
|
|
285
283
|
version: '0'
|
|
286
284
|
requirements: []
|
|
287
|
-
rubygems_version:
|
|
288
|
-
signing_key:
|
|
285
|
+
rubygems_version: 4.0.17
|
|
289
286
|
specification_version: 4
|
|
290
287
|
summary: Content pages for your rails app
|
|
291
288
|
test_files: []
|