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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f25f82412085150403ec2bc51c9c5ad2ec0f81f82a05b44789f496d9be86b52c
4
- data.tar.gz: 748944b05a82eb3166a2320e00107262c59dff8c796c995a2875c4d45507a876
3
+ metadata.gz: 1ab8abb53948898989f3d8a8b597737a63da7e541ef5cd0de08a23d505fb7729
4
+ data.tar.gz: ce85ac778f47134d757d46c9c4d56879d98cb456b32ebe3a1d8133f757643b8b
5
5
  SHA512:
6
- metadata.gz: 46a28dc0a6d45859c6d58ee85b8ddedf667320618ce30a5c76db2e66b316031cec19db2b9c82c137cdf779f7f62ab29e489f1a94e89f0677f122620d3ac718e8
7
- data.tar.gz: 81bb5104dc546f1c261f1d75eb2945109a6e9fd098f521748c22f2e0829e66669cf4854e329b8a1e2d3a025fd7c32a67f62bda7ab04f9a0a9383d1b24bf0f752
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 = /\/(?<locale>[a-z]{2})?(?<slash>\/)?(?<urlname>.*)/
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, _slash, urlname = uri.path.match(PAGE_URL_PATTERN)&.captures
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}
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "7.2.0.rc1"
4
+ VERSION = "7.2.0.rc2"
5
5
 
6
6
  def self.version
7
7
  VERSION
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.rc1
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-24 00:00:00.000000000 Z
16
+ date: 2024-05-27 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: actionmailer