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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 517718feb8aeb0fecbbbfbf2d7ca7ad176d5cc4cf0f2bbecda63a1b26fff7ec8
4
- data.tar.gz: 800dc8bd5930caa2464d34a342f8aff400199996cf062e797e9ecfa28560d5a5
3
+ metadata.gz: 5f41e351d229c2a4a6ffed86c306323e77fa1952619f7804ecf33518c766039d
4
+ data.tar.gz: e14ed8bf0ea6733866c318c47c3125e3cf77a0c74d63db34cde8dd7ca7ea4112
5
5
  SHA512:
6
- metadata.gz: 366b21f6b0e542417e4d5f7163b5c47a0d8681576fbcbe1fa0cd1617121bd67d1039dbbe768d26a87fce57bf0ed8fa93f12d97a684736189438bee006b163cd3
7
- data.tar.gz: df4f289f63d634090c3a68cc0da8755c05ea9df37cedc554fc82f5fdbfd3f19eada81545c9143a1a2a23fef1013f4b10c1f314d9161bc48b4696d8bbba161dfd
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
 
@@ -1,3 +1,3 @@
1
1
  module OrganizationAudit
2
- VERSION = "2.0.0"
2
+ VERSION = "2.1.0"
3
3
  end
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.0.0
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: 2019-01-15 00:00:00.000000000 Z
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
- rubyforge_project:
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