alchemy_cms 6.1.8 โ 6.1.9
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/lib/alchemy/tasks/usage.rb +5 -4
- data/lib/alchemy/version.rb +1 -1
- data/lib/non_stupid_digest_assets.rb +1 -1
- data/lib/tasks/alchemy/usage.rake +5 -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: 1e57f538575b1848dca1f02c32a155a573681bc67333cb48f4e1574da79c7cb2
|
4
|
+
data.tar.gz: 7c3e86cc3f897089fb81b746cd38f28cd99dbdb427d49efe1094e49440bbaaf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f23376e2a905fa72680efc4027d53bf9cfedf3a2f4679b0d966cf3011aa1d9b527e8b2700bb1717471adf67d495daeb36c8b279bae28b22f5bef7590388aa03
|
7
|
+
data.tar.gz: 4bf037decb428c03d0d67ac001f0f04dff65b7629319eacf5aa2195284fc4e7c7560a562c581136805101b1ef33883507a0aeb6cf3d38ac2535941d7b27e5a1f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 6.1.9 (2023-08-29)
|
4
|
+
|
5
|
+
- [6.1-stable] Merge pull request #2571 from tvdeyen/fix-non-stupid-digest-assets [#2573](https://github.com/AlchemyCMS/alchemy_cms/pull/2573) ([github-actions](https://github.com/apps/github-actions))
|
6
|
+
- [6.1] Show if element is using contents or ingredients [#2568](https://github.com/AlchemyCMS/alchemy_cms/pull/2568) ([tvdeyen](https://github.com/tvdeyen))
|
7
|
+
|
3
8
|
## 6.1.8 (2023-07-31)
|
4
9
|
|
5
10
|
- [v6.1] Use selenium-webdriver instead of webdrivers gem [#2531](https://github.com/AlchemyCMS/alchemy_cms/pull/2531) ([mamhoff](https://github.com/mamhoff))
|
data/lib/alchemy/tasks/usage.rb
CHANGED
@@ -11,10 +11,11 @@ module Alchemy
|
|
11
11
|
.group(:name)
|
12
12
|
.order("count DESC, name ASC")
|
13
13
|
.map { |e| {"name" => e.name, "count" => e.count} }
|
14
|
-
Alchemy::Element.definitions.
|
15
|
-
res
|
16
|
-
|
17
|
-
|
14
|
+
Alchemy::Element.definitions.map do |definition|
|
15
|
+
count = res.find { |r| r["name"] == definition["name"] }&.fetch("count") || 0
|
16
|
+
definition["count"] = count
|
17
|
+
definition
|
18
|
+
end.sort_by { |r| -1 * r["count"] }
|
18
19
|
end
|
19
20
|
|
20
21
|
def pages_count_by_type
|
data/lib/alchemy/version.rb
CHANGED
@@ -30,7 +30,11 @@ namespace :alchemy do
|
|
30
30
|
puts " ----------------------"
|
31
31
|
puts "\n"
|
32
32
|
results.each do |row|
|
33
|
-
|
33
|
+
ingredients = row.key?("ingredients") ? "uses ingredients โ
" : nil
|
34
|
+
contents = row.key?("contents") ? "still uses contents โผ๏ธ" : nil
|
35
|
+
type = ingredients || contents
|
36
|
+
suffix = type ? " ยท #{type}" : nil
|
37
|
+
puts " #{number_with_delimiter(row["count"])} ๐ #{row["name"]}#{suffix}"
|
34
38
|
end
|
35
39
|
puts "\n = #{number_with_delimiter(Alchemy::Element.count)} elements in total."
|
36
40
|
else
|
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: 6.1.
|
4
|
+
version: 6.1.9
|
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: 2023-
|
16
|
+
date: 2023-08-29 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: actionmailer
|