fastlane 2.36.0.beta.20170531010050 → 2.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/.DS_Store +0 -0
- data/fastlane/lib/fastlane/.DS_Store +0 -0
- data/fastlane/lib/fastlane/actions/appaloosa.rb +11 -5
- data/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -1
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/pilot/lib/pilot/tester_manager.rb +2 -2
- data/scan/lib/scan/runner.rb +2 -1
- data/spaceship/lib/.DS_Store +0 -0
- metadata +18 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74160a9a24d29f7a36b19262a92710bd83c1eade
|
4
|
+
data.tar.gz: cf7fcba91385cb4d1b32c7719d4b04b9f128821e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d76bdfbf9ed0d4979da6abf10f34e6a42b2891f2fdd8bbce877151040d64abab9f21c144a7589d9a936bad88676cf1275a744e5422eebb5b38df9efa9b12fe77
|
7
|
+
data.tar.gz: 1cd2456de21303ab9d64d75ba47fd25dcebb17d221435b9b0759d4e72137ca056312e8fba63c85c5a3206bc1e3b50f033fb083037986491424602b7e05a7dca3
|
Binary file
|
Binary file
|
@@ -24,16 +24,20 @@ module Fastlane
|
|
24
24
|
uri = URI("#{APPALOOSA_SERVER}/upload_services/presign_form")
|
25
25
|
params = { file: file_name, store_id: store_id, group_ids: group_ids }
|
26
26
|
uri.query = URI.encode_www_form(params)
|
27
|
-
|
27
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
28
|
+
http.use_ssl = true
|
29
|
+
presign_form_response = http.request(Net::HTTP::Get.new(uri.request_uri))
|
28
30
|
json_res = JSON.parse(presign_form_response.body)
|
29
31
|
return if error_detected json_res['errors']
|
30
32
|
s3_sign = json_res['s3_sign']
|
31
33
|
path = json_res['path']
|
32
34
|
uri = URI.parse(Base64.decode64(s3_sign))
|
33
35
|
File.open(file, 'rb') do |f|
|
34
|
-
Net::HTTP.
|
35
|
-
|
36
|
-
|
36
|
+
http = Net::HTTP.new(uri.host)
|
37
|
+
put = Net::HTTP::Put.new(uri.request_uri)
|
38
|
+
put.body = f.read
|
39
|
+
put['content-type'] = ''
|
40
|
+
http.request(put)
|
37
41
|
end
|
38
42
|
path
|
39
43
|
end
|
@@ -42,7 +46,9 @@ module Fastlane
|
|
42
46
|
uri = URI("#{APPALOOSA_SERVER}/#{store_id}/upload_services/url_for_download")
|
43
47
|
params = { store_id: store_id, api_key: api_key, key: path }
|
44
48
|
uri.query = URI.encode_www_form(params)
|
45
|
-
|
49
|
+
http = Net::HTTP.new(uri.host, uri.port)
|
50
|
+
http.use_ssl = true
|
51
|
+
url_for_download_response = http.request(Net::HTTP::Get.new(uri.request_uri))
|
46
52
|
if invalid_response?(url_for_download_response)
|
47
53
|
UI.user_error!("ERROR: A problem occurred with your API token and your store id. Please try again.")
|
48
54
|
end
|
@@ -12,7 +12,7 @@ module Fastlane
|
|
12
12
|
UI.message("Updating the Automatic Codesigning flag to #{params[:use_automatic_signing] ? 'enabled' : 'disabled'} for the given project '#{path}'")
|
13
13
|
|
14
14
|
unless project.root_object.attributes["TargetAttributes"]
|
15
|
-
UI.user_error!("Seems to be a very old project file format - please
|
15
|
+
UI.user_error!("Seems to be a very old project file format - please open your project file in a more recent version of Xcode")
|
16
16
|
return false
|
17
17
|
end
|
18
18
|
|
@@ -176,7 +176,7 @@ module Pilot
|
|
176
176
|
|
177
177
|
def list_global(all_testers, title)
|
178
178
|
headers = ["First", "Last", "Email", "Groups", "Devices", "Latest Version", "Latest Install Date"]
|
179
|
-
list(all_testers, title, headers) do |tester|
|
179
|
+
list(all_testers, "#{title} (#{all_testers.count})", headers) do |tester|
|
180
180
|
[
|
181
181
|
tester.first_name,
|
182
182
|
tester.last_name,
|
@@ -191,7 +191,7 @@ module Pilot
|
|
191
191
|
|
192
192
|
def list_by_app(all_testers, title)
|
193
193
|
headers = ["First", "Last", "Email", "Groups"]
|
194
|
-
list(all_testers, title, headers) do |tester|
|
194
|
+
list(all_testers, "#{title} (#{all_testers.count})", headers) do |tester|
|
195
195
|
[
|
196
196
|
tester.first_name,
|
197
197
|
tester.last_name,
|
data/scan/lib/scan/runner.rb
CHANGED
@@ -2,6 +2,7 @@ require 'pty'
|
|
2
2
|
require 'open3'
|
3
3
|
require 'fileutils'
|
4
4
|
require 'terminal-table'
|
5
|
+
require 'shellwords'
|
5
6
|
|
6
7
|
module Scan
|
7
8
|
class Runner
|
@@ -93,7 +94,7 @@ module Scan
|
|
93
94
|
|
94
95
|
reporter_options_generator = XCPrettyReporterOptionsGenerator.new(false, [], [], "", false)
|
95
96
|
reporter_options = reporter_options_generator.generate_reporter_options
|
96
|
-
cmd = "cat #{@test_command_generator.xcodebuild_log_path} | xcpretty #{reporter_options.join(' ')} &> /dev/null"
|
97
|
+
cmd = "cat #{@test_command_generator.xcodebuild_log_path.shellescape} | xcpretty #{reporter_options.join(' ')} &> /dev/null"
|
97
98
|
system(cmd)
|
98
99
|
File.read(Scan.cache[:temp_junit_report])
|
99
100
|
end
|
Binary file
|
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.36.0
|
4
|
+
version: 2.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -802,6 +802,7 @@ 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
|
805
806
|
- fastlane/lib/assets/Actions.md.erb
|
806
807
|
- fastlane/lib/assets/AppfileTemplate
|
807
808
|
- fastlane/lib/assets/AppfileTemplateAndroid
|
@@ -818,6 +819,7 @@ files:
|
|
818
819
|
- fastlane/lib/assets/s3_plist_template.erb
|
819
820
|
- fastlane/lib/assets/s3_version_template.erb
|
820
821
|
- fastlane/lib/fastlane.rb
|
822
|
+
- fastlane/lib/fastlane/.DS_Store
|
821
823
|
- fastlane/lib/fastlane/action.rb
|
822
824
|
- fastlane/lib/fastlane/action_collector.rb
|
823
825
|
- fastlane/lib/fastlane/actions/README.md
|
@@ -1264,6 +1266,7 @@ files:
|
|
1264
1266
|
- snapshot/lib/snapshot/test_command_generator.rb
|
1265
1267
|
- snapshot/lib/snapshot/update.rb
|
1266
1268
|
- spaceship/README.md
|
1269
|
+
- spaceship/lib/.DS_Store
|
1267
1270
|
- spaceship/lib/assets/languageMapping.json
|
1268
1271
|
- spaceship/lib/assets/languageMappingReadable.json
|
1269
1272
|
- spaceship/lib/spaceship.rb
|
@@ -1368,23 +1371,23 @@ metadata:
|
|
1368
1371
|
post_install_message:
|
1369
1372
|
rdoc_options: []
|
1370
1373
|
require_paths:
|
1371
|
-
-
|
1372
|
-
-
|
1374
|
+
- cert/lib
|
1375
|
+
- credentials_manager/lib
|
1376
|
+
- deliver/lib
|
1373
1377
|
- fastlane/lib
|
1378
|
+
- fastlane_core/lib
|
1379
|
+
- frameit/lib
|
1374
1380
|
- gym/lib
|
1381
|
+
- match/lib
|
1382
|
+
- pem/lib
|
1383
|
+
- pilot/lib
|
1384
|
+
- produce/lib
|
1375
1385
|
- scan/lib
|
1376
1386
|
- screengrab/lib
|
1377
|
-
-
|
1387
|
+
- sigh/lib
|
1378
1388
|
- snapshot/lib
|
1379
1389
|
- spaceship/lib
|
1380
|
-
- sigh/lib
|
1381
|
-
- cert/lib
|
1382
|
-
- deliver/lib
|
1383
|
-
- credentials_manager/lib
|
1384
|
-
- produce/lib
|
1385
|
-
- frameit/lib
|
1386
1390
|
- supply/lib
|
1387
|
-
- pilot/lib
|
1388
1391
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1389
1392
|
requirements:
|
1390
1393
|
- - ">="
|
@@ -1392,14 +1395,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1392
1395
|
version: 2.0.0
|
1393
1396
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1394
1397
|
requirements:
|
1395
|
-
- - "
|
1398
|
+
- - ">="
|
1396
1399
|
- !ruby/object:Gem::Version
|
1397
|
-
version:
|
1400
|
+
version: '0'
|
1398
1401
|
requirements: []
|
1399
1402
|
rubyforge_project:
|
1400
|
-
rubygems_version: 2.
|
1403
|
+
rubygems_version: 2.6.10
|
1401
1404
|
signing_key:
|
1402
1405
|
specification_version: 4
|
1403
1406
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
1404
1407
|
Android apps
|
1405
1408
|
test_files: []
|
1409
|
+
has_rdoc:
|