fastlane-plugin-zealot 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 64a36e272df98dd1c84814b23963f8dd1acd6f3771838e1b281ebf38e2e331e6
|
4
|
+
data.tar.gz: 7105ed9cb6ddca628ff9285c12f2cd66dda401dbb1094d1e679000730bed4725
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a9fdca9ac0e41266fee8f26a65949bb176ac62950d4a5e4157ae26e8cafa893ee967302e961db19dc41553adcde6070b93c0d5b87774be97dc7748242d5d0dc
|
7
|
+
data.tar.gz: baedb7e2dad95eb159d0c6640c525f216858055c72a38ace22ab81f04cefca82d855eee191d3cd5dc1cf7146577fa24a2217d05b27b39659d42fc269a80ca7f5
|
@@ -31,10 +31,9 @@ module Fastlane
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def self.parse_response(response, upload_url, fail_on_error)
|
34
|
-
return
|
34
|
+
return unless response
|
35
35
|
|
36
36
|
UI.verbose response.body.to_s
|
37
|
-
|
38
37
|
if response.status != 201
|
39
38
|
return show_error("Error uploading to Zealot [#{response.status}]: #{response.body}", fail_on_error)
|
40
39
|
end
|
@@ -59,10 +59,9 @@ module Fastlane
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def self.parse_response(response, upload_url, fail_on_error)
|
62
|
-
return
|
62
|
+
return unless response
|
63
63
|
|
64
64
|
UI.verbose response.body.to_s
|
65
|
-
|
66
65
|
if (body = response.body) && (error = body['error'])
|
67
66
|
return show_error("Error uploading to Zealot: #{response.body}", fail_on_error)
|
68
67
|
end
|
@@ -138,7 +138,7 @@ module Fastlane
|
|
138
138
|
#######################################
|
139
139
|
|
140
140
|
def sync_deivce(params, device)
|
141
|
-
body = { token: params[:token], name: device.name }
|
141
|
+
body = { token: params[:token], name: device.name, model: device.model }
|
142
142
|
http_request(:put, "/api/devices/#{device.udid}", body, params)
|
143
143
|
end
|
144
144
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-zealot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- icyleaf
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|