alchemy_cms 7.0.12 → 7.0.14

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 82cd64dd71fa79871bc3bfbec5f7f13d3a12d8227fe2294c4ba2fe544ad98dcb
4
- data.tar.gz: a30831a00b1afa326159f19d706352ddf43f0e0f4cb84e0fa7a2590b7e12435a
3
+ metadata.gz: 4f009c36ef6be6cd2543d594e6e818b899fb03105db7afa1e043ac6eff667148
4
+ data.tar.gz: 39453909b852611f2b9610442cb596241037100965691fc6766b3f98fe6f1130
5
5
  SHA512:
6
- metadata.gz: 200987b061160915c554f377a735d6a590bc7d342bd7ebae9d133c0812440a731b1e9aa2b3566a6e241a32282fb19b6b4b1ff94fbf57261f1ae99f16060d0b91
7
- data.tar.gz: 6dbe3f6fbf7cff9946245c405a5b5caa884872f7095d3da3b49a05bb500eb7c7a626bfe8968b9e7ab894f7e2db6d077eac87876f8ccc927d885a4d87d422e820
6
+ metadata.gz: 4c675c83bd57c8514dd1983051ba4dfef7af615f41001603fd25d2c556925a87e08d67307d4b610c3c9655572092cdf06e4d07bb5891dbdb3758b6cb7dccd721
7
+ data.tar.gz: 1feb5da7ff3d8bafb2aac4cc03ac52682795457d41f7a28cbd5e7eeca4816a8536149fe87a8f49470f3d6e9e7ed08eb194dc632a511639a0f259a2738ce0e06c
data/.gem_release.yml CHANGED
@@ -5,5 +5,4 @@ bump:
5
5
  tag:
6
6
  remote: upstream
7
7
  release:
8
- github: true
9
8
  repo: AlchemyCMS/alchemy_cms
data/.gitignore CHANGED
@@ -29,3 +29,5 @@ yarn-debug.log*
29
29
  .yarn-integrity
30
30
  yarn.lock
31
31
  /spec/dummy/public/pictures
32
+ .byebug_history
33
+ .vscode/
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.0.14 (2024-06-04)
4
+
5
+ - [7.0-stable] fix(RoutingConstraints): Allow Turbo Stream requests [#2914](https://github.com/AlchemyCMS/alchemy_cms/pull/2914) ([alchemycms-bot](https://github.com/alchemycms-bot))
6
+ - [7.0-stable] fix Ingredient Audio and Video boolean type casting [#2910](https://github.com/AlchemyCMS/alchemy_cms/pull/2910) ([alchemycms-bot](https://github.com/alchemycms-bot))
7
+
8
+ ## 7.0.13 (2024-05-29)
9
+
10
+ - [7.0-stable] Fix preview window width for smaller viewports [#2889](https://github.com/AlchemyCMS/alchemy_cms/pull/2889) ([alchemycms-bot](https://github.com/alchemycms-bot))
11
+ - [7.0-stable] Fix Preview Window width [#2880](https://github.com/AlchemyCMS/alchemy_cms/pull/2880) ([alchemycms-bot](https://github.com/alchemycms-bot))
12
+ - [7.0-stable] Fix preview window resize transition [#2871](https://github.com/AlchemyCMS/alchemy_cms/pull/2871) ([alchemycms-bot](https://github.com/alchemycms-bot))
13
+
3
14
  ## 7.0.12 (2024-04-12)
4
15
 
5
16
  - [7.0-stable] Fix Ingredient Boolean View [#2837](https://github.com/AlchemyCMS/alchemy_cms/pull/2837) ([alchemycms-bot](https://github.com/alchemycms-bot))
data/Gemfile CHANGED
@@ -61,3 +61,5 @@ if Gem.ruby_version >= Gem::Version.new("3.1.0")
61
61
  end
62
62
  gem "net-smtp", "~> 0.3.0", require: false
63
63
  end
64
+
65
+ gem "gem-release", "~> 2.2"
@@ -7,7 +7,7 @@
7
7
  border: 0 none;
8
8
  background: #fff;
9
9
  border-right: $default-border;
10
- transition: $transition-duration ease-in-out;
10
+ transition: width $transition-duration ease-in-out;
11
11
 
12
12
  .collapsed-menu & {
13
13
  left: $collapsed-main-menu-width;
@@ -15,10 +15,14 @@
15
15
  }
16
16
 
17
17
  .collapsed-menu.elements-window-visible & {
18
- width: calc(100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-width});
18
+ width: calc(
19
+ 100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-min-width}
20
+ );
19
21
 
20
- @media screen and (min-width: $large-screen-break-point) {
21
- max-width: calc(100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-min-width});
22
+ @media screen and (min-width: 1777px) {
23
+ width: calc(
24
+ 100vw - #{$collapsed-main-menu-width - $default-border-width} - #{$elements-window-width}
25
+ );
22
26
  }
23
27
  }
24
28
  }
@@ -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? || (@request.format.symbol == :html)
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.
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Alchemy
4
- VERSION = "7.0.12"
4
+ VERSION = "7.0.14"
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.0.12
4
+ version: 7.0.14
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-04-12 00:00:00.000000000 Z
16
+ date: 2024-06-04 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: actionmailer
@@ -1456,7 +1456,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1456
1456
  version: '0'
1457
1457
  requirements:
1458
1458
  - ImageMagick (libmagick), v6.6 or greater.
1459
- rubygems_version: 3.4.19
1459
+ rubygems_version: 3.5.9
1460
1460
  signing_key:
1461
1461
  specification_version: 4
1462
1462
  summary: A powerful, userfriendly and flexible CMS for Rails