fastlane 2.126.0.beta.20190623200100 → 2.126.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +76 -76
- data/fastlane/lib/fastlane/actions/.slack.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp +0 -0
- data/fastlane/lib/fastlane/actions/app_store_build_number.rb +1 -2
- data/fastlane/lib/fastlane/actions/oclint.rb +9 -2
- data/fastlane/lib/fastlane/actions/reset_simulator_contents.rb +34 -27
- data/fastlane/lib/fastlane/lane_manager_base.rb +4 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane/swift/Deliverfile.swift +1 -1
- data/fastlane/swift/DeliverfileProtocol.swift +3 -1
- data/fastlane/swift/Fastlane.swift +19 -5
- data/fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- data/fastlane/swift/Gymfile.swift +1 -1
- data/fastlane/swift/Matchfile.swift +1 -1
- data/fastlane/swift/Precheckfile.swift +1 -1
- data/fastlane/swift/Scanfile.swift +1 -1
- data/fastlane/swift/ScanfileProtocol.swift +3 -1
- data/fastlane/swift/Screengrabfile.swift +1 -1
- data/fastlane/swift/Snapshotfile.swift +1 -1
- data/fastlane_core/lib/fastlane_core/.build_watcher.rb.swp +0 -0
- data/fastlane_core/lib/fastlane_core/build_watcher.rb +2 -2
- data/pilot/lib/pilot/.build_manager.rb.swp +0 -0
- data/pilot/lib/pilot/.manager.rb.swp +0 -0
- data/pilot/lib/pilot/.tester_manager.rb.swp +0 -0
- data/pilot/lib/pilot/build_manager.rb +9 -14
- 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/scan/lib/scan/options.rb +7 -1
- data/scan/lib/scan/test_command_generator.rb +1 -1
- data/snapshot/lib/assets/SnapshotHelper.swift +10 -4
- data/spaceship/lib/spaceship/connect_api.rb +42 -0
- data/spaceship/lib/spaceship/connect_api/.DS_Store +0 -0
- data/spaceship/lib/spaceship/connect_api/client.rb +178 -0
- data/spaceship/lib/spaceship/connect_api/model.rb +1 -15
- data/spaceship/lib/spaceship/connect_api/models/app.rb +97 -0
- data/spaceship/lib/spaceship/connect_api/models/beta_app_localization.rb +28 -0
- data/spaceship/lib/spaceship/connect_api/models/beta_app_review_detail.rb +32 -0
- data/spaceship/lib/spaceship/connect_api/models/beta_app_review_submission.rb +26 -0
- data/spaceship/lib/spaceship/connect_api/models/beta_build_localization.rb +20 -0
- data/spaceship/lib/spaceship/connect_api/models/beta_build_metric.rb +24 -0
- data/spaceship/lib/spaceship/connect_api/models/beta_group.rb +41 -0
- data/spaceship/lib/spaceship/connect_api/models/beta_tester.rb +56 -0
- data/spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb +43 -0
- data/spaceship/lib/spaceship/connect_api/models/build.rb +144 -0
- data/spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb +56 -0
- data/spaceship/lib/spaceship/connect_api/models/build_delivery.rb +36 -0
- data/spaceship/lib/spaceship/connect_api/models/bundle_id.rb +46 -0
- data/spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb +37 -0
- data/spaceship/lib/spaceship/connect_api/models/certificate.rb +48 -0
- data/spaceship/lib/spaceship/connect_api/models/device.rb +53 -0
- data/spaceship/lib/spaceship/connect_api/models/pre_release_version.rb +20 -0
- data/spaceship/lib/spaceship/connect_api/models/profile.rb +60 -0
- data/spaceship/lib/spaceship/connect_api/models/user.rb +50 -0
- data/spaceship/lib/spaceship/connect_api/provisioning/client.rb +59 -0
- data/spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb +48 -0
- data/spaceship/lib/spaceship/connect_api/response.rb +1 -1
- data/spaceship/lib/spaceship/connect_api/testflight/client.rb +18 -538
- data/spaceship/lib/spaceship/connect_api/testflight/testflight.rb +314 -19
- data/spaceship/lib/spaceship/connect_api/token.rb +13 -1
- data/spaceship/lib/spaceship/connect_api/users/client.rb +33 -0
- data/spaceship/lib/spaceship/connect_api/users/users.rb +16 -0
- data/spaceship/lib/spaceship/test_flight/build.rb +2 -2
- data/spaceship/lib/spaceship/test_flight/build_trains.rb +5 -56
- metadata +64 -48
- data/spaceship/lib/spaceship/connect_api/testflight/base.rb +0 -41
- data/spaceship/lib/spaceship/connect_api/testflight/models/app.rb +0 -99
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_app_localization.rb +0 -30
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_app_review_detail.rb +0 -34
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_app_review_submission.rb +0 -28
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_build_localization.rb +0 -22
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_build_metric.rb +0 -26
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_group.rb +0 -43
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_tester.rb +0 -58
- data/spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb +0 -45
- data/spaceship/lib/spaceship/connect_api/testflight/models/build.rb +0 -146
- data/spaceship/lib/spaceship/connect_api/testflight/models/build_beta_detail.rb +0 -58
- data/spaceship/lib/spaceship/connect_api/testflight/models/build_delivery.rb +0 -38
- data/spaceship/lib/spaceship/connect_api/testflight/models/pre_release_version.rb +0 -22
- data/spaceship/lib/spaceship/connect_api/testflight/models/user.rb +0 -52
metadata
CHANGED
@@ -1,33 +1,33 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.126.0
|
4
|
+
version: 2.126.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
-
|
8
|
-
-
|
9
|
-
-
|
7
|
+
- Matthew Ellis
|
8
|
+
- Helmut Januschka
|
9
|
+
- Jérôme Lacoste
|
10
10
|
- Felix Krause
|
11
11
|
- Jorge Revuelta H
|
12
|
-
- Manu Wallner
|
13
|
-
- Josh Holtz
|
14
|
-
- Matthew Ellis
|
15
|
-
- Luka Mirosevic
|
16
|
-
- Iulian Onofrei
|
17
|
-
- Jimmy Dee
|
18
|
-
- Danielle Tomlinson
|
19
12
|
- Kohki Miki
|
13
|
+
- Iulian Onofrei
|
14
|
+
- Olivier Halligon
|
15
|
+
- Stefan Natchev
|
16
|
+
- Joshua Liebowitz
|
17
|
+
- Andrew McBurney
|
20
18
|
- Maksym Grebenets
|
19
|
+
- Danielle Tomlinson
|
20
|
+
- Manu Wallner
|
21
|
+
- Fumiya Nakamura
|
21
22
|
- Jan Piotrowski
|
23
|
+
- Jimmy Dee
|
24
|
+
- Josh Holtz
|
22
25
|
- Aaron Brager
|
23
|
-
-
|
24
|
-
- Jérôme Lacoste
|
25
|
-
- Helmut Januschka
|
26
|
-
- Olivier Halligon
|
26
|
+
- Luka Mirosevic
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2019-06-
|
30
|
+
date: 2019-06-24 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -980,6 +980,8 @@ files:
|
|
980
980
|
- fastlane/lib/fastlane.rb
|
981
981
|
- fastlane/lib/fastlane/action.rb
|
982
982
|
- fastlane/lib/fastlane/action_collector.rb
|
983
|
+
- fastlane/lib/fastlane/actions/.slack.rb.swp
|
984
|
+
- fastlane/lib/fastlane/actions/.update_project_provisioning.rb.swp
|
983
985
|
- fastlane/lib/fastlane/actions/README.md
|
984
986
|
- fastlane/lib/fastlane/actions/actions_helper.rb
|
985
987
|
- fastlane/lib/fastlane/actions/adb.rb
|
@@ -1304,6 +1306,7 @@ files:
|
|
1304
1306
|
- fastlane/swift/Fastlane.swift
|
1305
1307
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.pbxproj
|
1306
1308
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
|
1309
|
+
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/project.xcworkspace/xcuserdata/josh.xcuserdatad/UserInterfaceState.xcuserstate
|
1307
1310
|
- fastlane/swift/FastlaneSwiftRunner/FastlaneSwiftRunner.xcodeproj/xcshareddata/xcschemes/FastlaneRunner.xcscheme
|
1308
1311
|
- fastlane/swift/FastlaneSwiftRunner/README.txt
|
1309
1312
|
- fastlane/swift/Gymfile.swift
|
@@ -1331,6 +1334,7 @@ files:
|
|
1331
1334
|
- fastlane_core/README.md
|
1332
1335
|
- fastlane_core/lib/assets/XMLTemplate.xml.erb
|
1333
1336
|
- fastlane_core/lib/fastlane_core.rb
|
1337
|
+
- fastlane_core/lib/fastlane_core/.build_watcher.rb.swp
|
1334
1338
|
- fastlane_core/lib/fastlane_core/analytics/action_completion_context.rb
|
1335
1339
|
- fastlane_core/lib/fastlane_core/analytics/action_launch_context.rb
|
1336
1340
|
- fastlane_core/lib/fastlane_core/analytics/analytics_event_builder.rb
|
@@ -1456,6 +1460,9 @@ files:
|
|
1456
1460
|
- pem/lib/pem/options.rb
|
1457
1461
|
- pilot/README.md
|
1458
1462
|
- pilot/lib/pilot.rb
|
1463
|
+
- pilot/lib/pilot/.build_manager.rb.swp
|
1464
|
+
- pilot/lib/pilot/.manager.rb.swp
|
1465
|
+
- pilot/lib/pilot/.tester_manager.rb.swp
|
1459
1466
|
- pilot/lib/pilot/build_manager.rb
|
1460
1467
|
- pilot/lib/pilot/commands_generator.rb
|
1461
1468
|
- pilot/lib/pilot/features.rb
|
@@ -1587,26 +1594,36 @@ files:
|
|
1587
1594
|
- spaceship/lib/spaceship/client.rb
|
1588
1595
|
- spaceship/lib/spaceship/commands_generator.rb
|
1589
1596
|
- spaceship/lib/spaceship/connect_api.rb
|
1597
|
+
- spaceship/lib/spaceship/connect_api/.DS_Store
|
1598
|
+
- spaceship/lib/spaceship/connect_api/client.rb
|
1590
1599
|
- spaceship/lib/spaceship/connect_api/model.rb
|
1600
|
+
- spaceship/lib/spaceship/connect_api/models/app.rb
|
1601
|
+
- spaceship/lib/spaceship/connect_api/models/beta_app_localization.rb
|
1602
|
+
- spaceship/lib/spaceship/connect_api/models/beta_app_review_detail.rb
|
1603
|
+
- spaceship/lib/spaceship/connect_api/models/beta_app_review_submission.rb
|
1604
|
+
- spaceship/lib/spaceship/connect_api/models/beta_build_localization.rb
|
1605
|
+
- spaceship/lib/spaceship/connect_api/models/beta_build_metric.rb
|
1606
|
+
- spaceship/lib/spaceship/connect_api/models/beta_group.rb
|
1607
|
+
- spaceship/lib/spaceship/connect_api/models/beta_tester.rb
|
1608
|
+
- spaceship/lib/spaceship/connect_api/models/beta_tester_metric.rb
|
1609
|
+
- spaceship/lib/spaceship/connect_api/models/build.rb
|
1610
|
+
- spaceship/lib/spaceship/connect_api/models/build_beta_detail.rb
|
1611
|
+
- spaceship/lib/spaceship/connect_api/models/build_delivery.rb
|
1612
|
+
- spaceship/lib/spaceship/connect_api/models/bundle_id.rb
|
1613
|
+
- spaceship/lib/spaceship/connect_api/models/bundle_id_capability.rb
|
1614
|
+
- spaceship/lib/spaceship/connect_api/models/certificate.rb
|
1615
|
+
- spaceship/lib/spaceship/connect_api/models/device.rb
|
1616
|
+
- spaceship/lib/spaceship/connect_api/models/pre_release_version.rb
|
1617
|
+
- spaceship/lib/spaceship/connect_api/models/profile.rb
|
1618
|
+
- spaceship/lib/spaceship/connect_api/models/user.rb
|
1619
|
+
- spaceship/lib/spaceship/connect_api/provisioning/client.rb
|
1620
|
+
- spaceship/lib/spaceship/connect_api/provisioning/provisioning.rb
|
1591
1621
|
- spaceship/lib/spaceship/connect_api/response.rb
|
1592
|
-
- spaceship/lib/spaceship/connect_api/testflight/base.rb
|
1593
1622
|
- spaceship/lib/spaceship/connect_api/testflight/client.rb
|
1594
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/app.rb
|
1595
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/beta_app_localization.rb
|
1596
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/beta_app_review_detail.rb
|
1597
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/beta_app_review_submission.rb
|
1598
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/beta_build_localization.rb
|
1599
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/beta_build_metric.rb
|
1600
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/beta_group.rb
|
1601
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/beta_tester.rb
|
1602
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/beta_tester_metric.rb
|
1603
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/build.rb
|
1604
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/build_beta_detail.rb
|
1605
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/build_delivery.rb
|
1606
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/pre_release_version.rb
|
1607
|
-
- spaceship/lib/spaceship/connect_api/testflight/models/user.rb
|
1608
1623
|
- spaceship/lib/spaceship/connect_api/testflight/testflight.rb
|
1609
1624
|
- spaceship/lib/spaceship/connect_api/token.rb
|
1625
|
+
- spaceship/lib/spaceship/connect_api/users/client.rb
|
1626
|
+
- spaceship/lib/spaceship/connect_api/users/users.rb
|
1610
1627
|
- spaceship/lib/spaceship/du/du_client.rb
|
1611
1628
|
- spaceship/lib/spaceship/du/upload_file.rb
|
1612
1629
|
- spaceship/lib/spaceship/du/utilities.rb
|
@@ -1726,24 +1743,24 @@ metadata:
|
|
1726
1743
|
post_install_message:
|
1727
1744
|
rdoc_options: []
|
1728
1745
|
require_paths:
|
1729
|
-
-
|
1730
|
-
-
|
1746
|
+
- credentials_manager/lib
|
1747
|
+
- pem/lib
|
1748
|
+
- snapshot/lib
|
1749
|
+
- frameit/lib
|
1750
|
+
- match/lib
|
1731
1751
|
- fastlane_core/lib
|
1752
|
+
- deliver/lib
|
1753
|
+
- scan/lib
|
1732
1754
|
- supply/lib
|
1733
|
-
-
|
1734
|
-
- credentials_manager/lib
|
1755
|
+
- cert/lib
|
1735
1756
|
- fastlane/lib
|
1736
|
-
-
|
1737
|
-
- match/lib
|
1738
|
-
- produce/lib
|
1739
|
-
- snapshot/lib
|
1740
|
-
- gym/lib
|
1757
|
+
- spaceship/lib
|
1741
1758
|
- pilot/lib
|
1759
|
+
- gym/lib
|
1760
|
+
- precheck/lib
|
1761
|
+
- screengrab/lib
|
1742
1762
|
- sigh/lib
|
1743
|
-
-
|
1744
|
-
- frameit/lib
|
1745
|
-
- pem/lib
|
1746
|
-
- scan/lib
|
1763
|
+
- produce/lib
|
1747
1764
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1748
1765
|
requirements:
|
1749
1766
|
- - ">="
|
@@ -1751,12 +1768,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1751
1768
|
version: 2.0.0
|
1752
1769
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1753
1770
|
requirements:
|
1754
|
-
- - "
|
1771
|
+
- - ">="
|
1755
1772
|
- !ruby/object:Gem::Version
|
1756
|
-
version:
|
1773
|
+
version: '0'
|
1757
1774
|
requirements: []
|
1758
|
-
|
1759
|
-
rubygems_version: 2.6.8
|
1775
|
+
rubygems_version: 3.0.3
|
1760
1776
|
signing_key:
|
1761
1777
|
specification_version: 4
|
1762
1778
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
@@ -1,41 +0,0 @@
|
|
1
|
-
require_relative '../../base'
|
2
|
-
require_relative '../../tunes/tunes_client'
|
3
|
-
|
4
|
-
module Spaceship
|
5
|
-
module ConnectAPI
|
6
|
-
module TestFlight
|
7
|
-
class Base < Spaceship::Base
|
8
|
-
def self.client
|
9
|
-
# Verify there is a client that can be used
|
10
|
-
if Spaceship::Tunes.client
|
11
|
-
# Initialize new client if new or if team changed
|
12
|
-
if @client.nil? || @client.team_id != Spaceship::Tunes.client.team_id
|
13
|
-
@client = Client.client_with_authorization_from(Spaceship::Tunes.client)
|
14
|
-
end
|
15
|
-
end
|
16
|
-
|
17
|
-
# Need to handle not having a client but this shouldn't ever happen
|
18
|
-
raise "Please login using `Spaceship::Tunes.login('user', 'password')`" unless @client
|
19
|
-
|
20
|
-
@client
|
21
|
-
end
|
22
|
-
|
23
|
-
##
|
24
|
-
# Have subclasses inherit the client from their superclass
|
25
|
-
#
|
26
|
-
# Essentially, we are making a class-inheritable-accessor as described here:
|
27
|
-
# https://apidock.com/rails/v4.2.7/Class/class_attribute
|
28
|
-
def self.inherited(subclass)
|
29
|
-
this_class = self
|
30
|
-
subclass.define_singleton_method(:client) do
|
31
|
-
this_class.client
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
def to_json
|
36
|
-
raw_data.to_json
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
@@ -1,99 +0,0 @@
|
|
1
|
-
require_relative '../../model'
|
2
|
-
require_relative './build'
|
3
|
-
|
4
|
-
module Spaceship
|
5
|
-
module ConnectAPI
|
6
|
-
module TestFlight
|
7
|
-
class App
|
8
|
-
include Spaceship::ConnectAPI::Model
|
9
|
-
|
10
|
-
attr_accessor :name
|
11
|
-
attr_accessor :bundle_id
|
12
|
-
attr_accessor :sku
|
13
|
-
attr_accessor :primary_locale
|
14
|
-
attr_accessor :removed
|
15
|
-
attr_accessor :is_aag
|
16
|
-
|
17
|
-
self.attr_mapping({
|
18
|
-
"name" => "name",
|
19
|
-
"bundleId" => "bundle_id",
|
20
|
-
"sku" => "sku",
|
21
|
-
"primaryLocale" => "primary_locale",
|
22
|
-
"removed" => "removed",
|
23
|
-
"isAAG" => "is_aag"
|
24
|
-
})
|
25
|
-
|
26
|
-
def self.type
|
27
|
-
return "apps"
|
28
|
-
end
|
29
|
-
|
30
|
-
#
|
31
|
-
# Apps
|
32
|
-
#
|
33
|
-
|
34
|
-
def self.all(filter: {}, includes: nil, limit: nil, sort: nil)
|
35
|
-
resps = testflight_client.get_apps(filter: filter, includes: includes, limit: limit, sort: sort).all_pages
|
36
|
-
return resps.map(&:to_models).flatten
|
37
|
-
end
|
38
|
-
|
39
|
-
def self.find(bundle_id)
|
40
|
-
return all(filter: { bundleId: bundle_id }).find do |app|
|
41
|
-
app.bundle_id == bundle_id
|
42
|
-
end
|
43
|
-
end
|
44
|
-
|
45
|
-
def self.get(app_id: nil, includes: nil)
|
46
|
-
return testflight_client.get_app(app_id: app_id, includes: includes).first
|
47
|
-
end
|
48
|
-
|
49
|
-
#
|
50
|
-
# Beta Testers
|
51
|
-
#
|
52
|
-
|
53
|
-
def get_beta_testers(filter: {}, includes: nil, limit: nil, sort: nil)
|
54
|
-
filter ||= {}
|
55
|
-
filter[:apps] = id
|
56
|
-
|
57
|
-
resps = testflight_client.get_beta_testers(filter: filter, includes: includes, limit: limit, sort: sort).all_pages
|
58
|
-
return resps.map(&:to_models).flatten
|
59
|
-
end
|
60
|
-
|
61
|
-
#
|
62
|
-
# Builds
|
63
|
-
#
|
64
|
-
|
65
|
-
def get_builds(filter: {}, includes: nil, limit: nil, sort: nil)
|
66
|
-
filter ||= {}
|
67
|
-
filter[:app] = id
|
68
|
-
|
69
|
-
resps = testflight_client.get_builds(filter: filter, includes: includes, limit: limit, sort: sort).all_pages
|
70
|
-
return resps.map(&:to_models).flatten
|
71
|
-
end
|
72
|
-
|
73
|
-
def get_build_deliveries(filter: {}, includes: nil, limit: nil, sort: nil)
|
74
|
-
filter ||= {}
|
75
|
-
filter[:app] = id
|
76
|
-
|
77
|
-
resps = testflight_client.get_build_deliveries(filter: filter, includes: includes, limit: limit, sort: sort).all_pages
|
78
|
-
return resps.map(&:to_models).flatten
|
79
|
-
end
|
80
|
-
|
81
|
-
def get_beta_app_localizations(filter: {}, includes: nil, limit: nil, sort: nil)
|
82
|
-
filter ||= {}
|
83
|
-
filter[:app] = id
|
84
|
-
|
85
|
-
resps = testflight_client.get_beta_app_localizations(filter: filter, includes: includes, limit: limit, sort: sort).all_pages
|
86
|
-
return resps.map(&:to_models).flatten
|
87
|
-
end
|
88
|
-
|
89
|
-
def get_beta_groups(filter: {}, includes: nil, limit: nil, sort: nil)
|
90
|
-
filter ||= {}
|
91
|
-
filter[:app] = id
|
92
|
-
|
93
|
-
resps = testflight_client.get_beta_groups(filter: filter, includes: includes, limit: limit, sort: sort).all_pages
|
94
|
-
return resps.map(&:to_models).flatten
|
95
|
-
end
|
96
|
-
end
|
97
|
-
end
|
98
|
-
end
|
99
|
-
end
|
@@ -1,30 +0,0 @@
|
|
1
|
-
require_relative '../../model'
|
2
|
-
module Spaceship
|
3
|
-
module ConnectAPI
|
4
|
-
module TestFlight
|
5
|
-
class BetaAppLocalization
|
6
|
-
include Spaceship::ConnectAPI::Model
|
7
|
-
|
8
|
-
attr_accessor :feedback_email
|
9
|
-
attr_accessor :marketing_url
|
10
|
-
attr_accessor :privacy_policy_url
|
11
|
-
attr_accessor :tv_os_privacy_policy
|
12
|
-
attr_accessor :description
|
13
|
-
attr_accessor :locale
|
14
|
-
|
15
|
-
attr_mapping({
|
16
|
-
"feedbackEmail" => "feedback_email",
|
17
|
-
"marketingUrl" => "marketing_url",
|
18
|
-
"privacyPolicyUrl" => "privacy_policy_url",
|
19
|
-
"tvOsPrivacyPolicy" => "tv_os_privacy_policy",
|
20
|
-
"description" => "description",
|
21
|
-
"locale" => "locale"
|
22
|
-
})
|
23
|
-
|
24
|
-
def self.type
|
25
|
-
return "betaAppLocalizations"
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,34 +0,0 @@
|
|
1
|
-
require_relative '../../model'
|
2
|
-
module Spaceship
|
3
|
-
module ConnectAPI
|
4
|
-
module TestFlight
|
5
|
-
class BetaAppReviewDetail
|
6
|
-
include Spaceship::ConnectAPI::Model
|
7
|
-
|
8
|
-
attr_accessor :contact_first_name
|
9
|
-
attr_accessor :contact_last_name
|
10
|
-
attr_accessor :contact_phone
|
11
|
-
attr_accessor :contact_email
|
12
|
-
attr_accessor :demo_account_name
|
13
|
-
attr_accessor :demo_account_password
|
14
|
-
attr_accessor :demo_account_required
|
15
|
-
attr_accessor :notes
|
16
|
-
|
17
|
-
attr_mapping({
|
18
|
-
"contactFirstName" => "contact_first_name",
|
19
|
-
"contactLastName" => "contact_last_name",
|
20
|
-
"contactPhone" => "contact_phone",
|
21
|
-
"contactEmail" => "contact_email",
|
22
|
-
"demoAccountName" => "demo_account_name",
|
23
|
-
"demoAccountPassword" => "demo_account_password",
|
24
|
-
"demoAccountRequired" => "demo_account_required",
|
25
|
-
"notes" => "notes"
|
26
|
-
})
|
27
|
-
|
28
|
-
def self.type
|
29
|
-
return "betaAppReviewDetails"
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
@@ -1,28 +0,0 @@
|
|
1
|
-
require_relative '../../model'
|
2
|
-
module Spaceship
|
3
|
-
module ConnectAPI
|
4
|
-
module TestFlight
|
5
|
-
class BetaAppReviewSubmission
|
6
|
-
include Spaceship::ConnectAPI::Model
|
7
|
-
|
8
|
-
attr_accessor :beta_review_state
|
9
|
-
|
10
|
-
attr_mapping({
|
11
|
-
"betaReviewState" => "beta_review_state"
|
12
|
-
})
|
13
|
-
|
14
|
-
def self.type
|
15
|
-
return "betaAppReviewSubmissions"
|
16
|
-
end
|
17
|
-
|
18
|
-
#
|
19
|
-
# API
|
20
|
-
#
|
21
|
-
|
22
|
-
def delete!
|
23
|
-
return testflight_client.delete_beta_app_review_submission(beta_app_review_submission_id: id)
|
24
|
-
end
|
25
|
-
end
|
26
|
-
end
|
27
|
-
end
|
28
|
-
end
|
@@ -1,22 +0,0 @@
|
|
1
|
-
require_relative '../../model'
|
2
|
-
module Spaceship
|
3
|
-
module ConnectAPI
|
4
|
-
module TestFlight
|
5
|
-
class BetaBuildLocalization
|
6
|
-
include Spaceship::ConnectAPI::Model
|
7
|
-
|
8
|
-
attr_accessor :whats_new
|
9
|
-
attr_accessor :locale
|
10
|
-
|
11
|
-
attr_mapping({
|
12
|
-
"whatsNew" => "whats_new",
|
13
|
-
"locale" => "locale"
|
14
|
-
})
|
15
|
-
|
16
|
-
def self.type
|
17
|
-
return "betaBuildLocalizations"
|
18
|
-
end
|
19
|
-
end
|
20
|
-
end
|
21
|
-
end
|
22
|
-
end
|