fastlane-plugin-stream_actions 0.3.64 → 0.3.66

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: 4f7e2e6f8048ba0bfb6944452f9294c20475731a9166ae03b757272ab9640bf0
4
- data.tar.gz: e10447271ffa41fac67036418a2366c2f566c9b148dded883b9e12a70007bcdc
3
+ metadata.gz: 4dec2fe9c3146f0bfb6aaa05b977cdd8904843801a19575c6677db2f96f6c6cb
4
+ data.tar.gz: 92aefc4043bf15f57ca522cf1723d11ba63c90ebce983ba8a598b568c6447e0f
5
5
  SHA512:
6
- metadata.gz: 18f64942f0c3ad3f4167b9566548cadb6a1ec672821dec84555a8b76f6dfe3af7fd4a8f2571a5a46104e382fe7fe5f5fb0d9ebcfa8acfef54b3f12307cf8b28b
7
- data.tar.gz: aa592d22f547488a9b8b510769a3b269403f6d56f79dfd068015a7b864103d51b21c49dc014567a87084e5025bb25d1c2199e61757ef267f0ad6636b9f7b49fb
6
+ metadata.gz: 70b17c6ab38cf96141c4ad7d71bf7de00de498faf070d757f09a96f57219c38b8d0356bf0449333dd577c185464b570bd532de54b1d488fa72614d5a0c398e9f
7
+ data.tar.gz: 384a61fc2dc30ea2ad5707e4c8aae4de1731346bdebd463a7ed2c4bbaf6e6907512fe59873384fa8b6b65e3b46d7b97dfd431802dcd8a32327484f7466fea12d
@@ -9,8 +9,12 @@ module Fastlane
9
9
  end
10
10
 
11
11
  if simulators.empty?
12
- sh("echo 'iOS #{params[:version]} Simulator' | ipsw download xcode --sim") if Dir['*.dmg'].first.nil?
13
- sh("#{params[:custom_script]} #{Dir['*.dmg'].first}")
12
+ if params[:tool] == 'ipsw'
13
+ sh("echo 'iOS #{params[:version]} Simulator' | ipsw download xcode --sim") if Dir['*.dmg'].first.nil?
14
+ sh("#{params[:custom_script]} #{Dir['*.dmg'].first}") if params[:custom_script]
15
+ else
16
+ sh("sudo xcodes runtimes install 'iOS #{params[:version]}'")
17
+ end
14
18
  UI.success("iOS #{params[:version]} Runtime successfuly installed")
15
19
  else
16
20
  UI.important("iOS #{params[:version]} Runtime already exists")
@@ -31,9 +35,18 @@ module Fastlane
31
35
  key: :version,
32
36
  description: 'iOS Version'
33
37
  ),
38
+ FastlaneCore::ConfigItem.new(
39
+ key: :tool,
40
+ description: 'Which tool to use to install the runtime: ipsw or xcodes',
41
+ default_value: 'ipsw',
42
+ verify_block: proc do |tool|
43
+ UI.user_error!('Available options are `ipsw` and `xcodes`') unless ['xcodes', 'ipsw'].include?(tool)
44
+ end
45
+ ),
34
46
  FastlaneCore::ConfigItem.new(
35
47
  key: :custom_script,
36
- description: 'Path to custom script to install the runtime'
48
+ description: 'Path to custom script to install the runtime (might be required for ipsw)',
49
+ optional: true
37
50
  )
38
51
  ]
39
52
  end
@@ -20,7 +20,7 @@ module Fastlane
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
22
  branch_value_mb = (branch_value_kb / 1024.0).round(2)
23
- branch_value = params[:size_ext] == 'KB' ? branch_value_kb : branch_value_mb
23
+ branch_value = params[:size_ext] == 'KB' ? branch_value_kb.round(0) : branch_value_mb
24
24
  benchmark_value_kb = benchmark_sizes[sdk_name.to_s]
25
25
  benchmark_value_mb = (benchmark_value_kb / 1024.0).round(2)
26
26
  benchmark_value = params[:size_ext] == 'KB' ? benchmark_value_kb : benchmark_value_mb
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StreamActions
3
- VERSION = '0.3.64'
3
+ VERSION = '0.3.66'
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.64
4
+ version: 0.3.66
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-19 00:00:00.000000000 Z
11
+ date: 2024-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xctest_list