fastlane 2.36.0 → 2.37.0.beta.20170601010043
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/fastlane_core/lib/fastlane_core/build_watcher.rb +1 -1
- data/spaceship/lib/spaceship/client.rb +5 -1
- data/spaceship/lib/spaceship/test_flight/build.rb +2 -2
- data/spaceship/lib/spaceship/test_flight/client.rb +7 -4
- metadata +16 -20
- data/fastlane/lib/.DS_Store +0 -0
- data/fastlane/lib/fastlane/.DS_Store +0 -0
- data/spaceship/lib/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b3cb7b7fb4a4bfc18f7e73e2aec50f4c956326f9
|
4
|
+
data.tar.gz: 977106738fa32888cc772b6844ec7433747a24f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b99d57aaa6bb015338d7d5c1d2a0385b469273665eb077004cdc9acee137e06be82945f29cff4c8beb97017f24828d2d42518a47a272d5f4cf040bc1ff607610
|
7
|
+
data.tar.gz: bbfcb73c1eef73ecba7bb3b095f6d08c373cde6465aa924d5fa6beba693839096b372a0f89231c6acd904c227b133564c2d071a61d46a37a4caffbbe32b24004
|
@@ -30,7 +30,7 @@ module FastlaneCore
|
|
30
30
|
end
|
31
31
|
|
32
32
|
def matching_build(watched_build: nil, app_id: nil, platform: nil)
|
33
|
-
matched_builds = Spaceship::TestFlight::Build.builds_for_train(app_id: app_id, platform: platform, train_version: watched_build.train_version)
|
33
|
+
matched_builds = Spaceship::TestFlight::Build.builds_for_train(app_id: app_id, platform: platform, train_version: watched_build.train_version, retry_count: 2)
|
34
34
|
matched_builds.find { |build| build.build_version == watched_build.build_version }
|
35
35
|
end
|
36
36
|
|
@@ -514,7 +514,11 @@ module Spaceship
|
|
514
514
|
|
515
515
|
def with_retry(tries = 5, &_block)
|
516
516
|
return yield
|
517
|
-
rescue
|
517
|
+
rescue \
|
518
|
+
Faraday::Error::ConnectionFailed,
|
519
|
+
Faraday::Error::TimeoutError,
|
520
|
+
AppleTimeoutError,
|
521
|
+
InternalServerError => ex # New Faraday version: Faraday::TimeoutError => ex
|
518
522
|
tries -= 1
|
519
523
|
unless tries.zero?
|
520
524
|
logger.warn("Timeout received: '#{ex.message}'. Retrying after 3 seconds (remaining: #{tries})...")
|
@@ -85,8 +85,8 @@ module Spaceship::TestFlight
|
|
85
85
|
trains.values.flatten
|
86
86
|
end
|
87
87
|
|
88
|
-
def self.builds_for_train(app_id: nil, platform: nil, train_version: nil)
|
89
|
-
builds_data = client.get_builds_for_train(app_id: app_id, platform: platform, train_version: train_version)
|
88
|
+
def self.builds_for_train(app_id: nil, platform: nil, train_version: nil, retry_count: 0)
|
89
|
+
builds_data = client.get_builds_for_train(app_id: app_id, platform: platform, train_version: train_version, retry_count: retry_count)
|
90
90
|
builds_data.map { |data| self.new(data) }
|
91
91
|
end
|
92
92
|
|
@@ -27,11 +27,12 @@ module Spaceship::TestFlight
|
|
27
27
|
handle_response(response)
|
28
28
|
end
|
29
29
|
|
30
|
-
def get_builds_for_train(app_id: nil, platform: "ios", train_version: nil)
|
30
|
+
def get_builds_for_train(app_id: nil, platform: "ios", train_version: nil, retry_count: 0)
|
31
31
|
assert_required_params(__method__, binding)
|
32
|
-
|
33
|
-
|
34
|
-
|
32
|
+
with_retry(retry_count: retry_count) do
|
33
|
+
response = request(:get, "providers/#{team_id}/apps/#{app_id}/platforms/#{platform}/trains/#{train_version}/builds")
|
34
|
+
handle_response(response)
|
35
|
+
end
|
35
36
|
end
|
36
37
|
|
37
38
|
##
|
@@ -190,6 +191,8 @@ module Spaceship::TestFlight
|
|
190
191
|
return
|
191
192
|
end
|
192
193
|
|
194
|
+
raise InternalServerError, "Server error got #{response.status}" if (500...600).cover?(response.status)
|
195
|
+
|
193
196
|
unless response.body.kind_of?(Hash)
|
194
197
|
raise UnexpectedResponse, response.body
|
195
198
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.37.0.beta.20170601010043
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2017-
|
18
|
+
date: 2017-06-01 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|
@@ -802,7 +802,6 @@ files:
|
|
802
802
|
- deliver/lib/deliver/upload_price_tier.rb
|
803
803
|
- deliver/lib/deliver/upload_screenshots.rb
|
804
804
|
- fastlane/README.md
|
805
|
-
- fastlane/lib/.DS_Store
|
806
805
|
- fastlane/lib/assets/Actions.md.erb
|
807
806
|
- fastlane/lib/assets/AppfileTemplate
|
808
807
|
- fastlane/lib/assets/AppfileTemplateAndroid
|
@@ -819,7 +818,6 @@ files:
|
|
819
818
|
- fastlane/lib/assets/s3_plist_template.erb
|
820
819
|
- fastlane/lib/assets/s3_version_template.erb
|
821
820
|
- fastlane/lib/fastlane.rb
|
822
|
-
- fastlane/lib/fastlane/.DS_Store
|
823
821
|
- fastlane/lib/fastlane/action.rb
|
824
822
|
- fastlane/lib/fastlane/action_collector.rb
|
825
823
|
- fastlane/lib/fastlane/actions/README.md
|
@@ -1266,7 +1264,6 @@ files:
|
|
1266
1264
|
- snapshot/lib/snapshot/test_command_generator.rb
|
1267
1265
|
- snapshot/lib/snapshot/update.rb
|
1268
1266
|
- spaceship/README.md
|
1269
|
-
- spaceship/lib/.DS_Store
|
1270
1267
|
- spaceship/lib/assets/languageMapping.json
|
1271
1268
|
- spaceship/lib/assets/languageMappingReadable.json
|
1272
1269
|
- spaceship/lib/spaceship.rb
|
@@ -1371,23 +1368,23 @@ metadata:
|
|
1371
1368
|
post_install_message:
|
1372
1369
|
rdoc_options: []
|
1373
1370
|
require_paths:
|
1371
|
+
- spaceship/lib
|
1372
|
+
- scan/lib
|
1373
|
+
- supply/lib
|
1374
1374
|
- cert/lib
|
1375
|
+
- sigh/lib
|
1376
|
+
- produce/lib
|
1377
|
+
- fastlane/lib
|
1378
|
+
- screengrab/lib
|
1379
|
+
- pem/lib
|
1375
1380
|
- credentials_manager/lib
|
1376
1381
|
- deliver/lib
|
1377
|
-
- fastlane/lib
|
1378
|
-
- fastlane_core/lib
|
1379
1382
|
- frameit/lib
|
1380
|
-
- gym/lib
|
1381
1383
|
- match/lib
|
1382
|
-
- pem/lib
|
1383
|
-
- pilot/lib
|
1384
|
-
- produce/lib
|
1385
|
-
- scan/lib
|
1386
|
-
- screengrab/lib
|
1387
|
-
- sigh/lib
|
1388
1384
|
- snapshot/lib
|
1389
|
-
-
|
1390
|
-
-
|
1385
|
+
- gym/lib
|
1386
|
+
- fastlane_core/lib
|
1387
|
+
- pilot/lib
|
1391
1388
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1392
1389
|
requirements:
|
1393
1390
|
- - ">="
|
@@ -1395,15 +1392,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1395
1392
|
version: 2.0.0
|
1396
1393
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1397
1394
|
requirements:
|
1398
|
-
- - "
|
1395
|
+
- - ">"
|
1399
1396
|
- !ruby/object:Gem::Version
|
1400
|
-
version:
|
1397
|
+
version: 1.3.1
|
1401
1398
|
requirements: []
|
1402
1399
|
rubyforge_project:
|
1403
|
-
rubygems_version: 2.
|
1400
|
+
rubygems_version: 2.4.5.2
|
1404
1401
|
signing_key:
|
1405
1402
|
specification_version: 4
|
1406
1403
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
1407
1404
|
Android apps
|
1408
1405
|
test_files: []
|
1409
|
-
has_rdoc:
|
data/fastlane/lib/.DS_Store
DELETED
Binary file
|
Binary file
|
data/spaceship/lib/.DS_Store
DELETED
Binary file
|