Skip to content

carwoo/retry_anything

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RetryAnything

Description and usage:

require 'retry_anything'

RetryAnything.perform(RuntimeError, :retries => 2, :callback => lambda { Logger.error 'Failed' }) do
  # Do something that fails intermittently
end

Bundle

gem 'retry_anything', :git => '[email protected]:carwoo/retry_anything.git'

Installing from source

gem build retry_anything.gemspec
gem install retry_anything-0.0.1.gem

Running the tests

Install the rspec gem

bundle

Run the spec

rspec spec/retry_anything_spec.rb

Or automatically run the tests when any file changes

bundle exec guard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages