fastlane-plugin-tpa 2.0.2 → 2.0.3
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ed7db5267f2c46d9a05ecbda74ce9e4117fb3da
|
4
|
+
data.tar.gz: 9735b38e6b5b133430a55858017d93d32e57ed49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2181cfbb820867c44f94232cbe86edc0e98a1fb5ef2080ed18888bd675143a1a4543903e22b2b453b6dc01d72c6672e636e6f3b426a4d90467845ce1436247e5
|
7
|
+
data.tar.gz: 6e55d230c55fd7023a8381af9ba9927003ed98c0e5628c505d13bc7e5f14924f9e3f1c26c3b3dbe8e2125000d4627952e71de7ae7d35b5f1b30dcad8cac73a70
|
@@ -47,13 +47,20 @@ module Fastlane
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def self.body(params)
|
50
|
-
{
|
50
|
+
body = {
|
51
51
|
app: File.new(app_file(params), 'rb'),
|
52
|
-
mapping: !params[:mapping].nil? && File.exist?(params[:mapping]) ? File.new(params[:mapping], 'rb') : nil,
|
53
52
|
notes: params[:notes],
|
54
53
|
publish: params[:publish],
|
55
54
|
force: params[:force]
|
56
55
|
}
|
56
|
+
|
57
|
+
# Only set mapping key if mapping file exists.
|
58
|
+
# Even setting a nil value will cause Fastlane to send an empty value causing an error.
|
59
|
+
if !params[:mapping].nil? && File.exist?(params[:mapping])
|
60
|
+
body[:mapping] = File.new(params[:mapping], 'rb')
|
61
|
+
end
|
62
|
+
|
63
|
+
body
|
57
64
|
end
|
58
65
|
|
59
66
|
def self.handle_exception_response(ex)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-tpa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The Perfect App
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|