organization_audit 2.0.0 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/organization_audit/repo.rb +1 -1
- data/lib/organization_audit/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f41e351d229c2a4a6ffed86c306323e77fa1952619f7804ecf33518c766039d
|
4
|
+
data.tar.gz: e14ed8bf0ea6733866c318c47c3125e3cf77a0c74d63db34cde8dd7ca7ea4112
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 230a3eb9b32d6774682fb3c0223795e5b06ffa33ef2c386856eca9427e8168ea88abce7ad5660a300c52a589532c0f7f7a00492c3a744ce50bde5db9aed02225
|
7
|
+
data.tar.gz: 31f1b4b112f39711f3555d00da18a7a8867c9a8f0a7ce20fda88d62ba8ffaf3adfd6ad9930751499c32fb65dd0d9fa7b75583d5cdaa456521422bbf8cac6f5b5
|
@@ -143,7 +143,7 @@ module OrganizationAudit
|
|
143
143
|
if !retried && response["x-ratelimit-remaining"] == "0"
|
144
144
|
wait = Integer(response["x-ratelimit-reset"]) - Time.now.to_i
|
145
145
|
warn "Github rate limit exhausted, retrying in #{wait}"
|
146
|
-
sleep wait
|
146
|
+
sleep wait + 60 # wait more in case our time drifts
|
147
147
|
return http_get(url, headers, retried: true)
|
148
148
|
end
|
149
149
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: organization_audit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Grosser
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -53,8 +53,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
requirements: []
|
56
|
-
|
57
|
-
rubygems_version: 2.7.6
|
56
|
+
rubygems_version: 3.0.3
|
58
57
|
signing_key:
|
59
58
|
specification_version: 4
|
60
59
|
summary: Audit all repos of your organization or user
|