fastlane-plugin-imagesgoldenrun 0.1.3 → 0.1.4

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
  SHA1:
3
- metadata.gz: 8d1227196a57d2b1d93d4279624c2b56f28f3391
4
- data.tar.gz: 3adca88ccaec7e3a11f2c87b17d16a7eaf221aa7
3
+ metadata.gz: 7d7cc825b7b3a5aa6cc7bb601d01e0460cd57bd3
4
+ data.tar.gz: e946ad3ebc55de32bb3358e807fc722be99bdbb5
5
5
  SHA512:
6
- metadata.gz: b8f4bf426bbe0009bb6346fc9b8fec998ad303d10b457378f207fdeec1299436fc1e4937f64d6167b8ff8d514f87ecd87967f5c28b2095da5bf4fcaf002fba21
7
- data.tar.gz: 070a2f5190f49f2908631514691f3b30e297668a72fc27be7e8d0b0e74d556998238cec1dd4a9d1ad857a8b41a0e0fdf475b8bc3fce21982bca7a56ea25a7dc8
6
+ metadata.gz: babf2ab6b91c2eda17a2c9e03e5ad40d77504dd435a935c5a525028d720d37e86db7825ce2cd97b68ad984241c9531067ed356390e9ca88514633f60db9049be
7
+ data.tar.gz: 6a7cfffa9c80f3481dd7f5c561365347abd3ff82d63116d83a0f91ddad3615572287c85325822ac64ca7d5c9e05c760c94e0c86b125f1ccea9646d27e074ac51
@@ -55,7 +55,7 @@ module Fastlane
55
55
  goldenRunReport.gsub!("<htmlImages>", hasDifferences ? htmlImages : "<h3>No differences found<h3>")
56
56
  File.open("#{differencesFolder}/report.html", "w") { |file| file.write(goldenRunReport) }
57
57
 
58
- if hasDifferences
58
+ if hasDifferences && params[:failWhenDiffs]
59
59
  UI.message("Error: ".red + "Some differences found".red)
60
60
  raise Exception
61
61
  end
@@ -88,7 +88,11 @@ module Fastlane
88
88
  optional: false),
89
89
  FastlaneCore::ConfigItem.new(key: :excludeArea,
90
90
  description: 'Area for the exclusion',
91
- optional: false)
91
+ optional: false),
92
+ FastlaneCore::ConfigItem.new(key: :failWhenDiffs,
93
+ description: 'Area for the exclusion',
94
+ optional: true,
95
+ default_value: false)
92
96
  ]
93
97
  end
94
98
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Imagesgoldenrun
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-imagesgoldenrun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luís Esteves