alchemy_cms 5.2.0 → 5.2.1
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/Gemfile +5 -0
- data/app/models/alchemy/picture.rb +1 -1
- data/lib/alchemy/test_support/factories.rb +4 -0
- data/lib/alchemy/version.rb +1 -1
- data/lib/tasks/alchemy/thumbnails.rake +2 -2
- 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: 87323b91f4cbf7c67ce585467f021dc5c9be44424bb92ce34538876a671b9a0e
|
4
|
+
data.tar.gz: e7a6c2c6bd5a547bce29dc67956975a8d6e2010418234d138c3c15aaa3aebe5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f55c35c77239b02a72cae0168afa70b1a27d550edaac33d30c7f584e956547ae7019ee31f36cb750b9c8e2110e3e54b8be49173b44c63028fbb984b22f3bdeea
|
7
|
+
data.tar.gz: '0998634c50a87e6137b9caa7d0a0bee5a4fd1bf249f9708ed5e1e5cc2531dbbffcd8b1f1cf165197afb078a3029efaa66b1495f257c2f0977fef561bf97da426'
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
## 5.2.1 (2021-05-13)
|
2
|
+
|
3
|
+
- Fix alchemy:generate:thumbnails task [#2092](https://github.com/AlchemyCMS/alchemy_cms/pull/2092) ([afdev82](https://github.com/afdev82))
|
4
|
+
- Do not attempt to generate thumbs for svg files. [#2090](https://github.com/AlchemyCMS/alchemy_cms/pull/2090) ([oneiros](https://github.com/oneiros))
|
5
|
+
|
1
6
|
## 5.2.0 (2021-05-06)
|
2
7
|
|
3
8
|
- Backport #2049 to 5.2 [#2086](https://github.com/AlchemyCMS/alchemy_cms/pull/2086) ([rickythefox](https://github.com/rickythefox))
|
data/Gemfile
CHANGED
@@ -13,6 +13,11 @@ gem "mysql2", "~> 0.5.1" if ENV["DB"] == "mysql"
|
|
13
13
|
gem "pg", "~> 1.0" if ENV["DB"] == "postgresql"
|
14
14
|
|
15
15
|
group :development, :test do
|
16
|
+
# execjs 2.8 removes deprecation warnings but also breaks a number of dependent projects.
|
17
|
+
# in our case the culprit is `handlebars-assets`. The changes between 2.7.0 and 2.8.0 are
|
18
|
+
# minimal, but breaking.
|
19
|
+
gem "execjs", "= 2.7.0"
|
20
|
+
|
16
21
|
if ENV["GITHUB_ACTIONS"]
|
17
22
|
gem "sassc", "~> 2.4.0" # https://github.com/sass/sassc-ruby/issues/146
|
18
23
|
else
|
@@ -91,7 +91,7 @@ module Alchemy
|
|
91
91
|
end
|
92
92
|
|
93
93
|
# Create important thumbnails upfront
|
94
|
-
after_create -> { PictureThumb.generate_thumbs!(self) }
|
94
|
+
after_create -> { PictureThumb.generate_thumbs!(self) if has_convertible_format? }
|
95
95
|
|
96
96
|
# We need to define this method here to have it available in the validations below.
|
97
97
|
class << self
|
data/lib/alchemy/version.rb
CHANGED
@@ -4,8 +4,8 @@ namespace :alchemy do
|
|
4
4
|
namespace :generate do
|
5
5
|
desc "Generates all thumbnails for Alchemy Pictures and EssencePictures."
|
6
6
|
task thumbnails: [
|
7
|
-
"
|
8
|
-
"
|
7
|
+
"alchemy:generate:picture_thumbnails",
|
8
|
+
"alchemy:generate:essence_picture_thumbnails",
|
9
9
|
]
|
10
10
|
|
11
11
|
desc "Generates thumbnails for Alchemy Pictures."
|
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: 5.2.
|
4
|
+
version: 5.2.1
|
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: 2021-05-
|
16
|
+
date: 2021-05-13 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: active_model_serializers
|