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
- SHA1:
3
- metadata.gz: 891671a5c9ef8a887b0eda26b6f8d9cc9d1f4449
4
- data.tar.gz: 7e38c74a444ed572eca85aff4711f730c925b2ad
2
+ SHA256:
3
+ metadata.gz: e78db5222dfb424d3ed6a9916664a9c03f4dfc1abf3eb60162e80c1982abcd16
4
+ data.tar.gz: e5737cf57de2d69f657463bd06d9050fbc2e7f0b22a3e97c3a6a6bb02661befb
5
5
  SHA512:
6
- metadata.gz: 16760bd3600a1c826d43c9dcb404879e55586b473607038c50a6c61a9593872f08c2e6860ef97c3106926a41da395b31be1500c96e2c601a307758e841efad4e
7
- data.tar.gz: 1f8ad563b1fa6750fdb1570feddfc1351816c94ac60023c7d8e7a1ac1f38eef420c2b0fb36323b1348b4af9c023edd484c686752815ca68bfd25513a16ecd88d
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(resultsLoc).select {|f| f.start_with? imageName.gsub(imgExtension, "") }.first
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
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Imagesgoldenrun
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
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.5
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-01-24 00:00:00.000000000 Z
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
- rubyforge_project:
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