fastlane-plugin-stream_actions 0.3.49 → 0.3.51

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: 27b9eb8be931a82417ae11151032111d93590ac23f4cf67ef0111e6f984a3b0e
4
- data.tar.gz: 793fb537f50625be0210b3868883fe711e498c963bd4eff26447c1a27c64a266
3
+ metadata.gz: 2125d5dc4c49060550c415f6598ab3fbfac8cf438d7363baccf8d8c165374eb1
4
+ data.tar.gz: 052ae245c5d83b738d9df12c13c8b5401c1806940f85b9d86220c8c218af96c8
5
5
  SHA512:
6
- metadata.gz: 465ef4a4b40c7c1430eec509b49d92d9329f7e57b2b4ccfbdd7010a75a2a03d6f37fd5bc2e8330d6f78b2edd4411864ccaf74a946418f2831b375c4238206c92
7
- data.tar.gz: 1f946e9f849d73effa21e2ca782b3805bbe9337510c12edaaa2a1d0e3c260f87996dfb9a598d6d915a155adda209bef60664293bf215a3d52b2ada9cb3ae29d7
6
+ metadata.gz: 991fd91e789a3a61653e03b4cad8ae105a8f6b13e9c5360f15854f428729f1731422b5d05338c5aeb3a1c98f12943b70d64008936a7f1f6115c576f7f0c1f7ac
7
+ data.tar.gz: 41e1bcb46636af574e08f6ff0fcf28943e80193138d60ca89a54a600b7ea0384a7f02062f383e993ed81c5447323a2b4959ce43daa22dd526118430d5a5a0634
@@ -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
@@ -19,9 +19,9 @@ module Fastlane
19
19
  table_header = '## SDK Size'
20
20
  markdown_table = "#{table_header}\n| `title` | `#{is_release ? 'previous release' : 'develop'}` | `#{is_release ? 'current release' : 'branch'}` | `diff` | `status` |\n| - | - | - | - | - |\n"
21
21
  params[:branch_sizes].each do |sdk_name, branch_value_kb|
22
- branch_value_mb = (branch_value_kb / 1024).round(2)
22
+ branch_value_mb = (branch_value_kb / 1024.0).round(2)
23
23
  benchmark_value_kb = benchmark_sizes[sdk_name.to_s]
24
- benchmark_value_mb = (benchmark_value_kb / 1024).round(2)
24
+ benchmark_value_mb = (benchmark_value_kb / 1024.0).round(2)
25
25
  max_tolerance = 500 # Max Tolerance is 500KB
26
26
  fine_tolerance = 250 # Fine Tolerance is 250KB
27
27
 
@@ -6,7 +6,7 @@ module Fastlane
6
6
 
7
7
  params[:sizes].each do |key, value|
8
8
  framework_size_kb = value
9
- framework_size_mb = (framework_size_kb / 1024).round(2)
9
+ framework_size_mb = (framework_size_kb / 1024.0).round(2)
10
10
  readme_content.gsub!(%r{(https://img.shields.io/badge/#{key}-)(.*?)(-blue)}, "\\1#{framework_size_mb}MB\\3")
11
11
  end
12
12
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.49'
3
+ VERSION = '0.3.51'
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.49
4
+ version: 0.3.51
5
5
  platform: ruby
6
6
  authors:
7
7
  - GetStream