fastlane-plugin-imagesgoldenrun 0.1.5 → 0.1.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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: e78db5222dfb424d3ed6a9916664a9c03f4dfc1abf3eb60162e80c1982abcd16
|
4
|
+
data.tar.gz: e5737cf57de2d69f657463bd06d9050fbc2e7f0b22a3e97c3a6a6bb02661befb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bff2c50ae34f1dda65061db9ccd5f529a91e845195ca8342c96df6a1a04200a920b474f741ee11ce4b8b797408b89e59917250abed3262d4f64493786d08adb6
|
7
|
+
data.tar.gz: 2afd7f5f69ca6684cbaf78888ce8c64daa86e3e1a858d8f439e7562e1d8940fe763a5b7b3ae3844383acb8ffc0ee34ba48fd9d703c8189ed23bb59761378863b
|
@@ -23,18 +23,15 @@ module Fastlane
|
|
23
23
|
htmlImages = ""
|
24
24
|
imgExtension = ".png"
|
25
25
|
hasDifferences = false
|
26
|
-
|
27
|
-
goldenRunLoc = File.expand_path(File.join(Dir.pwd, params[:goldenRunLoc]))
|
28
|
-
resultsLoc = File.expand_path(File.join(Dir.pwd, params[:resultLoc]))
|
29
26
|
|
30
|
-
goldenRunImagesNames = Dir.entries(goldenRunLoc).select {|f| f.end_with?(imgExtension)}
|
27
|
+
goldenRunImagesNames = Dir.entries(params[:goldenRunLoc]).select {|f| f.end_with?(imgExtension)}
|
31
28
|
|
32
29
|
goldenRunImagesNames.each do |imageName|
|
33
30
|
|
34
31
|
imgFullPathGolden = "#{params[:goldenRunLoc]}/#{imageName}"
|
35
32
|
|
36
33
|
#find the full name of the result file
|
37
|
-
resultImageName = Dir.entries(
|
34
|
+
resultImageName = Dir.entries(params[:resultLoc]).select {|f| f.start_with? imageName.gsub(imgExtension, "") }.first
|
38
35
|
|
39
36
|
imgFullPathResult = "#{params[:resultLoc]}/#{resultImageName}"
|
40
37
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-imagesgoldenrun
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luís Esteves
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -167,8 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
- !ruby/object:Gem::Version
|
168
168
|
version: '0'
|
169
169
|
requirements: []
|
170
|
-
|
171
|
-
rubygems_version: 2.5.1
|
170
|
+
rubygems_version: 3.0.3
|
172
171
|
signing_key:
|
173
172
|
specification_version: 4
|
174
173
|
summary: this allows comparing images from a golden run with the actual results
|