Sha256: 9512db74df0a43363ff9068b5c1035a47d9bbdb0952bf80472b6ec51b65542e0
Contents?: true
Size: 1.38 KB
Versions: 1
Compression:
Stored size: 1.38 KB
Contents
require 'rubygems' Gem::Specification.new do |spec| spec.name = 'attempt' spec.version = '0.5.1' spec.author = 'Daniel J. Berger' spec.license = 'Apache-2.0' spec.email = 'djberg96@gmail.com' spec.homepage = 'https://github.com/djberg96/attempt' spec.summary = 'A thin wrapper for begin + rescue + sleep + retry' spec.test_file = 'test/test_attempt.rb' spec.files = Dir['**/*'].reject{ |f| f.include?('git') } spec.cert_chain = Dir['certs/*'] spec.extra_rdoc_files = ['README','CHANGES','MANIFEST'] spec.metadata = { 'changelog_uri' => 'https://github.com/djberg96/attempt/blob/master/CHANGES', 'source_code_uri' => 'https://github.com/djberg96/attempt/blob/master/lib/attempt.rb', 'bug_tracker_uri' => 'https://github.com/djberg96/attempt/issues', 'wiki_uri' => 'https://github.com/djberg96/attempt/wiki' } spec.add_dependency('structured_warnings', '~> 0.4.0') spec.add_dependency('safe_timeout', '~> 0.0.5') spec.add_development_dependency('test-unit') spec.description = <<-EOF The attempt library provides a thin wrapper for the typical begin/rescue/sleep/retry dance. Use this in order to robustly handle blocks of code that could briefly flake out, such as an http or database connection, where it's often better to try again after a brief period rather than fail immediately. EOF end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
attempt-0.5.1 | attempt.gemspec |