fastlane-plugin-pgyer 0.2.5 → 0.2.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -1
- data/lib/fastlane/plugin/pgyer/actions/pgyer_action.rb +4 -2
- data/lib/fastlane/plugin/pgyer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebf9f18664d1befb7dbc22de8b40289c3bea11cc5a8bc89acef502bf0fd6afd7
|
4
|
+
data.tar.gz: bd58266846408a477b275e9c69d1baa001ff570d84d25747450f4b98b007d04e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0b255efceb564cdbfcf149c37d8aafe01e04778716dd1dd3880b0f0a89a7c3e602d6b3e723a73a69d23671878b39df37f70c3d682373cb42cd55f2c21869490
|
7
|
+
data.tar.gz: f94b0d8105832c334403399af7cdde353d0d4a7b326a8c5b947d80110b768ba6d80d60ddcef94d3bdf1738943a3601c0e553a62882c6c7a927e767de1951b044
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
# pgyer plugin
|
2
2
|
|
3
3
|
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-pgyer)
|
4
|
+
## Important Notifications
|
5
|
+
|
6
|
+
- Since pgyer has migrated the API domain name, Please update the plugin to the latest version (>= 0.2.6) to avoid uploading failures.
|
4
7
|
|
5
8
|
## Getting Started
|
6
9
|
|
@@ -92,7 +95,7 @@ end
|
|
92
95
|
```
|
93
96
|
|
94
97
|
|
95
|
-
|
98
|
+
|
96
99
|
|
97
100
|
And more params
|
98
101
|
|
@@ -73,7 +73,7 @@ module Fastlane
|
|
73
73
|
},
|
74
74
|
}
|
75
75
|
|
76
|
-
api_host = "https://www.
|
76
|
+
api_host = "https://www.xcxwo.com/apiv2/app"
|
77
77
|
|
78
78
|
pgyer_client = Faraday.new(nil, conn_options) do |c|
|
79
79
|
c.request :multipart
|
@@ -232,6 +232,8 @@ module Fastlane
|
|
232
232
|
private
|
233
233
|
|
234
234
|
def self.checkPublishStatus(client, api_host, api_key, buildKey)
|
235
|
+
url ="#{api_host}/buildInfo"
|
236
|
+
UI.message "checkPublishStatus url: #{url}"
|
235
237
|
response = client.post "#{api_host}/buildInfo", { :_api_key => api_key, :buildKey => buildKey }
|
236
238
|
info = response.body
|
237
239
|
code = info["code"]
|
@@ -241,7 +243,7 @@ module Fastlane
|
|
241
243
|
if shortUrl.nil? || shortUrl == ""
|
242
244
|
shortUrl = info["data"]["buildKey"]
|
243
245
|
end
|
244
|
-
info["data"]["fastlaneAddedWholeVisitUrl"] = "https://www.
|
246
|
+
info["data"]["fastlaneAddedWholeVisitUrl"] = "https://www.xcxwo.com/#{shortUrl}"
|
245
247
|
UI.success "Upload success. Visit this URL to see: #{info["data"]["fastlaneAddedWholeVisitUrl"]}"
|
246
248
|
return info["data"]
|
247
249
|
elsif code == 1246 || code == 1247
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-pgyer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- rexshi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-09-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|