ZReviewTender 0.0.6 → 0.0.7

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: 2807fe3efdfb17de59b50713359ba58097f36482389f1d4089056103d16be154
4
- data.tar.gz: 8366edb466dda73e67a553084b7b96e97f42c03e4cdb8dc2509e2edacd2f1d3b
3
+ metadata.gz: 556b1175c3cb37d22d19f7ad2f8efdcd029cebb30cee4dcec2f98bff1f6b9a5b
4
+ data.tar.gz: 17c67831cb8bbafb89c51c1c551f778a18f8d5f595ec5ed6fcff3c029657fd0c
5
5
  SHA512:
6
- metadata.gz: 6eb36009c81955c741701b5c57559d67a16c1fd7df2528b2893ceae37f40c00879d81d8a6a65d4eae930d6125b2f33492f966837ed440acd15d56e42a631c378
7
- data.tar.gz: 108d45d065e7f045a5bb88c72fe8e8e79b132f5bb42cdb7e9f00191a4b660e3ff726f4027d79889e5b0d0c67975cf56c02494754449641774f5107b2fb1ed96b
6
+ metadata.gz: a42d994b153e45fae773118eb29320339d2e9c49d52d865dd60bb62fb23c0aa5c566386cbfeebd0608bc56ab6b5affcf4782de89451f29b7dcb61276208cfc37
7
+ data.tar.gz: 1d1b1186d77d05e9de46dfeceb38adb9d538a297c3e2a1c0803099b9266ed414c2e9b3854eaf44ec49c3685ad4d03f6222622a18b94e764a71e8cfa79a88dd12
@@ -68,14 +68,14 @@ class SlackProcessor < Processor
68
68
  end
69
69
 
70
70
  loop do
71
- payload = pendingPayloads.pop
71
+ payload = pendingPayloads.shift
72
72
 
73
73
  result = request(payload)
74
74
  if !result[:ok]
75
75
  Helper.logError(result)
76
76
  if result[:message] == "ratelimited"
77
77
  sleep(1)
78
- pendingPayloads.append(payload)
78
+ pendingPayloads.insert(0, payload)
79
79
  end
80
80
  end
81
81
 
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.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - ZhgChgLi