fastlane 2.1.2 → 2.1.3
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/hockey.rb +8 -2
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/spaceship/lib/spaceship/spaceauth_runner.rb +8 -3
- data/spaceship/lib/spaceship/two_step_client.rb +2 -2
- metadata +2 -6
- data/fastlane/lib/.DS_Store +0 -0
- data/fastlane/lib/fastlane/.DS_Store +0 -0
- data/fastlane/lib/fastlane/actions/.DS_Store +0 -0
- data/match/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: 86d654462e64242e610a3ff5e0873391378f15b9
|
4
|
+
data.tar.gz: 59f3ce2c63da60e5a2735d8c995e83f3b2f104c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c697c30e08ac74c0284cc29e3691fb72822129e88a83eb1394bddb0177cb7271dd8c41497c152564e0c14038b43deead9b36fe7d836e7921b5d819ba4e1d726
|
7
|
+
data.tar.gz: 857da9e5c6365a6bb4fc2a0c8a2ffa61676bc5849ce3d5d526d68eeb9ddd3c9e49022f014a06e5d4ce3beae08bbf7221dc2fbb1710b9c634bee0cb0319a2e627
|
@@ -10,7 +10,8 @@ module Fastlane
|
|
10
10
|
require 'faraday'
|
11
11
|
require 'faraday_middleware'
|
12
12
|
|
13
|
-
|
13
|
+
base_url = options[:bypass_cdn] ? "https://rink.hockeyapp.net" : "https://upload.hockeyapp.net"
|
14
|
+
connection = Faraday.new(url: base_url) do |builder|
|
14
15
|
builder.request :multipart
|
15
16
|
builder.request :url_encoded
|
16
17
|
builder.response :json, content_type: /\bjson$/
|
@@ -211,7 +212,12 @@ module Fastlane
|
|
211
212
|
default_value: "add",
|
212
213
|
verify_block: proc do |value|
|
213
214
|
UI.user_error!("Invalid value '#{value}' for key 'strategy'. Allowed values are 'add', 'replace'.") unless ['add', 'replace'].include?(value)
|
214
|
-
end)
|
215
|
+
end),
|
216
|
+
FastlaneCore::ConfigItem.new(key: :bypass_cdn,
|
217
|
+
env_name: "FL_HOCKEY_BYPASS_CDN",
|
218
|
+
description: "Flag to bypass Hockey CDN when it uploads successfully but reports error",
|
219
|
+
is_string: false,
|
220
|
+
default_value: false)
|
215
221
|
]
|
216
222
|
end
|
217
223
|
|
@@ -17,7 +17,12 @@ module Spaceship
|
|
17
17
|
puts "Successfully logged in to iTunes Connect".green
|
18
18
|
puts ""
|
19
19
|
rescue
|
20
|
-
puts "Could not login to iTunes Connect
|
20
|
+
puts "Could not login to iTunes Connect".red
|
21
|
+
puts "Please check your credentials and try again.".yellow
|
22
|
+
puts "This could be an issue with iTunes Connect,".yellow
|
23
|
+
puts "Please try unsetting the FASTLANE_SESSION environment variable".yellow
|
24
|
+
puts "and re-run `fastlane spaceauth`".yellow
|
25
|
+
UI.crash!("Problem connecting to iTunes Connect")
|
21
26
|
end
|
22
27
|
|
23
28
|
itc_cookie_content = Spaceship::Tunes.client.store_cookie
|
@@ -31,8 +36,8 @@ module Spaceship
|
|
31
36
|
cookies = YAML.load(itc_cookie_content)
|
32
37
|
|
33
38
|
# We remove all the un-needed cookies
|
34
|
-
cookies.
|
35
|
-
|
39
|
+
cookies.select! do |cookie|
|
40
|
+
cookie.name.start_with?("DES5") || cookie.name == 'dqsid'
|
36
41
|
end
|
37
42
|
|
38
43
|
yaml = cookies.to_yaml.gsub("\n", "\\n")
|
@@ -35,7 +35,7 @@ module Spaceship
|
|
35
35
|
result = choose(*available)
|
36
36
|
device_id = result.match(/.*\t.*\t\((.*)\)/)[1]
|
37
37
|
select_device(r, device_id)
|
38
|
-
elsif r.body.kind_of?(Hash) && r.body["
|
38
|
+
elsif r.body.kind_of?(Hash) && r.body["trustedPhoneNumbers"].kind_of?(Array) && r.body["trustedPhoneNumbers"].first.kind_of?(Hash)
|
39
39
|
handle_two_factor(r)
|
40
40
|
else
|
41
41
|
raise "Invalid 2 step response #{r.body}"
|
@@ -48,7 +48,7 @@ module Spaceship
|
|
48
48
|
puts "If you're running this in a non-interactive session (e.g. server or CI)"
|
49
49
|
puts "check out #{two_factor_url}"
|
50
50
|
|
51
|
-
security_code = response.body["
|
51
|
+
security_code = response.body["securityCode"]
|
52
52
|
# {"length"=>6,
|
53
53
|
# "tooManyCodesSent"=>false,
|
54
54
|
# "tooManyCodesValidated"=>false,
|
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.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -733,7 +733,6 @@ files:
|
|
733
733
|
- deliver/lib/deliver/upload_price_tier.rb
|
734
734
|
- deliver/lib/deliver/upload_screenshots.rb
|
735
735
|
- fastlane/README.md
|
736
|
-
- fastlane/lib/.DS_Store
|
737
736
|
- fastlane/lib/assets/Actions.md.erb
|
738
737
|
- fastlane/lib/assets/AppfileTemplate
|
739
738
|
- fastlane/lib/assets/AppfileTemplateAndroid
|
@@ -750,10 +749,8 @@ files:
|
|
750
749
|
- fastlane/lib/assets/s3_plist_template.erb
|
751
750
|
- fastlane/lib/assets/s3_version_template.erb
|
752
751
|
- fastlane/lib/fastlane.rb
|
753
|
-
- fastlane/lib/fastlane/.DS_Store
|
754
752
|
- fastlane/lib/fastlane/action.rb
|
755
753
|
- fastlane/lib/fastlane/action_collector.rb
|
756
|
-
- fastlane/lib/fastlane/actions/.DS_Store
|
757
754
|
- fastlane/lib/fastlane/actions/README.md
|
758
755
|
- fastlane/lib/fastlane/actions/actions_helper.rb
|
759
756
|
- fastlane/lib/fastlane/actions/adb.rb
|
@@ -1082,7 +1079,6 @@ files:
|
|
1082
1079
|
- gym/lib/gym/xcodebuild_fixes/watchkit2_fix.rb
|
1083
1080
|
- gym/lib/gym/xcodebuild_fixes/watchkit_fix.rb
|
1084
1081
|
- match/README.md
|
1085
|
-
- match/lib/.DS_Store
|
1086
1082
|
- match/lib/assets/MatchfileTemplate
|
1087
1083
|
- match/lib/assets/READMETemplate.md
|
1088
1084
|
- match/lib/match.rb
|
@@ -1288,7 +1284,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1288
1284
|
version: '0'
|
1289
1285
|
requirements: []
|
1290
1286
|
rubyforge_project:
|
1291
|
-
rubygems_version: 2.
|
1287
|
+
rubygems_version: 2.5.1
|
1292
1288
|
signing_key:
|
1293
1289
|
specification_version: 4
|
1294
1290
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|
data/fastlane/lib/.DS_Store
DELETED
Binary file
|
Binary file
|
Binary file
|
data/match/lib/.DS_Store
DELETED
Binary file
|