fastlane-plugin-gs_versioning 0.3.5 → 0.3.6
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a890efca4cd4bce5da832b05c00ae608059fb26
|
4
|
+
data.tar.gz: e0a6f6768fb31e575511820b74f0a9a578c79020
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c5b97d5a43a8e85d676382aad9b4be077cbe54ba539dfbfb2b1abbd86a68b0116b8220d4ce17fd34c041a7720ddd8f053730d0216e8dcddf2470eb623c75b12
|
7
|
+
data.tar.gz: ee375f2a149d81e02890b61a18540544edd47098179df668130fe0574f75915b3e40531bfec58c0d4ff83b42249d98c9434671749acfb88e63dae9df24f594a2
|
@@ -97,7 +97,7 @@ class GSVersionApiProvider
|
|
97
97
|
|
98
98
|
def self.getVersions()
|
99
99
|
url = 'versions'
|
100
|
-
response = client.request(:get) do |req|
|
100
|
+
response = @@client.request(:get) do |req|
|
101
101
|
req.url url
|
102
102
|
req.headers['Content-Type'] = 'application/json'
|
103
103
|
end
|
@@ -105,7 +105,7 @@ class GSVersionApiProvider
|
|
105
105
|
if response.success?
|
106
106
|
GSVersionValue.parseBackendResponse(response.body)
|
107
107
|
else
|
108
|
-
raise(client.class.hostname + url + ' ' + response.status.to_s + ' ' + response.body['message'])
|
108
|
+
raise(@@client.class.hostname + url + ' ' + response.status.to_s + ' ' + response.body['message'])
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
@@ -118,7 +118,7 @@ class GSVersionApiProvider
|
|
118
118
|
'rcVersionName' => newValue['rc'],
|
119
119
|
'releaseVersionName' => newValue['release']
|
120
120
|
}
|
121
|
-
response = client.request(:patch) do |req|
|
121
|
+
response = @@client.request(:patch) do |req|
|
122
122
|
req.url url
|
123
123
|
req.body = json_params
|
124
124
|
req.headers['Content-Type'] = 'application/json'
|
@@ -127,7 +127,7 @@ class GSVersionApiProvider
|
|
127
127
|
if response.success?
|
128
128
|
return response
|
129
129
|
else
|
130
|
-
raise(client.class.hostname + url + ' ' + response.status.to_s + ' ' + response.body['message'])
|
130
|
+
raise(@@client.class.hostname + url + ' ' + response.status.to_s + ' ' + response.body['message'])
|
131
131
|
end
|
132
132
|
end
|
133
133
|
end
|