fastlane-plugin-rustore 0.1.0 → 0.1.1
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9529d690ce6b1a41ad75c570801b2b9f596021d7495ba2142f82b223a8305070
|
4
|
+
data.tar.gz: fceffdb0c7f2f4d7dbcd4e67f2d1c5d0db4aef89977209ee3c4255afdf496b4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fdb15a40ad70fc10f4f70e89afe1e9f4839b2a2ddd4b96370ceb774dbd0f876e822ac676b56b97575073e0f670401bc15270c97bd13145c18fb0b7adc01766f
|
7
|
+
data.tar.gz: 6d20f557358bf2835ab082a24be4adf9b0e60f022ad9294cdf8bd7941bd296b5787b17ef200436aba0db0432e76634e998eb2d170363fe9698c0293131552097
|
@@ -7,13 +7,6 @@ module Fastlane
|
|
7
7
|
|
8
8
|
module Helper
|
9
9
|
class RustoreHelper
|
10
|
-
# class methods that you define here become available in your action
|
11
|
-
# as `Helper::RustoreHelper.your_method`
|
12
|
-
#
|
13
|
-
def self.show_message
|
14
|
-
UI.message("Hello from the rustore plugin helper!")
|
15
|
-
end
|
16
|
-
|
17
10
|
def self.connection
|
18
11
|
require 'faraday'
|
19
12
|
require 'faraday_middleware'
|
@@ -50,7 +43,7 @@ module Fastlane
|
|
50
43
|
req.body = { companyId: company_id, timestamp: timestamp, signature: signature }
|
51
44
|
end
|
52
45
|
|
53
|
-
UI.message("Debug: response #{response.body}")
|
46
|
+
UI.message("Debug: response #{response.body}") if ENV['DEBUG']
|
54
47
|
|
55
48
|
response.body["body"]["jwe"]
|
56
49
|
end
|
@@ -62,7 +55,7 @@ module Fastlane
|
|
62
55
|
req.body = { appName: version_name }
|
63
56
|
end
|
64
57
|
|
65
|
-
UI.message("Debug: response #{response.body}")
|
58
|
+
UI.message("Debug: response #{response.body}") if ENV['DEBUG']
|
66
59
|
|
67
60
|
response.body["body"]
|
68
61
|
end
|
@@ -73,7 +66,7 @@ module Fastlane
|
|
73
66
|
req.headers['Public-Token'] = token
|
74
67
|
end
|
75
68
|
|
76
|
-
UI.message("Debug: response #{response.body}")
|
69
|
+
UI.message("Debug: response #{response.body}") if ENV['DEBUG']
|
77
70
|
end
|
78
71
|
|
79
72
|
def self.upload_apk(token, draft_id, is_hms, file_path, package_name)
|
@@ -94,7 +87,7 @@ module Fastlane
|
|
94
87
|
req.body = payload
|
95
88
|
end
|
96
89
|
|
97
|
-
UI.message("Debug: response #{response.body}")
|
90
|
+
UI.message("Debug: response #{response.body}") if ENV['DEBUG']
|
98
91
|
end
|
99
92
|
|
100
93
|
def self.commit_version(token, draft_id, package_name)
|
@@ -103,9 +96,8 @@ module Fastlane
|
|
103
96
|
req.headers['Public-Token'] = token
|
104
97
|
end
|
105
98
|
|
106
|
-
UI.message("Debug: response #{response.body}")
|
99
|
+
UI.message("Debug: response #{response.body}") if ENV['DEBUG']
|
107
100
|
end
|
108
|
-
|
109
101
|
end
|
110
102
|
end
|
111
103
|
end
|