fastlane-plugin-wpmreleasetoolkit 13.3.0 → 13.3.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ee60c5f0a3e9884bf810f436b0a2480805c7e54aa95ac65f7b38e971ab6340e
|
4
|
+
data.tar.gz: 12718cd798a67c45d3f056f38aa9f69fa6dff65860936fda4d8d20dfba1e2737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: befe8e1e789fd36d8c4ddf1501c8bcc9e29d33cbe6c2b1541557f2d9e8c1ceadf1f1806673621643692a9d648eeabe69a7575d5fa01c1bce39645bac1b236715
|
7
|
+
data.tar.gz: 692c4ad19f812174ebca4322610689539c25c1c973ebbb6b788de5c518145209d9f8a635a5552135b9cbe5f35deb319ba3c731c11115def13cf3c40f9317db43
|
@@ -24,10 +24,12 @@ module Fastlane
|
|
24
24
|
class PromoScreenshots
|
25
25
|
def initialize
|
26
26
|
if $skip_magick
|
27
|
-
message =
|
28
|
-
|
29
|
-
|
30
|
-
|
27
|
+
message = <<~MSG
|
28
|
+
PromoScreenshots feature is currently disabled.
|
29
|
+
Please, install RMagick if you aim to generate the PromoScreenshots.
|
30
|
+
'bundle install --with screenshots' should do it if your project is configured for PromoScreenshots.
|
31
|
+
Aborting.
|
32
|
+
MSG
|
31
33
|
UI.user_error!(message)
|
32
34
|
end
|
33
35
|
|
@@ -400,10 +402,13 @@ module Fastlane
|
|
400
402
|
end
|
401
403
|
|
402
404
|
def create_image(width, height, background = 'transparent')
|
403
|
-
|
405
|
+
# The paint method we call below modifies the string in place.
|
406
|
+
# But if the string is frozen, we need to dup it first, otherwise we'll get a frozen string error.
|
407
|
+
working_background = background.frozen? ? background.dup : background
|
408
|
+
working_background.paint.to_hex
|
404
409
|
|
405
410
|
Image.new(width, height) do
|
406
|
-
self.background_color =
|
411
|
+
self.background_color = working_background
|
407
412
|
end
|
408
413
|
end
|
409
414
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-wpmreleasetoolkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 13.3.
|
4
|
+
version: 13.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Automattic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|