alchemy_cms 5.2.6 → 5.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/models/alchemy/page.rb +3 -2
- data/lib/alchemy/version.rb +1 -1
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d356d5cf9b97a20b587b2cdc07db82751af3cf71e9ce15c88ebb969667bccb33
|
4
|
+
data.tar.gz: 8af9070583ecd3cdb3431c131f88bbb1dc6acec03b44ee1a7a6feeec2ebc621c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9892f2979e766cb0159cc1d547709f9afe122e0ba1fbaf4a8e4d568d5158db6819db7031132dde61f1793318207a30021a65281305770c802318b25fab05becd
|
7
|
+
data.tar.gz: c2c20b120289d05b74d19c1c51168f6218e5df1c8bec0d6fc3bfead3af65d9de51c93c01bbc9cb5795f53452b5835e573397744ba81c75547ce5689a32f47fb1
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 5.2.7 (2022-03-01)
|
2
|
+
|
3
|
+
- Fix copying page with descendants to a different language ([dbwinger](https://github.com/dbwinger))
|
4
|
+
- Handle copying/pasting global pages ([dbwinger](https://github.com/dbwinger))
|
5
|
+
|
1
6
|
## 5.2.6 (2022-02-28)
|
2
7
|
|
3
8
|
- Add crop_resize Dragonfly processor ([tvdeyen](https://github.com/tvdeyen))
|
data/app/models/alchemy/page.rb
CHANGED
@@ -217,8 +217,8 @@ module Alchemy
|
|
217
217
|
|
218
218
|
def copy_and_paste(source, new_parent, new_name)
|
219
219
|
page = copy(source, {
|
220
|
-
|
221
|
-
language: new_parent
|
220
|
+
parent: new_parent,
|
221
|
+
language: new_parent&.language,
|
222
222
|
name: new_name,
|
223
223
|
title: new_name,
|
224
224
|
})
|
@@ -415,6 +415,7 @@ module Alchemy
|
|
415
415
|
next if child == new_parent
|
416
416
|
|
417
417
|
new_child = Page.copy(child, {
|
418
|
+
parent_id: new_parent.id,
|
418
419
|
language_id: new_parent.language_id,
|
419
420
|
language_code: new_parent.language_code,
|
420
421
|
})
|
data/lib/alchemy/version.rb
CHANGED
data/package.json
CHANGED
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.2.
|
4
|
+
version: 5.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas von Deyen
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2022-
|
16
|
+
date: 2022-03-01 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: active_model_serializers
|