ZReviewTender 0.0.2 → 0.0.3

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: b482b3d376862e252fc85de5ffa45c7e199f084f5f9e25f4eb24303cfbd78a4a
4
- data.tar.gz: 7c59fc9ac37042e81bd250a24110a6bfe4f6e7305faa9202452448e6c9244908
3
+ metadata.gz: dc1e614d966b0f41f5b5032eb6f223479688d87b93ae38ad31ac88a3e913cb2d
4
+ data.tar.gz: f29b845cffc50b86d69d38353385dda2e1aecde20ad947ea19f469bcff951772
5
5
  SHA512:
6
- metadata.gz: afcaad838113ff6e76cd857ffec2ae7d717bdc6e23d395049262842ee007c689ec2397abcdac132043f9e09a3f08b38168f01c8f688892e6fdd251e217c473a5
7
- data.tar.gz: 400c950bf1d5f39d552d756d91d152772df9e7ece13ddb71fc432f21903a051e4a6b6e5a5c5c8fb41df2920205a5bebafcfcce1efbbaf03f2292a981fe9e57e3
6
+ metadata.gz: fed9e078491c756e1461ae4c5592f3ff0b07b3037b12dea35488e5ea63f241321ae81b404acd49156cf8240edffa177ebc5bc89ce681cf75b6e3d14a4d27cd9a
7
+ data.tar.gz: 8819c1f9a5dab412bf6e676eeea9c493b4d2f4e8442d9b7fe99777973955d6c178f7cfc33c7991d56b9574566d926bcac95169f80faa08d4c9c51a7d0bfddd6d
@@ -29,7 +29,7 @@ class SlackProcessor < Processor
29
29
  end
30
30
 
31
31
  def processReviews(reviews, platform)
32
- reviews.each_slice(50) do |reviewGroup|
32
+ reviews.each_slice(10) do |reviewGroup|
33
33
  payload = Payload.new()
34
34
  payload.attachments = []
35
35
 
@@ -74,11 +74,11 @@ class SlackProcessor < Processor
74
74
  body = "#{platform} Init Success!, will resend App Review to this channel automatically."
75
75
 
76
76
  attachment.color = "good"
77
- attachment.author_name = "<https://zhgchg.li|ZhgChgLi>"
77
+ attachment.author_name = "ZhgChgLi"
78
78
  attachment.fallback = title
79
79
  attachment.title = title
80
80
  attachment.text = body
81
- attachment.footer = "Powered by <|ZReviewTender>"
81
+ attachment.footer = "<https://github.com/ZhgChgLi/ZReviewTender|ZReviewTender>, <https://github.com/ZhgChgLi/ZReviewTender/issues|Report an issue>, Powered by <https://zhgchg.li|ZhgChgLi>."
82
82
 
83
83
  payload.attachments.append(attachment)
84
84
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ZReviewTender
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ZhgChgLi