Sha256: 87bd0bebee16c5754995460f4e19c44b8ab61272b3bcd8609c244b09ce181233
Contents?: true
Size: 1.67 KB
Versions: 1
Compression:
Stored size: 1.67 KB
Contents
require 'rubygems' Gem::Specification.new do |spec| spec.name = 'attempt' spec.version = '0.6.3' 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 = 'spec/attempt_spec.rb' spec.files = Dir['**/*'].reject{ |f| f.include?('git') } spec.cert_chain = Dir['certs/*'] spec.metadata = { 'homepage_uri' => 'https://github.com/djberg96/attempt', 'documentation_uri' => 'https://github.com/djberg96/attempt/wiki', 'changelog_uri' => 'https://github.com/djberg96/attempt/blob/main/CHANGES.md', 'source_code_uri' => 'https://github.com/djberg96/attempt/blob/main/lib/attempt.rb', 'bug_tracker_uri' => 'https://github.com/djberg96/attempt/issues', 'wiki_uri' => 'https://github.com/djberg96/attempt/wiki', 'rubygems_mfa_required' => 'true', 'github_repo' => 'https://github.com/djberg96/attempt' } spec.add_development_dependency('rake') spec.add_development_dependency('rubocop') spec.add_dependency('structured_warnings', '~> 0.4.0') spec.add_dependency('safe_timeout', '~> 0.0.5') spec.add_dependency('rspec', '~> 3.9') 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.6.3 | attempt.gemspec |