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: 66c0f3ff05a58b27eea2d38d85b42743cfdd482bbecaecb3c224d3cb5604c245
4
- data.tar.gz: f25ce72cd357017c83f08cfb495b6ce0c8ae433343afd4cf336333e6522000cc
3
+ metadata.gz: 7ee60c5f0a3e9884bf810f436b0a2480805c7e54aa95ac65f7b38e971ab6340e
4
+ data.tar.gz: 12718cd798a67c45d3f056f38aa9f69fa6dff65860936fda4d8d20dfba1e2737
5
5
  SHA512:
6
- metadata.gz: 49eff218fe5e9fd983d2335d549a202c84ff0417e64383f546a5066fdeeb190e5b7aeb10f6fcf6a0cf38e525175b5f62e2185d94fb9391be61d978d3403f5ba8
7
- data.tar.gz: 8f90466cc5ec9475595c7fef766f7a15ac12b7384e533a3e51b79c04f626f32d93c14b121cf5ec4411de2ad0edaa90221408f2946c8293c1cdc6945f813dd183
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 = "PromoScreenshots feature is currently disabled.\n"
28
- message << "Please, install RMagick if you aim to generate the PromoScreenshots.\n"
29
- message << "'bundle install --with screenshots' should do it if your project is configured for PromoScreenshots.\n"
30
- message << 'Aborting.'
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
- background.paint.to_hex
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 = background
411
+ self.background_color = working_background
407
412
  end
408
413
  end
409
414
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Fastlane
4
4
  module Wpmreleasetoolkit
5
- VERSION = '13.3.0'
5
+ VERSION = '13.3.1'
6
6
  end
7
7
  end
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.0
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-17 00:00:00.000000000 Z
11
+ date: 2025-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport