alchemy_cms 5.1.5 → 5.1.6

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: e22cad36f7f22bd3c584b8ec7449098db4664356f44f3dc502ec03b40f6fb37e
4
- data.tar.gz: e762d80d1be086a4da0063956187caea7824bf67c556ecb11856af3a33c18988
3
+ metadata.gz: 97db0fc8f5e73fb4f4c45688f751bc78b5c1d76a1069646cae2796a91f4021fd
4
+ data.tar.gz: a1b1c75d29f8913e182cb4f9a689e5947208140e1b56b2fde1308457ee7b6f69
5
5
  SHA512:
6
- metadata.gz: b1e60d6b1edbc55f0419a168296067ac0de8860825288e07c9aa063fc80fde587c8cf18c59d2809a500a13588dfdabdeab038fa0bb83a7811c56d77827005467
7
- data.tar.gz: 7f6be2a004959880f66a56007c9648c50ad5ce7f3355e40acc5a487fcdacc82c866fcb291c186b84134903de7019aadbf929e6cc96655e6c61e6d6a64a7be8e6
6
+ metadata.gz: 6ae402c37db2c099d06d7a7d57376ad6eb98feedad8cadf93da36c110fde4896ce4336641feb827be0409405d6e06df6070c842b3751db32a5aca6219176c280
7
+ data.tar.gz: 3f795224bff8796c6623e61025e66935859d1d6d352f1a7d7ea884913b8be1fde82914c981f140eee7f06861339a703d8fa8c567d54ef85d64798e26039c583d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## 5.1.6 (2021-09-17)
2
+
3
+ - Use self_and_ancestors in page_active? helper [#2194](https://github.com/AlchemyCMS/alchemy_cms/pull/2194) ([mamhoff](https://github.com/mamhoff))
4
+
1
5
  ## 5.1.5 (2021-09-15)
2
6
 
3
7
  - generate picture thumbnails only for pictures with convertible format [#2131](https://github.com/AlchemyCMS/alchemy_cms/pull/2131) ([afdev82](https://github.com/afdev82))
@@ -852,3 +856,4 @@ No changes
852
856
  ## 3.0.0 (2014-07-03)
853
857
 
854
858
  [Release Notes](https://github.com/AlchemyCMS/alchemy_cms/releases/tag/v3.0.0)
859
+
@@ -100,7 +100,7 @@ module Alchemy
100
100
 
101
101
  # Returns true if page is in the active branch
102
102
  def page_active?(page)
103
- @_page_ancestors ||= Page.ancestors_for(@page)
103
+ @_page_ancestors ||= @page.self_and_ancestors.contentpages
104
104
  @_page_ancestors.include?(page)
105
105
  end
106
106
 
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "5.1.5"
4
+ VERSION = "5.1.6"
5
5
 
6
6
  def self.version
7
7
  VERSION
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alchemy_cms/admin",
3
- "version": "5.1.5",
3
+ "version": "5.1.6",
4
4
  "description": "AlchemyCMS",
5
5
  "browser": "package/admin.js",
6
6
  "files": [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alchemy_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.5
4
+ version: 5.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas von Deyen
@@ -10,10 +10,10 @@ authors:
10
10
  - Hendrik Mans
11
11
  - Carsten Fregin
12
12
  - Martin Meyerhoff
13
- autorequire:
13
+ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2021-09-15 00:00:00.000000000 Z
16
+ date: 2021-09-17 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: active_model_serializers
@@ -1284,9 +1284,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1284
1284
  version: '0'
1285
1285
  requirements:
1286
1286
  - ImageMagick (libmagick), v6.6 or greater.
1287
- rubygems_version: 3.2.26
1288
- signing_key:
1287
+ rubygems_version: 3.0.3
1288
+ signing_key:
1289
1289
  specification_version: 4
1290
1290
  summary: A powerful, userfriendly and flexible CMS for Rails
1291
1291
  test_files: []
1292
- ...