fastlane 2.126.0.beta.20190606200048 → 2.126.0.beta.20190607200028
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/actions/app_store_build_number.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/build_watcher.rb +3 -4
- data/pilot/lib/pilot/build_manager.rb +7 -7
- data/pilot/lib/pilot/manager.rb +2 -2
- data/pilot/lib/pilot/tester_exporter.rb +3 -3
- data/pilot/lib/pilot/tester_manager.rb +2 -2
- data/spaceship/lib/spaceship/connect_api.rb +2 -17
- data/spaceship/lib/spaceship/connect_api/{models/model.rb → model.rb} +5 -4
- data/spaceship/lib/spaceship/connect_api/response.rb +4 -7
- data/spaceship/lib/spaceship/connect_api/testflight/base.rb +41 -0
- data/spaceship/lib/spaceship/connect_api/testflight/client.rb +553 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/app.rb +99 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_app_localization.rb +30 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_app_review_detail.rb +34 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_app_review_submission.rb +28 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_build_localization.rb +22 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_build_metric.rb +26 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_group.rb +43 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_tester.rb +58 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb +45 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/build.rb +146 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/build_beta_detail.rb +58 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/build_delivery.rb +38 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/pre_release_version.rb +22 -0
- data/spaceship/lib/spaceship/connect_api/testflight/models/user.rb +52 -0
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +27 -0
- data/spaceship/lib/spaceship/test_flight/build.rb +3 -3
- data/spaceship/lib/spaceship/test_flight/build_trains.rb +1 -1
- metadata +34 -33
- data/spaceship/lib/spaceship/connect_api/base.rb +0 -39
- data/spaceship/lib/spaceship/connect_api/client.rb +0 -551
- data/spaceship/lib/spaceship/connect_api/models/app.rb +0 -97
- data/spaceship/lib/spaceship/connect_api/models/beta_app_localization.rb +0 -28
- data/spaceship/lib/spaceship/connect_api/models/beta_app_review_detail.rb +0 -32
- data/spaceship/lib/spaceship/connect_api/models/beta_app_review_submission.rb +0 -26
- data/spaceship/lib/spaceship/connect_api/models/beta_build_localization.rb +0 -20
- data/spaceship/lib/spaceship/connect_api/models/beta_build_metric.rb +0 -24
- data/spaceship/lib/spaceship/connect_api/models/beta_group.rb +0 -41
- data/spaceship/lib/spaceship/connect_api/models/beta_tester.rb +0 -56
- data/spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb +0 -43
- data/spaceship/lib/spaceship/connect_api/models/build.rb +0 -144
- data/spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb +0 -56
- data/spaceship/lib/spaceship/connect_api/models/build_delivery.rb +0 -36
- data/spaceship/lib/spaceship/connect_api/models/pre_release_version.rb +0 -20
- data/spaceship/lib/spaceship/connect_api/models/user.rb +0 -50
@@ -1,56 +0,0 @@
|
|
1
|
-
require_relative './model'
|
2
|
-
module Spaceship
|
3
|
-
module ConnectAPI
|
4
|
-
class BuildBetaDetail
|
5
|
-
include Spaceship::ConnectAPI::Model
|
6
|
-
|
7
|
-
attr_accessor :auto_notify_enabled
|
8
|
-
attr_accessor :did_notify
|
9
|
-
attr_accessor :internal_build_state
|
10
|
-
attr_accessor :external_build_state
|
11
|
-
|
12
|
-
module InternalState
|
13
|
-
PROCESSING_EXCEPTION = "PROCESSING_EXCEPTION"
|
14
|
-
MISSING_EXPORT_COMPLIANCE = "MISSING_EXPORT_COMPLIANCE"
|
15
|
-
READY_FOR_BETA_TESTING = "READY_FOR_BETA_TESTING"
|
16
|
-
IN_BETA_TESTING = "IN_BETA_TESTING"
|
17
|
-
EXPIRED = "EXPIRED"
|
18
|
-
IN_EXPORT_COMPLIANCE_REVIEW = "IN_EXPORT_COMPLIANCE_REVIEW"
|
19
|
-
end
|
20
|
-
|
21
|
-
module ExternalState
|
22
|
-
PROCESSING = "PROCESSING"
|
23
|
-
PROCESSING_EXCEPTION = "PROCESSING_EXCEPTION"
|
24
|
-
MISSING_EXPORT_COMPLIANCE = "MISSING_EXPORT_COMPLIANCE"
|
25
|
-
READY_FOR_BETA_TESTING = "READY_FOR_BETA_TESTING"
|
26
|
-
IN_BETA_TESTING = "IN_BETA_TESTING"
|
27
|
-
EXPIRED = "EXPIRED"
|
28
|
-
READY_FOR_BETA_SUBMISSION = "READY_FOR_BETA_SUBMISSION"
|
29
|
-
IN_EXPORT_COMPLIANCE_REVIEW = "IN_EXPORT_COMPLIANCE_REVIEW"
|
30
|
-
WAITING_FOR_BETA_REVIEW = "WAITING_FOR_BETA_REVIEW"
|
31
|
-
IN_BETA_REVIEW = "IN_BETA_REVIEW"
|
32
|
-
BETA_REJECTED = "BETA_REJECTED"
|
33
|
-
BETA_APPROVED = "BETA_APPROVED"
|
34
|
-
end
|
35
|
-
|
36
|
-
attr_mapping({
|
37
|
-
"autoNotifyEnabled" => "auto_notify_enabled",
|
38
|
-
"didNotify" => "did_notify",
|
39
|
-
"internalBuildState" => "internal_build_state",
|
40
|
-
"externalBuildState" => "external_build_state"
|
41
|
-
})
|
42
|
-
|
43
|
-
def self.type
|
44
|
-
return "buildBetaDetails"
|
45
|
-
end
|
46
|
-
|
47
|
-
#
|
48
|
-
# Helpers
|
49
|
-
#
|
50
|
-
|
51
|
-
def ready_for_beta_submission?
|
52
|
-
return external_build_state == ExternalState::READY_FOR_BETA_SUBMISSION
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
require_relative './model'
|
2
|
-
module Spaceship
|
3
|
-
module ConnectAPI
|
4
|
-
class BuildDelivery
|
5
|
-
include Spaceship::ConnectAPI::Model
|
6
|
-
|
7
|
-
attr_accessor :cf_build_version
|
8
|
-
attr_accessor :cf_build_short_version_string
|
9
|
-
attr_accessor :platform
|
10
|
-
attr_accessor :uploaded_date
|
11
|
-
|
12
|
-
attr_mapping({
|
13
|
-
"cfBundleVersion" => "cf_build_version",
|
14
|
-
"cfBundleShortVersionString" => "cf_build_short_version_string",
|
15
|
-
"platform" => "platform",
|
16
|
-
"uploadedDate" => "uploaded_date"
|
17
|
-
})
|
18
|
-
|
19
|
-
def self.type
|
20
|
-
return "buildDeliveries"
|
21
|
-
end
|
22
|
-
|
23
|
-
#
|
24
|
-
# API
|
25
|
-
#
|
26
|
-
|
27
|
-
def self.all(app_id: nil, version: nil, build_number: nil)
|
28
|
-
resps = client.get_build_deliveries(
|
29
|
-
filter: { app: app_id, cfBundleShortVersionString: version, cfBundleVersion: build_number },
|
30
|
-
limit: 1
|
31
|
-
).all_pages
|
32
|
-
return resps.map(&:to_models).flatten
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
@@ -1,20 +0,0 @@
|
|
1
|
-
require_relative './model'
|
2
|
-
module Spaceship
|
3
|
-
module ConnectAPI
|
4
|
-
class PreReleaseVersion
|
5
|
-
include Spaceship::ConnectAPI::Model
|
6
|
-
|
7
|
-
attr_accessor :version
|
8
|
-
attr_accessor :platform
|
9
|
-
|
10
|
-
attr_mapping({
|
11
|
-
"version" => "version",
|
12
|
-
"platform" => "platform"
|
13
|
-
})
|
14
|
-
|
15
|
-
def self.type
|
16
|
-
return "preReleaseVersions"
|
17
|
-
end
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
@@ -1,50 +0,0 @@
|
|
1
|
-
require_relative './model'
|
2
|
-
module Spaceship
|
3
|
-
module ConnectAPI
|
4
|
-
class User
|
5
|
-
include Spaceship::ConnectAPI::Model
|
6
|
-
|
7
|
-
attr_accessor :username
|
8
|
-
attr_accessor :first_name
|
9
|
-
attr_accessor :last_name
|
10
|
-
attr_accessor :email
|
11
|
-
attr_accessor :preferred_currency_territory
|
12
|
-
attr_accessor :agreed_to_terms
|
13
|
-
attr_accessor :roles
|
14
|
-
attr_accessor :all_apps_visible
|
15
|
-
attr_accessor :provisioning_allowed
|
16
|
-
attr_accessor :email_vetting_required
|
17
|
-
attr_accessor :notifications
|
18
|
-
|
19
|
-
attr_mapping({
|
20
|
-
"username" => "username",
|
21
|
-
"firstName" => "first_name",
|
22
|
-
"lastName" => "last_name",
|
23
|
-
"email" => "email",
|
24
|
-
"preferredCurrencyTerritory" => "preferred_currency_territory",
|
25
|
-
"agreedToTerms" => "agreed_to_terms",
|
26
|
-
"roles" => "roles",
|
27
|
-
"allAppsVisible" => "all_apps_visible",
|
28
|
-
"provisioningAllowed" => "provisioning_allowed",
|
29
|
-
"emailVettingRequired" => "email_vetting_required",
|
30
|
-
"notifications" => "notifications"
|
31
|
-
})
|
32
|
-
|
33
|
-
def self.type
|
34
|
-
return "users"
|
35
|
-
end
|
36
|
-
|
37
|
-
#
|
38
|
-
# API
|
39
|
-
#
|
40
|
-
|
41
|
-
def self.all(filter: {}, includes: nil, limit: nil, sort: nil)
|
42
|
-
return client.get_users(filter: filter, includes: includes)
|
43
|
-
end
|
44
|
-
|
45
|
-
def self.find(email: nil, includes: nil)
|
46
|
-
return all(filter: { email: email }, includes: includes)
|
47
|
-
end
|
48
|
-
end
|
49
|
-
end
|
50
|
-
end
|