fastlane-plugin-snapshot_test 0.2.5 → 0.2.6
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcf93f70e791a67cec2812d77afb6cc93e9fc47a157512aec4f4069050213f44
|
4
|
+
data.tar.gz: 90ed32baed3ac906ae5810cb572073036e045ca8a255eb093f88500278ed2a75
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 444d6af8a1342571845d2de6e3b6e83fc0cf294bdc4dec4af810ee444a3c91d693722d8009bafebead0b4b74278a1647856a3cd18f2e576acc10e2417f7f940b
|
7
|
+
data.tar.gz: a1c41906fda99541165f635718fa2cd5f842e67393e7b5616a822baf1a8b33ee558a31b9e8580e8b0c9f5bbd71d4907200ec08c2f8c4eea931fe1d177e64d458
|
@@ -27,10 +27,14 @@ module Fastlane
|
|
27
27
|
device_names.each do |device_name|
|
28
28
|
`mkdir -p #{download_dir}/#{device_name}`
|
29
29
|
Action.sh "gsutil -m rsync -d -r gs://#{firebase_test_lab_results_bucket}/#{firebase_test_lab_results_dir}/#{device_name}/artifacts #{download_dir}/#{device_name}"
|
30
|
-
Action.sh "mogrify -scale 320x #{download_dir}/#{device_name}/*.jpg"
|
31
|
-
Action.sh "mogrify -scale 320x #{download_dir}/#{device_name}/*.jpeg"
|
32
|
-
Action.sh "mogrify -scale 320x #{download_dir}/#{device_name}/*.png"
|
33
30
|
`rm -rf #{download_dir}/#{device_name}/sdcard`
|
31
|
+
|
32
|
+
entries = Dir::entries("#{download_dir}/#{device_name}")
|
33
|
+
entries = entries.select { |entry| entry =~ /^.*\.(|jpeg|png|jpg)$/ }
|
34
|
+
for entry in entries do
|
35
|
+
filePath = "#{download_dir}/#{device_name}/#{entry}"
|
36
|
+
Action.sh "convert #{filePath} -scale 320x #{filePath}"
|
37
|
+
end
|
34
38
|
end
|
35
39
|
end
|
36
40
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-snapshot_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Moyuru Aizawa
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|