fastlane-plugin-pgyer_jvtd 0.1.5 → 0.1.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
  SHA256:
3
- metadata.gz: 992372b718d83b14a52c6d05afc402aa0474bf38b6079f1ad994382246125204
4
- data.tar.gz: 50dbf14c5efc6c1728656b41932fa0bf3fdec33cf8ca87055b1079a1f46a0ea9
3
+ metadata.gz: 3ea9f768aad9b4d17b12bfc4f3ad08a3819861effcb604295146089fbed4d6db
4
+ data.tar.gz: afd9130c220a215cb1d253ab1d4944b488296c4bd33d7d9fc6ad9409db248300
5
5
  SHA512:
6
- metadata.gz: 67c5c15f8fa582ac2f6a3531fe0599e780a8db4966f62f2fdfeefaee75dc8ddad58abed10059a06f5d624e07cab3211efbc45418d64e0da939a8b6d8f7f85f23
7
- data.tar.gz: b2e2cc3f1b547487ff33c366504ba46529892ac52837cd705672cf341e5ac86a06ac08b3985c59e42b50d37c0f3da028c96c1c07d2a8c21c19b0b6e5295da5ab
6
+ metadata.gz: ce6b46345d559987c48e4f4c3eb7470b152ab98348666aa313e76108b30459b956dab726aefd782bbd86b59d125e402cc4df34f5f579921e499b2a9fbb542fba
7
+ data.tar.gz: c0e95012a15c349a876c461259dcfc10ba7db9e0c67d4ac3b7cd1a58a6b6a2cbdc03cc022f2afd1c85269df6de10d8a28d9601ab89768203383dcd7b41596af0
@@ -111,7 +111,7 @@ module Fastlane
111
111
  req.body = {
112
112
  "msgtype"=> "link",
113
113
  "link"=> {
114
- "text"=> "#{appType} App发布"
114
+ "text"=> "#{appName}#{appType} App发布",
115
115
  "title"=> "请下载最新版本#{appVersion}(#{appBuildVersion})",
116
116
  "picUrl"=> appIcon,
117
117
  "messageUrl"=> appUrl}
@@ -126,13 +126,15 @@ module Fastlane
126
126
 
127
127
  req1 = Net::HTTP::Post.new(uri.request_uri)
128
128
  req1.body = {
129
- "msgtype"=> "link",
130
- "link"=> {
131
- "text"=> "#{appType} App发布"
132
- "title"=> "请下载最新版本#{appVersion}(#{appBuildVersion})",
133
- "picUrl"=> appIcon,
134
- "messageUrl"=> appUrl}
135
- }.to_json
129
+ "msgtype"=> "text",
130
+ "text"=> {
131
+ "content"=> "#{appName}#{appType} App最新版本已发布"
132
+ },
133
+ "at"=> {
134
+ "atMobiles"=> [],
135
+ "isAtAll"=> ia_at_all == "1"
136
+ }
137
+ }.to_json
136
138
  req1.content_type = 'application/json'
137
139
  resp1 = https.request(req1)
138
140
  json1 = JSON.parse(resp1.body)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module PgyerJvtd
3
- VERSION = "0.1.5"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-pgyer_jvtd
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - 陈磊的MacBook Pro