fastlane-plugin-stream_actions 0.3.57 → 0.3.58

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: b49f2a69729dee596f6be3a9504deed796ba5a7adf39c1e1c70aebd5a5764baa
4
- data.tar.gz: 8d90994596006326c9a727ffeb3c6858bc417721579182386b36393421a9f28e
3
+ metadata.gz: b2345dcb287f04e51faa662e34ba5fea343ac9a90dc9f7692e60dd6439255002
4
+ data.tar.gz: 7a908355904e4aaa3808bd65c2fe9161a36935f6537a1388cde05c69f385635a
5
5
  SHA512:
6
- metadata.gz: 4d4c40e817602724c1aa409bbc770ea1b286e6f2d263c240785a2d566bd3adb91f720d3ae3a1dc4def8ffce26a9aa4452a26be9d93977cecb69e1568e91876dd
7
- data.tar.gz: 2ddc3f6b0ea2919b781326caeeb9979f47154328fcadcbc21e6c14fb0c85ffe74a7aa35f2f76e7b3dedcafe7b28bf12ef3db915ab8c045f3bbc6cb267f3f05b0
6
+ metadata.gz: 72db6372a2ea659aae8f885dbcd2425057b9e1c64e8130e33a4e69ba1619d0ad91bc941f906e4e316837e095e1588a7e3ef3aed54bf72020fe65cc00f36cfbfc
7
+ data.tar.gz: 02cfe9f6b872cdaf919eb5ef47b2fc8c01413f1a6321ed7e67ffd51a63439174fc23defb935101fae2d36349e9662c3e52a36069a07611378f334b28a616b2f1
@@ -25,7 +25,7 @@ module Fastlane
25
25
  max_tolerance = 500 # Max Tolerance is 500KB
26
26
  fine_tolerance = 250 # Fine Tolerance is 250KB
27
27
 
28
- diff = branch_value_kb - benchmark_value_kb
28
+ diff = (branch_value_kb - benchmark_value_kb).to_i
29
29
 
30
30
  diff_sign = if diff.zero?
31
31
  ''
@@ -45,7 +45,7 @@ module Fastlane
45
45
  success_status
46
46
  end
47
47
 
48
- markdown_table << "|#{sdk_name}|#{benchmark_value_mb}MB|#{branch_value_mb}MB|#{diff_sign}#{diff.to_i.abs}KB|#{status_emoji}|\n"
48
+ markdown_table << "|#{sdk_name}|#{benchmark_value_mb} MB|#{branch_value_mb} MB|#{diff_sign}#{diff.abs} KB|#{status_emoji}|\n"
49
49
  end
50
50
 
51
51
  FastlaneCore::PrintTable.print_values(title: 'Benchmark', config: benchmark_sizes)
@@ -7,7 +7,7 @@ module Fastlane
7
7
  params[:sizes].each do |key, value|
8
8
  framework_size_kb = value
9
9
  framework_size_mb = (framework_size_kb / 1024.0).round(2)
10
- readme_content.gsub!(%r{(https://img.shields.io/badge/#{key}-)(.*?)(-blue)}, "\\1#{framework_size_mb}MB\\3")
10
+ readme_content.gsub!(%r{(https://img.shields.io/badge/#{key}-)(.*?)(-blue)}, "\\1#{framework_size_mb}%20MB\\3")
11
11
  end
12
12
 
13
13
  File.write(params[:readme_path], readme_content)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.57'
3
+ VERSION = '0.3.58'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-stream_actions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.57
4
+ version: 0.3.58
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-08-13 00:00:00.000000000 Z
11
+ date: 2024-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xctest_list