fastlane-plugin-stream_actions 0.3.50 → 0.3.52

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: 522a2eedea5b65350456fae7103c6ec464e3cd4087fd2002ff4e90790bad71c7
4
- data.tar.gz: bb55d82db4b6306fe0163f5a7ef97def5deb3c2109b558f24dd0ceafa9516c6c
3
+ metadata.gz: ba4502c30b897f24aca280ff6f1d67ef49a173e56eb4a6c2fc1c39475d702fd2
4
+ data.tar.gz: d50e1aed12cc26caa3a887351ed96299e97bc6c3dfc90a380221b82266b7b517
5
5
  SHA512:
6
- metadata.gz: b10cca230a9975917a088df463be9cb8ef04f91f908db330f2b749da6517779c97604ab2ce1a7315e585af8a532baf25c2f3c3e77fc979c250b4af1fb0cf12e5
7
- data.tar.gz: 756e576034531c717027abf3131e4a1bdbdb2ea9595e9ef5bd28eaf5df0fd8110736d745adcbd5b9adddbe2e038a856985d61137ef59fec80eb34f041f65a761
6
+ metadata.gz: 5c39bbf71defd5d94cf0d03c417ab072a2b8d338f8e870f75c90fe1aca1f60259f7c0b559423404a32b73fd2a5cbb5792598d0004ebe8b712ecee1c3d0676909
7
+ data.tar.gz: 4fc2e0e341b1f911b74d6e402b74216c9595dfdb26f7e477479f0d21d55c69c7e610f47b21fe767d62a13d3396588cb57477831b03ebdc775d8cc12c3945d7a6
@@ -9,11 +9,9 @@ module Fastlane
9
9
  end
10
10
 
11
11
  if simulators.empty?
12
- Dir.chdir('..') do
13
- sh("echo 'iOS #{params[:version]} Simulator' | ipsw download xcode --sim") if Dir['*.dmg'].first.nil?
14
- sh("sh #{params[:custom_script]} #{Dir['*.dmg'].first}")
15
- UI.success("iOS #{params[:version]} Runtime successfuly installed")
16
- end
12
+ sh("echo 'iOS #{params[:version]} Simulator' | ipsw download xcode --sim") if Dir['*.dmg'].first.nil?
13
+ sh("#{params[:custom_script]} #{Dir['*.dmg'].first}")
14
+ UI.success("iOS #{params[:version]} Runtime successfuly installed")
17
15
  else
18
16
  UI.important("iOS #{params[:version]} Runtime already exists")
19
17
  end
@@ -26,6 +26,7 @@ module Fastlane
26
26
  fine_tolerance = 250 # Fine Tolerance is 250KB
27
27
 
28
28
  diff = branch_value_kb - benchmark_value_kb
29
+ diff_sign = diff.positive? ? '+' : '-'
29
30
 
30
31
  status_emoji =
31
32
  if diff < 0
@@ -38,7 +39,7 @@ module Fastlane
38
39
  success_status
39
40
  end
40
41
 
41
- markdown_table << "|#{sdk_name}|#{benchmark_value_mb}MB|#{branch_value_mb}MB|#{diff.to_i}KB|#{status_emoji}|\n"
42
+ markdown_table << "|#{sdk_name}|#{benchmark_value_mb}MB|#{branch_value_mb}MB|#{diff_sign}#{diff.to_i.abs}KB|#{status_emoji}|\n"
42
43
  end
43
44
 
44
45
  FastlaneCore::PrintTable.print_values(title: 'Benchmark', config: benchmark_sizes)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.50'
3
+ VERSION = '0.3.52'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-stream_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.50
4
+ version: 0.3.52
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream