arq 0.1.3 → 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: 7858e9fe526f1d360108842818d77bae2e61ca0dcf4730a3f0171291eb4032b2
4
- data.tar.gz: b2908b043c24fc5105458e59e14953e010aea6af6501788880694e78381c4ff1
3
+ metadata.gz: 37b1eabfaf83924a5d2c61b390cf9a74043860578c247b851a77bd9b7f8308ce
4
+ data.tar.gz: e6bafd5efe08658bf7a6065d7026e3aa7dec67e4ead6f4621cf7c94f2df3c464
5
5
  SHA512:
6
- metadata.gz: 280c9ccd3fc5443e7967bc420c841ea37e6548a5bf9e54d30653e9805b4586335b0637ebb3c405a0e72fb973f67e54c99b39b47cda29268bc5be62e3f5a4301d
7
- data.tar.gz: 05b1c94c71e916a2f512b1f9ec1f386ace0afcf6f17d43fb72f50c8906b6a1cacb3ef6b571ce991b6c5c117f722342eaede67b399c0072dab9fb7882d89b23bc
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.3"
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.3
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.