Module: GitHubBusFactor
- Defined in:
- lib/github_bus_factor.rb,
lib/github_bus_factor/version.rb
Constant Summary collapse
- KEYCHAIN_SERVICE =
'github_bus_factor'- API_CALL_RETRY_COUNT =
3- VERSION =
"0.1.4"
Class Method Summary collapse
-
.helper(count, block) ⇒ Object
There must be a better way to deal with GitHub caching….
Class Method Details
.helper(count, block) ⇒ Object
There must be a better way to deal with GitHub caching…
24 25 26 27 28 29 30 |
# File 'lib/github_bus_factor.rb', line 24 def GitHubBusFactor.helper(count, block) return unless count > 0 return if !block.call(count).nil? puts "Waiting for GitHub cache. Will retry in 3 seconds…" sleep(3) helper(count - 1, block) end |