blobsterix 0.0.29 → 0.0.30
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 29dfaa5cb3dda50826724e03e737914de1a359db
|
|
4
|
+
data.tar.gz: eefb565bd322f7fab35de1cb7fcb76024d7a763c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0efb1c4cede08902253ad65ed0754716d19ae6735fc46c73e95983c447d415b18a271cf03061540b6ec865b7f0541d5d24e53fc8f0751d12fcf937eff3a7fd08
|
|
7
|
+
data.tar.gz: e4e594eb8a6b542c82331a1deea6f475b6ee2396e860ea98a604caff9864de35eff7b41a4105b35c88348cdcba312f4d49de36b7b7392617881018d600c7d8ad
|
|
@@ -186,10 +186,6 @@ module Blobsterix::Transformations::Impl
|
|
|
186
186
|
raise StandardError.new($?) unless system("cwebp \"#{input_path}\" -o \"#{target_path}\"")
|
|
187
187
|
end
|
|
188
188
|
|
|
189
|
-
create_simple_trafo("webp", "image/jpeg", "image/webp", true) do |input_path, target_path, value|
|
|
190
|
-
raise StandardError.new($?) unless system("cwebp \"#{input_path}\" -o \"#{target_path}\"")
|
|
191
|
-
end
|
|
192
|
-
|
|
193
189
|
create_simple_trafo("text", "image/*", "image/*", true) do |input_path, target_path, value|
|
|
194
190
|
raise StandardError.new($?) unless system("convert \"#{input_path}\" -pointsize 20 -draw \"gravity center fill white text 0,12 '#{value.gsub("_", " ").gsub("\"", "'")}'\" \"#{target_path}\"")
|
|
195
191
|
end
|
data/lib/blobsterix/version.rb
CHANGED