alchemy_cms 7.2.1 → 7.2.2
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/ingredients/audio.rb +11 -0
- data/app/models/alchemy/ingredients/video.rb +12 -0
- data/lib/alchemy/routing_constraints.rb +1 -1
- 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: eec1db3fc77450fd504e9366e981397f2fc0ed2057d9e2cc2051f6b4939966ca
|
4
|
+
data.tar.gz: c2beac93474a39df8ae3d73e3c2ebfe7be3904cc8fee0f8b6a7cd444aee33aff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91a00fde6f54893e9f86f89ce498c90e074a085100c813cb2b9bc1b034e570a08fde1cc671bd02b1aad4d708485f1f0100bb0ec601279df10b0db854a2848e0b
|
7
|
+
data.tar.gz: 4bc2b6cda15c88984ba8ab267bbf7716b5f282266b12af337a4093f66359e9badf47f741b9737fe6aebb7c5f57fa3b2114fb441dc1b22c6a16e382ad0166bd36
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 7.2.2 (2024-06-04)
|
4
|
+
|
5
|
+
- [7.2-stable] fix(RoutingConstraints): Allow Turbo Stream requests [#2916](https://github.com/AlchemyCMS/alchemy_cms/pull/2916) ([alchemycms-bot](https://github.com/alchemycms-bot))
|
6
|
+
- [7.2-stable] fix Ingredient Audio and Video boolean type casting [#2912](https://github.com/AlchemyCMS/alchemy_cms/pull/2912) ([alchemycms-bot](https://github.com/alchemycms-bot))
|
7
|
+
|
3
8
|
## 7.2.1 (2024-06-03)
|
4
9
|
|
5
10
|
- Add name attribute to Preview IFrame [#2908](https://github.com/AlchemyCMS/alchemy_cms/pull/2908) ([mamhoff](https://github.com/mamhoff))
|
@@ -26,6 +26,17 @@ module Alchemy
|
|
26
26
|
def preview_text(max_length = 30)
|
27
27
|
name.to_s[0..max_length - 1]
|
28
28
|
end
|
29
|
+
|
30
|
+
%i[
|
31
|
+
autoplay
|
32
|
+
controls
|
33
|
+
loop
|
34
|
+
muted
|
35
|
+
].each do |method|
|
36
|
+
define_method(:"#{method}=") do |value|
|
37
|
+
super(ActiveModel::Type::Boolean.new.cast(value))
|
38
|
+
end
|
39
|
+
end
|
29
40
|
end
|
30
41
|
end
|
31
42
|
end
|
@@ -31,6 +31,18 @@ module Alchemy
|
|
31
31
|
def preview_text(max_length = 30)
|
32
32
|
name.to_s[0..max_length - 1]
|
33
33
|
end
|
34
|
+
|
35
|
+
%i[
|
36
|
+
autoplay
|
37
|
+
controls
|
38
|
+
loop
|
39
|
+
muted
|
40
|
+
playsinline
|
41
|
+
].each do |method|
|
42
|
+
define_method(:"#{method}=") do |value|
|
43
|
+
super(ActiveModel::Type::Boolean.new.cast(value))
|
44
|
+
end
|
45
|
+
end
|
34
46
|
end
|
35
47
|
end
|
36
48
|
end
|
@@ -27,7 +27,7 @@ module Alchemy
|
|
27
27
|
# because it could be a legacy route that needs to be redirected.
|
28
28
|
#
|
29
29
|
def handable_format?
|
30
|
-
@request.format.symbol.nil? ||
|
30
|
+
@request.format.symbol.nil? || @request.format.html?
|
31
31
|
end
|
32
32
|
|
33
33
|
# We don't want to handle the Rails info routes.
|
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.
|
4
|
+
version: 7.2.2
|
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-06-
|
16
|
+
date: 2024-06-04 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: actionmailer
|