alchemy_cms 7.2.0.rc1 → 7.2.0.rc2
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/CHANGELOG.md +5 -0
- data/app/components/alchemy/admin/link_dialog/internal_tab.rb +2 -2
- data/lib/alchemy/version.rb +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: 1ab8abb53948898989f3d8a8b597737a63da7e541ef5cd0de08a23d505fb7729
|
|
4
|
+
data.tar.gz: ce85ac778f47134d757d46c9c4d56879d98cb456b32ebe3a1d8133f757643b8b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e6e1a233177adbdac5ae8a61fae4653f392fe458938e1b87752dc3c1317ad881fd0e6270e8a612bb8f7b45e31430584f8bd27e018ec7d0fb702a6518483daf34
|
|
7
|
+
data.tar.gz: 1effffc22e22464f9cf4cf0d1e22107746d93cbac01a2610f7e29707de7f25b186e3c87bc2527dfe820fbb611e4cf65c1dfb1c6d3ba062e0ae3cb7bc0224a0de
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 7.2.0.rc2 (2024-05-27)
|
|
4
|
+
|
|
5
|
+
- Harden specs [#2896](https://github.com/AlchemyCMS/alchemy_cms/pull/2896) ([tvdeyen](https://github.com/tvdeyen))
|
|
6
|
+
- Support trailing slash in internal link tab selection [#2895](https://github.com/AlchemyCMS/alchemy_cms/pull/2895) ([tvdeyen](https://github.com/tvdeyen))
|
|
7
|
+
|
|
3
8
|
## 7.2.0.rc1 (2024-05-24)
|
|
4
9
|
|
|
5
10
|
- Deprecate float positioning in File and Picture ingredients [#2894](https://github.com/AlchemyCMS/alchemy_cms/pull/2894) ([tvdeyen](https://github.com/tvdeyen))
|
|
@@ -4,7 +4,7 @@ module Alchemy
|
|
|
4
4
|
module Admin
|
|
5
5
|
module LinkDialog
|
|
6
6
|
class InternalTab < BaseTab
|
|
7
|
-
PAGE_URL_PATTERN =
|
|
7
|
+
PAGE_URL_PATTERN = /\A\/(?<locale>[a-z]{2})?(?<slash>\/)?(?<urlname>.*?)(?<trailing-slash>\/)?\z/
|
|
8
8
|
|
|
9
9
|
def title
|
|
10
10
|
Alchemy.t("link_overlay_tab_label.internal")
|
|
@@ -49,7 +49,7 @@ module Alchemy
|
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
def page_attributes
|
|
52
|
-
locale,
|
|
52
|
+
locale, _, urlname, _ = uri.path.match(PAGE_URL_PATTERN)&.captures
|
|
53
53
|
|
|
54
54
|
if locale && urlname.present?
|
|
55
55
|
{language_code: locale, urlname: urlname}
|
data/lib/alchemy/version.rb
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: 7.2.0.
|
|
4
|
+
version: 7.2.0.rc2
|
|
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: 2024-05-
|
|
16
|
+
date: 2024-05-27 00:00:00.000000000 Z
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
19
19
|
name: actionmailer
|