trusty-cms 7.0.43 → 7.0.44
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/Gemfile.lock +1 -1
- data/app/helpers/admin/url_helper.rb +10 -9
- data/lib/trusty_cms/version.rb +1 -1
- data/yarn.lock +3 -3
- 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: f7a2a268be24625cecbc5ebbe9ffb82950b79c23b8c0b65eb475c29f7a99698f
|
|
4
|
+
data.tar.gz: 6a0734e25916acbf54a6c2fe3742dd6f570475b044c66f82b8eb3d23e0dab44e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c509a08200da73d1f67c441cd647e6e8ea6ee7f0bf6bc5bc0f8ddef753073fc15696333b78c9123c6d7bf5ef1d21a0c35411904246db51feaad9ccbb61429a45
|
|
7
|
+
data.tar.gz: 6d4b57c9514acb5b04e4ce548d09aca7c1edc34fad278ab36d3cceb549b6acbe83d3a24e86473718f7aafdfa2d1a92c35f526777b7dc687c5aa2aae81ec6fdd9
|
data/Gemfile.lock
CHANGED
|
@@ -2,15 +2,16 @@ module Admin::UrlHelper
|
|
|
2
2
|
require 'uri'
|
|
3
3
|
|
|
4
4
|
def format_path(path)
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
parts
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
parts = path.to_s.split('/').reject(&:empty?)
|
|
6
|
+
|
|
7
|
+
case parts.size
|
|
8
|
+
when 0 then ''
|
|
9
|
+
when 1 then 'Root'
|
|
10
|
+
when 2 then '/'
|
|
11
|
+
else
|
|
12
|
+
subpath = parts[1..-2].to_a.join('/')
|
|
13
|
+
subpath.empty? ? '/' : "/#{subpath}"
|
|
14
|
+
end
|
|
14
15
|
end
|
|
15
16
|
|
|
16
17
|
def generate_page_url(url, page)
|
data/lib/trusty_cms/version.rb
CHANGED
data/yarn.lock
CHANGED
|
@@ -2435,9 +2435,9 @@ mdast-util-phrasing@^4.0.0:
|
|
|
2435
2435
|
unist-util-is "^6.0.0"
|
|
2436
2436
|
|
|
2437
2437
|
mdast-util-to-hast@^13.0.0:
|
|
2438
|
-
version "13.2.
|
|
2439
|
-
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-13.2.
|
|
2440
|
-
integrity sha512-
|
|
2438
|
+
version "13.2.1"
|
|
2439
|
+
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz#d7ff84ca499a57e2c060ae67548ad950e689a053"
|
|
2440
|
+
integrity sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==
|
|
2441
2441
|
dependencies:
|
|
2442
2442
|
"@types/hast" "^3.0.0"
|
|
2443
2443
|
"@types/mdast" "^4.0.0"
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trusty-cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 7.0.
|
|
4
|
+
version: 7.0.44
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TrustyCms CMS dev team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activestorage-validator
|