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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e0d2b5d771b739f2ef086a57c555e059dfa17617e8e90cda22a088af4a5905f0
4
- data.tar.gz: 6cce53577ddd11554435a421efa8dac868b381c38ee951a0a8c8ac3076570317
3
+ metadata.gz: ebf9f18664d1befb7dbc22de8b40289c3bea11cc5a8bc89acef502bf0fd6afd7
4
+ data.tar.gz: bd58266846408a477b275e9c69d1baa001ff570d84d25747450f4b98b007d04e
5
5
  SHA512:
6
- metadata.gz: 3333dd01a307b727ede42e013985b4c71974dc154771c3450ba926af31221820943a94f7cfada48b25dbfa27ba3a908feb43df7620d4f309dc8b33037391343b
7
- data.tar.gz: b7fa1bb797bcf671edb5204e40614b8a3411d43f3082744f05f7e666d8d71bd6640bec43352a7e6a3c24a210c56e6382931110c226e26d675475391e3c01a138
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.pgyer.com/apiv2/app"
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.pgyer.com/#{shortUrl}"
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
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Pgyer
3
- VERSION = "0.2.5"
3
+ VERSION = "0.2.7"
4
4
  end
5
5
  end
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.5
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-04-04 00:00:00.000000000 Z
11
+ date: 2023-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler