fastlane 2.218.0 → 2.219.0

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: 207ef9c2fe4564f7949fc47ec3693583185a7cf46cdeebcab96485d4b0a9ffa1
4
- data.tar.gz: 80053bd7ef7de964bf4b3ddeeab4698b149cf8bc2cccbe1355d5f8d49de541b2
3
+ metadata.gz: fc5ecf6d8cf5ad100811fa9a386cf6bdc02d8e4054663e2c3a59d94624a7cda8
4
+ data.tar.gz: 4bf38a96eba5cf4cb1918155136ead760e2462e8b2bdbd19bf2f7f29afbb39a3
5
5
  SHA512:
6
- metadata.gz: a9ea4c0b0093fcceed9e353ece98359675754b8ab17b7e2b2a8f3efd6da34f6ad012e7fb2aca9ff33c08022195e5fd271db52db6d51ca3dbbb6472bec76e95eb
7
- data.tar.gz: edb1ba5f075dce4d8a43af1e12ef886f0c572f416255818f1878c5ea14cd93c5d67105882fc999a7d794f2ad1ab1e0a8293c35c028e72fa9254b9d28924074bf
6
+ metadata.gz: 67749a0ada8ac8654b5d3b42221e41562249a014435e9f0bf8354e441370b072e34a25e422d40c81266a1395969d56c8898e6e0492d7d17b82e2c98864d97791
7
+ data.tar.gz: 7e9d404f597ad89a09df94ca1c51b4f1bf6a894493cf66c6efb69eefd93bce34e429407d80cdb289a2170b70f9619ef4f8f77af1065c78aa3ba6a6602540b034
data/README.md CHANGED
@@ -35,17 +35,17 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
35
35
  <!-- This table is regenerated and resorted on each release -->
36
36
  <table id='team'>
37
37
  <tr>
38
- <td id='roger-oba'>
39
- <a href='https://github.com/rogerluan'>
40
- <img src='https://github.com/rogerluan.png' width='140px;'>
38
+ <td id='manu-wallner'>
39
+ <a href='https://github.com/milch'>
40
+ <img src='https://github.com/milch.png' width='140px;'>
41
41
  </a>
42
- <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
42
+ <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
43
43
  </td>
44
- <td id='fumiya-nakamura'>
45
- <a href='https://github.com/nafu'>
46
- <img src='https://github.com/nafu.png' width='140px;'>
44
+ <td id='joshua-liebowitz'>
45
+ <a href='https://github.com/taquitos'>
46
+ <img src='https://github.com/taquitos.png' width='140px;'>
47
47
  </a>
48
- <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
48
+ <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
49
49
  </td>
50
50
  <td id='danielle-tomlinson'>
51
51
  <a href='https://github.com/endocrimes'>
@@ -53,81 +53,49 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
53
53
  </a>
54
54
  <h4 align='center'><a href='https://twitter.com/endocrimes'>Danielle Tomlinson</a></h4>
55
55
  </td>
56
- <td id='max-ott'>
57
- <a href='https://github.com/max-ott'>
58
- <img src='https://github.com/max-ott.png' width='140px;'>
59
- </a>
60
- <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
61
- </td>
62
- <td id='jorge-revuelta-h'>
63
- <a href='https://github.com/minuscorp'>
64
- <img src='https://github.com/minuscorp.png' width='140px;'>
65
- </a>
66
- <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
67
- </td>
68
- </tr>
69
- <tr>
70
- <td id='maksym-grebenets'>
71
- <a href='https://github.com/mgrebenets'>
72
- <img src='https://github.com/mgrebenets.png' width='140px;'>
73
- </a>
74
- <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
75
- </td>
76
56
  <td id='satoshi-namai'>
77
57
  <a href='https://github.com/ainame'>
78
58
  <img src='https://github.com/ainame.png' width='140px;'>
79
59
  </a>
80
60
  <h4 align='center'><a href='https://twitter.com/ainame'>Satoshi Namai</a></h4>
81
61
  </td>
82
- <td id='matthew-ellis'>
83
- <a href='https://github.com/matthewellis'>
84
- <img src='https://github.com/matthewellis.png' width='140px;'>
85
- </a>
86
- <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
87
- </td>
88
- <td id='manu-wallner'>
89
- <a href='https://github.com/milch'>
90
- <img src='https://github.com/milch.png' width='140px;'>
62
+ <td id='felix-krause'>
63
+ <a href='https://github.com/KrauseFx'>
64
+ <img src='https://github.com/KrauseFx.png' width='140px;'>
91
65
  </a>
92
- <h4 align='center'><a href='https://twitter.com/acrooow'>Manu Wallner</a></h4>
66
+ <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
93
67
  </td>
68
+ </tr>
69
+ <tr>
94
70
  <td id='łukasz-grabowski'>
95
71
  <a href='https://github.com/lucgrabowski'>
96
72
  <img src='https://github.com/lucgrabowski.png' width='140px;'>
97
73
  </a>
98
74
  <h4 align='center'>Łukasz Grabowski</h4>
99
75
  </td>
100
- </tr>
101
- <tr>
102
- <td id='josh-holtz'>
103
- <a href='https://github.com/joshdholtz'>
104
- <img src='https://github.com/joshdholtz.png' width='140px;'>
105
- </a>
106
- <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
107
- </td>
108
- <td id='kohki-miki'>
109
- <a href='https://github.com/giginet'>
110
- <img src='https://github.com/giginet.png' width='140px;'>
76
+ <td id='maksym-grebenets'>
77
+ <a href='https://github.com/mgrebenets'>
78
+ <img src='https://github.com/mgrebenets.png' width='140px;'>
111
79
  </a>
112
- <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
80
+ <h4 align='center'><a href='https://twitter.com/mgrebenets'>Maksym Grebenets</a></h4>
113
81
  </td>
114
- <td id='olivier-halligon'>
115
- <a href='https://github.com/AliSoftware'>
116
- <img src='https://github.com/AliSoftware.png' width='140px;'>
82
+ <td id='fumiya-nakamura'>
83
+ <a href='https://github.com/nafu'>
84
+ <img src='https://github.com/nafu.png' width='140px;'>
117
85
  </a>
118
- <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
86
+ <h4 align='center'><a href='https://twitter.com/nafu003'>Fumiya Nakamura</a></h4>
119
87
  </td>
120
- <td id='manish-rathi'>
121
- <a href='https://github.com/crazymanish'>
122
- <img src='https://github.com/crazymanish.png' width='140px;'>
88
+ <td id='jérôme-lacoste'>
89
+ <a href='https://github.com/lacostej'>
90
+ <img src='https://github.com/lacostej.png' width='140px;'>
123
91
  </a>
124
- <h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
92
+ <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
125
93
  </td>
126
- <td id='andrew-mcburney'>
127
- <a href='https://github.com/armcburney'>
128
- <img src='https://github.com/armcburney.png' width='140px;'>
94
+ <td id='stefan-natchev'>
95
+ <a href='https://github.com/snatchev'>
96
+ <img src='https://github.com/snatchev.png' width='140px;'>
129
97
  </a>
130
- <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
98
+ <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
131
99
  </td>
132
100
  </tr>
133
101
  <tr>
@@ -137,55 +105,43 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
137
105
  </a>
138
106
  <h4 align='center'><a href='https://twitter.com/hjanuschka'>Helmut Januschka</a></h4>
139
107
  </td>
140
- <td id='felix-krause'>
141
- <a href='https://github.com/KrauseFx'>
142
- <img src='https://github.com/KrauseFx.png' width='140px;'>
143
- </a>
144
- <h4 align='center'><a href='https://twitter.com/KrauseFx'>Felix Krause</a></h4>
145
- </td>
146
- <td id='jérôme-lacoste'>
147
- <a href='https://github.com/lacostej'>
148
- <img src='https://github.com/lacostej.png' width='140px;'>
149
- </a>
150
- <h4 align='center'><a href='https://twitter.com/lacostej'>Jérôme Lacoste</a></h4>
151
- </td>
152
- <td id='aaron-brager'>
153
- <a href='https://github.com/getaaron'>
154
- <img src='https://github.com/getaaron.png' width='140px;'>
108
+ <td id='manish-rathi'>
109
+ <a href='https://github.com/crazymanish'>
110
+ <img src='https://github.com/crazymanish.png' width='140px;'>
155
111
  </a>
156
- <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
112
+ <h4 align='center'><a href='https://twitter.com/iammanishrathi'>Manish Rathi</a></h4>
157
113
  </td>
158
- <td id='joshua-liebowitz'>
159
- <a href='https://github.com/taquitos'>
160
- <img src='https://github.com/taquitos.png' width='140px;'>
114
+ <td id='max-ott'>
115
+ <a href='https://github.com/max-ott'>
116
+ <img src='https://github.com/max-ott.png' width='140px;'>
161
117
  </a>
162
- <h4 align='center'><a href='https://twitter.com/taquitos'>Joshua Liebowitz</a></h4>
118
+ <h4 align='center'><a href='https://twitter.com/ott_max'>Max Ott</a></h4>
163
119
  </td>
164
- </tr>
165
- <tr>
166
120
  <td id='jimmy-dee'>
167
121
  <a href='https://github.com/jdee'>
168
122
  <img src='https://github.com/jdee.png' width='140px;'>
169
123
  </a>
170
124
  <h4 align='center'>Jimmy Dee</h4>
171
125
  </td>
126
+ <td id='roger-oba'>
127
+ <a href='https://github.com/rogerluan'>
128
+ <img src='https://github.com/rogerluan.png' width='140px;'>
129
+ </a>
130
+ <h4 align='center'><a href='https://twitter.com/rogerluan_'>Roger Oba</a></h4>
131
+ </td>
132
+ </tr>
133
+ <tr>
172
134
  <td id='iulian-onofrei'>
173
135
  <a href='https://github.com/revolter'>
174
136
  <img src='https://github.com/revolter.png' width='140px;'>
175
137
  </a>
176
138
  <h4 align='center'><a href='https://twitter.com/Revolt666'>Iulian Onofrei</a></h4>
177
139
  </td>
178
- <td id='stefan-natchev'>
179
- <a href='https://github.com/snatchev'>
180
- <img src='https://github.com/snatchev.png' width='140px;'>
181
- </a>
182
- <h4 align='center'><a href='https://twitter.com/snatchev'>Stefan Natchev</a></h4>
183
- </td>
184
- <td id='jan-piotrowski'>
185
- <a href='https://github.com/janpio'>
186
- <img src='https://github.com/janpio.png' width='140px;'>
140
+ <td id='josh-holtz'>
141
+ <a href='https://github.com/joshdholtz'>
142
+ <img src='https://github.com/joshdholtz.png' width='140px;'>
187
143
  </a>
188
- <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
144
+ <h4 align='center'><a href='https://twitter.com/joshdholtz'>Josh Holtz</a></h4>
189
145
  </td>
190
146
  <td id='daniel-jankowski'>
191
147
  <a href='https://github.com/mollyIV'>
@@ -193,6 +149,18 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
193
149
  </a>
194
150
  <h4 align='center'><a href='https://twitter.com/mollyIV'>Daniel Jankowski</a></h4>
195
151
  </td>
152
+ <td id='andrew-mcburney'>
153
+ <a href='https://github.com/armcburney'>
154
+ <img src='https://github.com/armcburney.png' width='140px;'>
155
+ </a>
156
+ <h4 align='center'><a href='https://twitter.com/armcburney'>Andrew McBurney</a></h4>
157
+ </td>
158
+ <td id='jan-piotrowski'>
159
+ <a href='https://github.com/janpio'>
160
+ <img src='https://github.com/janpio.png' width='140px;'>
161
+ </a>
162
+ <h4 align='center'><a href='https://twitter.com/Sujan'>Jan Piotrowski</a></h4>
163
+ </td>
196
164
  </tr>
197
165
  <tr>
198
166
  <td id='luka-mirosevic'>
@@ -201,6 +169,38 @@ If the above doesn't help, please [submit an issue](https://github.com/fastlane/
201
169
  </a>
202
170
  <h4 align='center'><a href='https://twitter.com/lmirosevic'>Luka Mirosevic</a></h4>
203
171
  </td>
172
+ <td id='kohki-miki'>
173
+ <a href='https://github.com/giginet'>
174
+ <img src='https://github.com/giginet.png' width='140px;'>
175
+ </a>
176
+ <h4 align='center'><a href='https://twitter.com/giginet'>Kohki Miki</a></h4>
177
+ </td>
178
+ <td id='aaron-brager'>
179
+ <a href='https://github.com/getaaron'>
180
+ <img src='https://github.com/getaaron.png' width='140px;'>
181
+ </a>
182
+ <h4 align='center'><a href='https://twitter.com/getaaron'>Aaron Brager</a></h4>
183
+ </td>
184
+ <td id='olivier-halligon'>
185
+ <a href='https://github.com/AliSoftware'>
186
+ <img src='https://github.com/AliSoftware.png' width='140px;'>
187
+ </a>
188
+ <h4 align='center'><a href='https://twitter.com/aligatr'>Olivier Halligon</a></h4>
189
+ </td>
190
+ <td id='jorge-revuelta-h'>
191
+ <a href='https://github.com/minuscorp'>
192
+ <img src='https://github.com/minuscorp.png' width='140px;'>
193
+ </a>
194
+ <h4 align='center'><a href='https://twitter.com/minuscorp'>Jorge Revuelta H</a></h4>
195
+ </td>
196
+ </tr>
197
+ <tr>
198
+ <td id='matthew-ellis'>
199
+ <a href='https://github.com/matthewellis'>
200
+ <img src='https://github.com/matthewellis.png' width='140px;'>
201
+ </a>
202
+ <h4 align='center'><a href='https://twitter.com/mellis1995'>Matthew Ellis</a></h4>
203
+ </td>
204
204
  </table>
205
205
 
206
206
  Special thanks to all [contributors](https://github.com/fastlane/fastlane/graphs/contributors) for extending and improving _fastlane_.
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.218.0'.freeze
2
+ VERSION = '2.219.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '1.50.2'.freeze
@@ -17,4 +17,4 @@ public class Deliverfile: DeliverfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.218.0
20
+ // Generated with fastlane 2.219.0
@@ -264,4 +264,4 @@ public extension DeliverfileProtocol {
264
264
 
265
265
  // Please don't remove the lines below
266
266
  // They are used to detect outdated files
267
- // FastlaneRunnerAPIVersion [0.9.122]
267
+ // FastlaneRunnerAPIVersion [0.9.123]
@@ -13764,4 +13764,4 @@ public let snapshotfile: Snapshotfile = .init()
13764
13764
 
13765
13765
  // Please don't remove the lines below
13766
13766
  // They are used to detect outdated files
13767
- // FastlaneRunnerAPIVersion [0.9.175]
13767
+ // FastlaneRunnerAPIVersion [0.9.176]
@@ -17,4 +17,4 @@ public class Gymfile: GymfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.218.0
20
+ // Generated with fastlane 2.219.0
@@ -208,4 +208,4 @@ public extension GymfileProtocol {
208
208
 
209
209
  // Please don't remove the lines below
210
210
  // They are used to detect outdated files
211
- // FastlaneRunnerAPIVersion [0.9.125]
211
+ // FastlaneRunnerAPIVersion [0.9.126]
@@ -17,4 +17,4 @@ public class Matchfile: MatchfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.218.0
20
+ // Generated with fastlane 2.219.0
@@ -228,4 +228,4 @@ public extension MatchfileProtocol {
228
228
 
229
229
  // Please don't remove the lines below
230
230
  // They are used to detect outdated files
231
- // FastlaneRunnerAPIVersion [0.9.119]
231
+ // FastlaneRunnerAPIVersion [0.9.120]
@@ -17,4 +17,4 @@ public class Precheckfile: PrecheckfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.218.0
20
+ // Generated with fastlane 2.219.0
@@ -52,4 +52,4 @@ public extension PrecheckfileProtocol {
52
52
 
53
53
  // Please don't remove the lines below
54
54
  // They are used to detect outdated files
55
- // FastlaneRunnerAPIVersion [0.9.118]
55
+ // FastlaneRunnerAPIVersion [0.9.119]
@@ -17,4 +17,4 @@ public class Scanfile: ScanfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.218.0
20
+ // Generated with fastlane 2.219.0
@@ -320,4 +320,4 @@ public extension ScanfileProtocol {
320
320
 
321
321
  // Please don't remove the lines below
322
322
  // They are used to detect outdated files
323
- // FastlaneRunnerAPIVersion [0.9.130]
323
+ // FastlaneRunnerAPIVersion [0.9.131]
@@ -17,4 +17,4 @@ public class Screengrabfile: ScreengrabfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.218.0
20
+ // Generated with fastlane 2.219.0
@@ -96,4 +96,4 @@ public extension ScreengrabfileProtocol {
96
96
 
97
97
  // Please don't remove the lines below
98
98
  // They are used to detect outdated files
99
- // FastlaneRunnerAPIVersion [0.9.120]
99
+ // FastlaneRunnerAPIVersion [0.9.121]
@@ -17,4 +17,4 @@ public class Snapshotfile: SnapshotfileProtocol {
17
17
  // during the `init` process, and you won't see this message
18
18
  }
19
19
 
20
- // Generated with fastlane 2.218.0
20
+ // Generated with fastlane 2.219.0
@@ -204,4 +204,4 @@ public extension SnapshotfileProtocol {
204
204
 
205
205
  // Please don't remove the lines below
206
206
  // They are used to detect outdated files
207
- // FastlaneRunnerAPIVersion [0.9.114]
207
+ // FastlaneRunnerAPIVersion [0.9.115]
@@ -80,6 +80,14 @@
80
80
  "CLT": "15.0.0.0.1.1694021235",
81
81
  "Xcode": "15.1",
82
82
  "macOS": "13.6"
83
+ },
84
+ "sonoma": {
85
+ "HOMEBREW_VERSION": "4.2.2-18-gdcd267b",
86
+ "HOMEBREW_PREFIX": "/opt/homebrew",
87
+ "Homebrew/homebrew-core": "api",
88
+ "CLT": "15.0.0.0.1.1694021235",
89
+ "Xcode": "15.1",
90
+ "macOS": "14.2.1"
83
91
  }
84
92
  }
85
93
  }
@@ -18,8 +18,8 @@ module Match
18
18
  profile_type: profile_type,
19
19
  additional_cert_types: params[:additional_cert_types],
20
20
  bundle_id_identifiers: bundle_id_identifiers,
21
- needs_profiles_devices: ProfileIncludes.can_force_include?(params: params, notify: true) && !params[:force] && !params[:readonly],
22
- needs_profiles_certificate_content: !ProfileIncludes.can_force_include_all_certificates?(params: params),
21
+ needs_profiles_devices: ProfileIncludes.can_force_include_all_devices?(params: params, notify: true),
22
+ needs_profiles_certificate_content: !ProfileIncludes.can_force_include_all_certificates?(params: params, notify: true),
23
23
  include_mac_in_profiles: params[:include_mac_in_profiles]
24
24
  )
25
25
 
@@ -46,7 +46,7 @@ module Match
46
46
  def self.devices_differ?(portal_profile:, platform:, include_mac_in_profiles:, cached_devices:)
47
47
  return false unless portal_profile
48
48
 
49
- profile_devices = portal_profile.devices
49
+ profile_devices = portal_profile.devices || []
50
50
 
51
51
  portal_devices = cached_devices
52
52
  portal_devices ||= Match::Portal::Fetcher.devices(platform: platform, include_mac_in_profiles: include_mac_in_profiles)
@@ -102,7 +102,7 @@ module Match
102
102
  def self.certificates_differ?(portal_profile:, platform:, cached_certificates:)
103
103
  return false unless portal_profile
104
104
 
105
- profile_certs = portal_profile.certificates
105
+ profile_certs = portal_profile.certificates || []
106
106
 
107
107
  portal_certs = cached_certificates
108
108
  portal_certs ||= Match::Portal::Fetcher.certificates(platform: platform, profile_type: portal_profile.profile_type)
@@ -68,14 +68,14 @@ module Match
68
68
  # then in the future address the root cause of https://github.com/fastlane/fastlane/issues/11324
69
69
  app_identifiers = app_identifiers.flatten.uniq
70
70
 
71
- # Cache bundle ids, certificates, profiles, and devices.
72
- self.cache = Portal::Cache.build(
73
- params: params,
74
- bundle_id_identifiers: app_identifiers
75
- )
76
-
77
- # Verify the App ID (as we don't want 'match' to fail at a later point)
78
71
  if spaceship
72
+ # Cache bundle ids, certificates, profiles, and devices.
73
+ self.cache = Portal::Cache.build(
74
+ params: params,
75
+ bundle_id_identifiers: app_identifiers
76
+ )
77
+
78
+ # Verify the App ID (as we don't want 'match' to fail at a later point)
79
79
  app_identifiers.each do |app_identifier|
80
80
  spaceship.bundle_identifier_exists(username: params[:username], app_identifier: app_identifier, cached_bundle_ids: self.cache.bundle_ids)
81
81
  end
@@ -247,16 +247,19 @@ module Match
247
247
  stored_profile_path = profiles.last
248
248
  force = params[:force]
249
249
 
250
- portal_profile = self.cache.portal_profile(stored_profile_path: stored_profile_path, keychain_path: keychain_path) if stored_profile_path
250
+ if spaceship
251
+ # check if profile needs to be updated only if not in readonly mode
252
+ portal_profile = self.cache.portal_profile(stored_profile_path: stored_profile_path, keychain_path: keychain_path) if stored_profile_path
251
253
 
252
- if params[:force_for_new_devices]
253
- force ||= ProfileIncludes.should_force_include_all_devices?(params: params, portal_profile: portal_profile, cached_devices: self.cache.devices)
254
- end
254
+ if params[:force_for_new_devices]
255
+ force ||= ProfileIncludes.should_force_include_all_devices?(params: params, portal_profile: portal_profile, cached_devices: self.cache.devices)
256
+ end
255
257
 
256
- if params[:include_all_certificates]
257
- # Clearing specified certificate id which will prevent a profile being created with only one certificate
258
- certificate_id = nil
259
- force ||= ProfileIncludes.should_force_include_all_certificates?(params: params, portal_profile: portal_profile, cached_certificates: self.cache.certificates)
258
+ if params[:include_all_certificates]
259
+ # Clearing specified certificate id which will prevent a profile being created with only one certificate
260
+ certificate_id = nil
261
+ force ||= ProfileIncludes.should_force_include_all_certificates?(params: params, portal_profile: portal_profile, cached_certificates: self.cache.certificates)
262
+ end
260
263
  end
261
264
 
262
265
  is_new_profile_created = false
@@ -217,7 +217,7 @@ module Scan
217
217
  if pieces.count == 0
218
218
  [] # empty array
219
219
  elsif pieces.count == 1
220
- [ highest_compatible_simulator(simulators, pieces.first) ]
220
+ [ highest_compatible_simulator(simulators, pieces.first) ].compact
221
221
  else # pieces.count == 2 -- mathematically, because of the 'end of line' part of our regular expression
222
222
  version = pieces[1].tr('()', '')
223
223
  display_device = "'#{pieces[0]}' with version #{version}"
@@ -205,10 +205,10 @@ module Sigh
205
205
  is_string: false,
206
206
  default_value: nil,
207
207
  verify_block: proc do |value|
208
+ next if value.nil?
208
209
  if !value.kind_of?(Array) ||
209
- value.empty? ||
210
210
  !value.all?(Spaceship::ConnectAPI::Certificate)
211
- UI.user_error!("cached_certificates parameter must be a non-empty array of Spaceship::ConnectAPI::Certificate") unless value.kind_of?(Array)
211
+ UI.user_error!("cached_certificates parameter must be an array of Spaceship::ConnectAPI::Certificate") unless value.kind_of?(Array)
212
212
  end
213
213
  end),
214
214
  FastlaneCore::ConfigItem.new(key: :cached_devices,
@@ -217,10 +217,10 @@ module Sigh
217
217
  is_string: false,
218
218
  default_value: nil,
219
219
  verify_block: proc do |value|
220
+ next if value.nil?
220
221
  if !value.kind_of?(Array) ||
221
- value.empty? ||
222
222
  !value.all?(Spaceship::ConnectAPI::Device)
223
- UI.user_error!("cached_devices parameter must be a non-empty array of Spaceship::ConnectAPI::Device")
223
+ UI.user_error!("cached_devices parameter must be an array of Spaceship::ConnectAPI::Device")
224
224
  end
225
225
  end),
226
226
  FastlaneCore::ConfigItem.new(key: :cached_bundle_ids,
@@ -229,10 +229,10 @@ module Sigh
229
229
  is_string: false,
230
230
  default_value: nil,
231
231
  verify_block: proc do |value|
232
+ next if value.nil?
232
233
  if !value.kind_of?(Array) ||
233
- value.empty? ||
234
234
  !value.all?(Spaceship::ConnectAPI::BundleId)
235
- UI.user_error!("cached_bundle_ids parameter must be a non-empty array of Spaceship::ConnectAPI::BundleId")
235
+ UI.user_error!("cached_bundle_ids parameter must be an array of Spaceship::ConnectAPI::BundleId")
236
236
  end
237
237
  end),
238
238
  FastlaneCore::ConfigItem.new(key: :cached_profiles,
@@ -241,10 +241,10 @@ module Sigh
241
241
  is_string: false,
242
242
  default_value: nil,
243
243
  verify_block: proc do |value|
244
+ next if value.nil?
244
245
  if !value.kind_of?(Array) ||
245
- value.empty? ||
246
246
  !value.all?(Spaceship::ConnectAPI::Profile)
247
- UI.user_error!("cached_profiles parameter must be a non-empty array of Spaceship::ConnectAPI::Profile")
247
+ UI.user_error!("cached_profiles parameter must be an array of Spaceship::ConnectAPI::Profile")
248
248
  end
249
249
  end)
250
250
  ]
@@ -91,7 +91,7 @@ module Sigh
91
91
  results = Sigh.config[:cached_profiles]
92
92
  results ||= Spaceship::ConnectAPI::Profile.all(filter: filter, includes: includes)
93
93
  results.select! do |profile|
94
- profile.bundle_id.identifier == Sigh.config[:app_identifier]
94
+ profile.bundle_id&.identifier == Sigh.config[:app_identifier]
95
95
  end
96
96
 
97
97
  results = results.find_all do |current_profile|
metadata CHANGED
@@ -1,39 +1,39 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.218.0
4
+ version: 2.219.0
5
5
  platform: ruby
6
6
  authors:
7
- - Manish Rathi
8
7
  - Matthew Ellis
9
- - Jorge Revuelta H
10
- - Felix Krause
11
- - Luka Mirosevic
12
- - Fumiya Nakamura
13
- - Stefan Natchev
14
- - Helmut Januschka
15
8
  - Jimmy Dee
16
- - Jan Piotrowski
9
+ - Stefan Natchev
10
+ - Roger Oba
11
+ - Kohki Miki
12
+ - Fumiya Nakamura
13
+ - Josh Holtz
14
+ - Iulian Onofrei
15
+ - Andrew McBurney
17
16
  - Maksym Grebenets
17
+ - Manu Wallner
18
18
  - Jérôme Lacoste
19
+ - Felix Krause
20
+ - Łukasz Grabowski
21
+ - Jan Piotrowski
22
+ - Max Ott
23
+ - Helmut Januschka
19
24
  - Joshua Liebowitz
20
- - Josh Holtz
21
25
  - Danielle Tomlinson
22
- - Łukasz Grabowski
23
- - Satoshi Namai
24
- - Aaron Brager
25
26
  - Daniel Jankowski
26
- - Kohki Miki
27
27
  - Olivier Halligon
28
- - Roger Oba
29
- - Max Ott
30
- - Iulian Onofrei
31
- - Andrew McBurney
32
- - Manu Wallner
28
+ - Satoshi Namai
29
+ - Luka Mirosevic
30
+ - Jorge Revuelta H
31
+ - Manish Rathi
32
+ - Aaron Brager
33
33
  autorequire:
34
34
  bindir: bin
35
35
  cert_chain: []
36
- date: 2024-01-02 00:00:00.000000000 Z
36
+ date: 2024-01-04 00:00:00.000000000 Z
37
37
  dependencies:
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: addressable
@@ -341,6 +341,26 @@ dependencies:
341
341
  - - "~>"
342
342
  - !ruby/object:Gem::Version
343
343
  version: '0.1'
344
+ - !ruby/object:Gem::Dependency
345
+ name: google-cloud-env
346
+ requirement: !ruby/object:Gem::Requirement
347
+ requirements:
348
+ - - ">="
349
+ - !ruby/object:Gem::Version
350
+ version: 1.6.0
351
+ - - "<"
352
+ - !ruby/object:Gem::Version
353
+ version: 2.0.0
354
+ type: :runtime
355
+ prerelease: false
356
+ version_requirements: !ruby/object:Gem::Requirement
357
+ requirements:
358
+ - - ">="
359
+ - !ruby/object:Gem::Version
360
+ version: 1.6.0
361
+ - - "<"
362
+ - !ruby/object:Gem::Version
363
+ version: 2.0.0
344
364
  - !ruby/object:Gem::Dependency
345
365
  name: google-cloud-storage
346
366
  requirement: !ruby/object:Gem::Requirement