fastlane 2.89.0.beta.20180328050040 → 2.89.0.beta.20180329050050
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/testfairy.rb +15 -4
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/supply/lib/supply/options.rb +2 -2
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f2a389e508604e16f080a953bc408f2cc402839d
|
4
|
+
data.tar.gz: a892c5bdcf9d186757b5a6d3541da57325219a37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0750b1a0e8ed4c0aa4fcb0171cc88b331b81bb026b332fc92e35e7ff8a7fede01eee18ea517268902c626a71610798b699bd1444a6d081fa4e192678c9b2ad59
|
7
|
+
data.tar.gz: 776e612f58bf5882607b7170778e59dc20581a380111bffef13fc25e0b6aff1d4c5893424f4bb3e3dee74f58c926288ca73ebf01f3bf5c48956e00a5354bf356
|
@@ -5,11 +5,13 @@ module Fastlane
|
|
5
5
|
end
|
6
6
|
|
7
7
|
class TestfairyAction < Action
|
8
|
-
def self.upload_build(ipa, options)
|
8
|
+
def self.upload_build(upload_url, ipa, options)
|
9
9
|
require 'faraday'
|
10
10
|
require 'faraday_middleware'
|
11
11
|
|
12
|
-
|
12
|
+
UI.success("Uploading to #{upload_url}...")
|
13
|
+
|
14
|
+
connection = Faraday.new(url: upload_url) do |builder|
|
13
15
|
builder.request(:multipart)
|
14
16
|
builder.request(:url_encoded)
|
15
17
|
builder.request(:retry, max: 3, interval: 5)
|
@@ -64,7 +66,10 @@ module Fastlane
|
|
64
66
|
end
|
65
67
|
end
|
66
68
|
|
67
|
-
|
69
|
+
# Rejecting key `upload_url` as we don't need it in options
|
70
|
+
client_options = Hash[params.values.reject do |key, value|
|
71
|
+
key == :upload_url
|
72
|
+
end.map do |key, value|
|
68
73
|
case key
|
69
74
|
when :api_key
|
70
75
|
[key, value]
|
@@ -91,7 +96,7 @@ module Fastlane
|
|
91
96
|
|
92
97
|
return params[:ipa] if Helper.test?
|
93
98
|
|
94
|
-
response = self.upload_build(params[:ipa], client_options)
|
99
|
+
response = self.upload_build(params[:upload_url], params[:ipa], client_options)
|
95
100
|
if parse_response(response)
|
96
101
|
UI.success("Build URL: #{Actions.lane_context[SharedValues::TESTFAIRY_BUILD_URL]}")
|
97
102
|
UI.success("Build successfully uploaded to TestFairy.")
|
@@ -155,6 +160,12 @@ module Fastlane
|
|
155
160
|
verify_block: proc do |value|
|
156
161
|
UI.user_error!("Couldn't find dSYM file at path '#{value}'") unless File.exist?(value)
|
157
162
|
end),
|
163
|
+
FastlaneCore::ConfigItem.new(key: :upload_url,
|
164
|
+
env_name: "FL_TESTFAIRY_UPLOAD_URL", # The name of the environment variable
|
165
|
+
description: "API URL for TestFairy", # a short description of this parameter
|
166
|
+
default_value: "https://upload.testfairy.com",
|
167
|
+
is_string: true,
|
168
|
+
optional: true),
|
158
169
|
FastlaneCore::ConfigItem.new(key: :testers_groups,
|
159
170
|
optional: true,
|
160
171
|
type: Array,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.89.0.beta.
|
2
|
+
VERSION = '2.89.0.beta.20180329050050'.freeze
|
3
3
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
4
4
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
5
5
|
RUBOCOP_REQUIREMENT = '0.49.1'.freeze
|
@@ -68,7 +68,7 @@ module Supply
|
|
68
68
|
short_option: "-j",
|
69
69
|
conflicting_options: [:issuer, :key, :json_key_data],
|
70
70
|
optional: true, # this shouldn't be optional but is until --key and --issuer are completely removed
|
71
|
-
description: "The service account
|
71
|
+
description: "The path to a file containing service account JSON, used to authenticate with Google",
|
72
72
|
code_gen_sensitive: true,
|
73
73
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:json_key_file),
|
74
74
|
default_value_dynamic: true,
|
@@ -81,7 +81,7 @@ module Supply
|
|
81
81
|
short_option: "-c",
|
82
82
|
conflicting_options: [:issuer, :key, :json_key],
|
83
83
|
optional: true,
|
84
|
-
description: "The service account
|
84
|
+
description: "The raw service account JSON data used to authenticate with Google",
|
85
85
|
code_gen_sensitive: true,
|
86
86
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:json_key_data_raw),
|
87
87
|
default_value_dynamic: true,
|
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.89.0.beta.
|
4
|
+
version: 2.89.0.beta.20180329050050
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kohki Miki
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2018-03-
|
30
|
+
date: 2018-03-29 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1622,24 +1622,24 @@ metadata:
|
|
1622
1622
|
post_install_message:
|
1623
1623
|
rdoc_options: []
|
1624
1624
|
require_paths:
|
1625
|
-
-
|
1626
|
-
- fastlane/lib
|
1627
|
-
- credentials_manager/lib
|
1628
|
-
- deliver/lib
|
1625
|
+
- gym/lib
|
1629
1626
|
- pilot/lib
|
1630
|
-
- screengrab/lib
|
1631
|
-
- frameit/lib
|
1632
|
-
- fastlane_core/lib
|
1633
|
-
- scan/lib
|
1634
1627
|
- produce/lib
|
1635
1628
|
- snapshot/lib
|
1636
|
-
- supply/lib
|
1637
|
-
- sigh/lib
|
1638
1629
|
- spaceship/lib
|
1639
|
-
-
|
1630
|
+
- fastlane/lib
|
1631
|
+
- credentials_manager/lib
|
1632
|
+
- deliver/lib
|
1640
1633
|
- match/lib
|
1641
|
-
- pem/lib
|
1642
1634
|
- cert/lib
|
1635
|
+
- frameit/lib
|
1636
|
+
- scan/lib
|
1637
|
+
- pem/lib
|
1638
|
+
- sigh/lib
|
1639
|
+
- supply/lib
|
1640
|
+
- fastlane_core/lib
|
1641
|
+
- precheck/lib
|
1642
|
+
- screengrab/lib
|
1643
1643
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1644
1644
|
requirements:
|
1645
1645
|
- - ">="
|