Top Level Namespace
- Includes:
- ActionView::Helpers::DateHelper
Defined Under Namespace
Modules: GitHubBusFactor
Constant Summary collapse
- KEYCHAIN_SERVICE =
'github_bus_factor'- API_CALL_RETRY_COUNT =
3
Instance Method Summary collapse
-
#helper(count, block) ⇒ Object
There must be a better way to deal with GitHub caching….
Instance Method Details
#helper(count, block) ⇒ Object
There must be a better way to deal with GitHub caching…
21 22 23 24 25 26 27 |
# File 'lib/github_bus_factor.rb', line 21 def 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 |