fastlane 2.167.0 → 2.168.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +68 -68
- data/cert/lib/cert/options.rb +1 -1
- data/fastlane/lib/fastlane/actions/slather.rb +2 -2
- data/fastlane/lib/fastlane/actions/upload_to_app_store.rb +3 -3
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +1 -1
- data/fastlane/swift/Fastlane.swift +10 -10
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/GymfileProtocol.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/MatchfileProtocol.swift +3 -3
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/PrecheckfileProtocol.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +1 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/ScreengrabfileProtocol.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane/swift/SnapshotfileProtocol.swift +1 -1
- data/fastlane_core/lib/fastlane_core/helper.rb +1 -1
- data/match/lib/match/module.rb +1 -1
- data/match/lib/match/options.rb +1 -1
- data/scan/lib/scan/runner.rb +2 -2
- data/spaceship/lib/spaceship/connect_api/models/.app.rb.swp +0 -0
- data/spaceship/lib/spaceship/connect_api/models/.app_screenshot.rb.swp +0 -0
- data/spaceship/lib/spaceship/connect_api/models/.build.rb.swp +0 -0
- data/spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/app.rb +76 -51
- data/spaceship/lib/spaceship/connect_api/models/app_info.rb +15 -10
- data/spaceship/lib/spaceship/connect_api/models/app_info_localization.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/app_preview.rb +15 -11
- data/spaceship/lib/spaceship/connect_api/models/app_preview_set.rb +13 -9
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot.rb +9 -7
- data/spaceship/lib/spaceship/connect_api/models/app_screenshot_set.rb +15 -11
- data/spaceship/lib/spaceship/connect_api/models/app_store_review_attachment.rb +7 -5
- data/spaceship/lib/spaceship/connect_api/models/app_store_review_detail.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/app_store_version.rb +54 -36
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_localization.rb +21 -14
- data/spaceship/lib/spaceship/connect_api/models/app_store_version_submission.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/beta_app_review_submission.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/beta_feedback.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/beta_group.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/beta_tester.rb +12 -8
- data/spaceship/lib/spaceship/connect_api/models/build.rb +24 -16
- data/spaceship/lib/spaceship/connect_api/models/build_delivery.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +9 -6
- data/spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/certificate.rb +12 -8
- data/spaceship/lib/spaceship/connect_api/models/device.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/idfa_declaration.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/profile.rb +12 -8
- data/spaceship/lib/spaceship/connect_api/models/reset_ratings_request.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/sandbox_tester.rb +9 -6
- data/spaceship/lib/spaceship/connect_api/models/territory.rb +3 -2
- data/spaceship/lib/spaceship/connect_api/models/user.rb +6 -4
- data/spaceship/lib/spaceship/connect_api/models/user_invitation.rb +9 -6
- data/spaceship/lib/spaceship/tunes/iap_detail.rb +1 -1
- data/spaceship/lib/spaceship/tunes/tunes_client.rb +2 -2
- data/supply/lib/supply/options.rb +1 -1
- data/supply/lib/supply/uploader.rb +3 -2
- metadata +21 -18
@@ -18,8 +18,9 @@ module Spaceship
|
|
18
18
|
# API
|
19
19
|
#
|
20
20
|
|
21
|
-
def self.all(filter: {}, includes: nil, limit: 180, sort: nil)
|
22
|
-
|
21
|
+
def self.all(client: nil, filter: {}, includes: nil, limit: 180, sort: nil)
|
22
|
+
client ||= Spaceship::ConnectAPI
|
23
|
+
resps = client.get_territories(filter: {}, includes: nil, limit: nil, sort: nil).all_pages
|
23
24
|
return resps.flat_map(&:to_models)
|
24
25
|
end
|
25
26
|
end
|
@@ -38,13 +38,15 @@ module Spaceship
|
|
38
38
|
# API
|
39
39
|
#
|
40
40
|
|
41
|
-
def self.all(filter: {}, includes: nil, limit: nil, sort: nil)
|
42
|
-
|
41
|
+
def self.all(client: nil, filter: {}, includes: nil, limit: nil, sort: nil)
|
42
|
+
client ||= Spaceship::ConnectAPI
|
43
|
+
resps = client.get_users(filter: filter, includes: includes).all_pages
|
43
44
|
return resps.flat_map(&:to_models)
|
44
45
|
end
|
45
46
|
|
46
|
-
def self.find(email: nil, includes: nil)
|
47
|
-
|
47
|
+
def self.find(client: nil, email: nil, includes: nil)
|
48
|
+
client ||= Spaceship::ConnectAPI
|
49
|
+
return all(client: client, filter: { email: email }, includes: includes)
|
48
50
|
end
|
49
51
|
end
|
50
52
|
end
|
@@ -42,17 +42,20 @@ module Spaceship
|
|
42
42
|
# Managing invitations
|
43
43
|
#
|
44
44
|
|
45
|
-
def self.all(filter: {}, includes: nil, sort: nil)
|
46
|
-
|
45
|
+
def self.all(client: nil, filter: {}, includes: nil, sort: nil)
|
46
|
+
client ||= Spaceship::ConnectAPI
|
47
|
+
resps = client.get_user_invitations(filter: filter, includes: includes, sort: sort).all_pages
|
47
48
|
return resps.flat_map(&:to_models)
|
48
49
|
end
|
49
50
|
|
50
|
-
def self.find(email: nil, includes: nil)
|
51
|
-
|
51
|
+
def self.find(client: nil, email: nil, includes: nil)
|
52
|
+
client ||= Spaceship::ConnectAPI
|
53
|
+
return all(client: client, filter: { email: email }, includes: includes)
|
52
54
|
end
|
53
55
|
|
54
|
-
def delete!
|
55
|
-
Spaceship::ConnectAPI
|
56
|
+
def delete!(client: nil)
|
57
|
+
client ||= Spaceship::ConnectAPI
|
58
|
+
client.delete_user_invitation(user_invitation_id: id)
|
56
59
|
end
|
57
60
|
end
|
58
61
|
end
|
@@ -242,7 +242,7 @@ module Spaceship
|
|
242
242
|
# @return ([Spaceship::Tunes::PricingInfo]) An array of pricing infos from the same tier
|
243
243
|
def world_wide_pricing_info
|
244
244
|
client
|
245
|
-
.pricing_tiers
|
245
|
+
.pricing_tiers(application.apple_id)
|
246
246
|
.find { |p| p.tier_stem == pricing_intervals.first[:tier].to_s }
|
247
247
|
.pricing_info
|
248
248
|
end
|
@@ -704,9 +704,9 @@ module Spaceship
|
|
704
704
|
# ...
|
705
705
|
# }, {
|
706
706
|
# ...
|
707
|
-
def pricing_tiers
|
707
|
+
def pricing_tiers(app_id)
|
708
708
|
@pricing_tiers ||= begin
|
709
|
-
r = request(:get,
|
709
|
+
r = request(:get, "ra/apps/#{app_id}/iaps/pricing/matrix")
|
710
710
|
data = parse_response(r, 'data')['pricingTiers']
|
711
711
|
data.map { |tier| Spaceship::Tunes::PricingTier.factory(tier) }
|
712
712
|
end
|
@@ -49,7 +49,7 @@ module Supply
|
|
49
49
|
end),
|
50
50
|
FastlaneCore::ConfigItem.new(key: :rollout,
|
51
51
|
short_option: "-r",
|
52
|
-
description: "The percentage of the user fraction when uploading to the rollout track",
|
52
|
+
description: "The percentage of the user fraction when uploading to the rollout track (setting to 1 will complete the rollout)",
|
53
53
|
optional: true,
|
54
54
|
verify_block: proc do |value|
|
55
55
|
min = 0.0
|
@@ -192,9 +192,10 @@ module Supply
|
|
192
192
|
release = releases.first
|
193
193
|
track_to = client.tracks(Supply.config[:track_promote_to]).first
|
194
194
|
|
195
|
-
|
195
|
+
rollout = (Supply.config[:rollout] || 0).to_f
|
196
|
+
if rollout > 0 && rollout < 1
|
196
197
|
release.status = Supply::ReleaseStatus::IN_PROGRESS
|
197
|
-
release.user_fraction =
|
198
|
+
release.user_fraction = rollout
|
198
199
|
else
|
199
200
|
release.status = Supply::ReleaseStatus::COMPLETED
|
200
201
|
release.user_fraction = nil
|
metadata
CHANGED
@@ -1,35 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.168.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- Matthew Ellis
|
8
|
-
- Jorge Revuelta H
|
9
|
-
- Jérôme Lacoste
|
10
|
-
- Max Ott
|
11
|
-
- Josh Holtz
|
12
7
|
- Aaron Brager
|
13
|
-
-
|
8
|
+
- Danielle Tomlinson
|
9
|
+
- Matthew Ellis
|
10
|
+
- Joshua Liebowitz
|
11
|
+
- Felix Krause
|
12
|
+
- Manu Wallner
|
14
13
|
- Daniel Jankowski
|
15
|
-
- Fumiya Nakamura
|
16
|
-
- Jimmy Dee
|
17
|
-
- Kohki Miki
|
18
14
|
- Iulian Onofrei
|
19
|
-
-
|
20
|
-
-
|
21
|
-
-
|
22
|
-
-
|
15
|
+
- Josh Holtz
|
16
|
+
- Jérôme Lacoste
|
17
|
+
- Fumiya Nakamura
|
18
|
+
- Andrew McBurney
|
19
|
+
- Max Ott
|
23
20
|
- Jan Piotrowski
|
24
|
-
-
|
21
|
+
- Jorge Revuelta H
|
22
|
+
- Stefan Natchev
|
25
23
|
- Luka Mirosevic
|
26
|
-
-
|
27
|
-
- Helmut Januschka
|
24
|
+
- Jimmy Dee
|
28
25
|
- Maksym Grebenets
|
26
|
+
- Kohki Miki
|
27
|
+
- Helmut Januschka
|
28
|
+
- Olivier Halligon
|
29
29
|
autorequire:
|
30
30
|
bindir: bin
|
31
31
|
cert_chain: []
|
32
|
-
date: 2020-11-
|
32
|
+
date: 2020-11-19 00:00:00.000000000 Z
|
33
33
|
dependencies:
|
34
34
|
- !ruby/object:Gem::Dependency
|
35
35
|
name: slack-notifier
|
@@ -1619,7 +1619,10 @@ files:
|
|
1619
1619
|
- spaceship/lib/spaceship/connect_api/client.rb
|
1620
1620
|
- spaceship/lib/spaceship/connect_api/file_uploader.rb
|
1621
1621
|
- spaceship/lib/spaceship/connect_api/model.rb
|
1622
|
+
- spaceship/lib/spaceship/connect_api/models/.app.rb.swp
|
1623
|
+
- spaceship/lib/spaceship/connect_api/models/.app_screenshot.rb.swp
|
1622
1624
|
- spaceship/lib/spaceship/connect_api/models/.app_store_version_submission.rb.swp
|
1625
|
+
- spaceship/lib/spaceship/connect_api/models/.build.rb.swp
|
1623
1626
|
- spaceship/lib/spaceship/connect_api/models/age_rating_declaration.rb
|
1624
1627
|
- spaceship/lib/spaceship/connect_api/models/app.rb
|
1625
1628
|
- spaceship/lib/spaceship/connect_api/models/app_category.rb
|