arq 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a4e1c4a65e159a4c635f1a1bee0bc1b0797dbe99a01d16b9a515bc6f1a2060bd
4
- data.tar.gz: 4dca5b5179826aa0161b8ae619407533ded39112db29bec87c8c7c744ca41e99
3
+ metadata.gz: 37b1eabfaf83924a5d2c61b390cf9a74043860578c247b851a77bd9b7f8308ce
4
+ data.tar.gz: e6bafd5efe08658bf7a6065d7026e3aa7dec67e4ead6f4621cf7c94f2df3c464
5
5
  SHA512:
6
- metadata.gz: 253883d41ea384035d6e9ebadc41e9c9a94f752b16eb28d0aad0f368406a7ca413ae14bb6f5c4f973f6806ca58531c70de82e20c9208a5ae951e2c7142efcef8
7
- data.tar.gz: 741d201875b5fdeded240b28961a8b4367c224048f0e3cfcf1d90085d0269d847ccaef0e4aecde774cc4c648054a82f8b28be1b088c440b14869ce8f14e9d8c1
6
+ metadata.gz: 3b900d412628cc1da83c1f9aff8e96a058934cde992f0cbdc1524e34614fbd8c12ad5f0f5b18f25e45b991fa470ebdf0bb01d02d26073d128736aa03c0ad49cc
7
+ data.tar.gz: b7e55db8850980446f857cd0d89094e95c1983077a748810607a0f8a34e97444d633bbe669ffabffe865b6621cc5ff024ab37c5aeefb125e466989e524eee624
data/lib/arq/errors.rb CHANGED
@@ -22,7 +22,10 @@ module Arq
22
22
  end
23
23
  end
24
24
 
25
- # Raised internally in [Arq::Runnable#hard_fail!] to escape the current action.
26
- class FailureError < StandardError
25
+ # Raised internally in [Arq::Runnable#fail!] to escape the current action.
26
+ # FailureError extends from Exception to avoid being rescued as a StandardError.
27
+ # rubocop:disable Lint/InheritException
28
+ class FailureError < Exception
27
29
  end
30
+ # rubocop:enable Lint/InheritException
28
31
  end
data/lib/arq/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Arq
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/arq.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative "arq/version"
4
- require "arq/errors"
5
- require "arq/context"
6
- require "arq/runnable"
7
- require "arq/action"
4
+ require_relative "arq/errors"
5
+ require_relative "arq/context"
6
+ require_relative "arq/runnable"
7
+ require_relative "arq/action"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kavin Phan
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-05 00:00:00.000000000 Z
11
+ date: 2022-09-06 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: A service skeleton framework heavily inspired by LightService with the
14
14
  primary goal of being less verbose.
@@ -30,7 +30,8 @@ licenses:
30
30
  metadata:
31
31
  homepage_uri: https://github.com/kphan32/arq
32
32
  source_code_uri: https://github.com/kphan32/arq
33
- changelog_uri: https://github.com/kphan32/arq/blob/main/CODE_OF_CONDUCT.md
33
+ changelog_uri: https://github.com/kphan32/arq/blob/main/CHANGELOG.md
34
+ documentation_uri: https://rubydoc.info/github/kphan32/arq/main
34
35
  rubygems_mfa_required: 'true'
35
36
  post_install_message:
36
37
  rdoc_options: []