nxt_pipeline 0.4.1 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d27e24e15af26cd6a1e617ee4a5e71a7b3b556af42983625800e7e74e61f0ef
4
- data.tar.gz: b2b21c668222af41422878246fc179f6fc25174e23a7873e536df1df2dc64966
3
+ metadata.gz: 0ddc6f3289300268adabdfda7f6b0a2c50561e9127f6951f0a29ebfb26d48298
4
+ data.tar.gz: 13af4e35b2014025fb33d16bd9ed1cf74048d6e20404035c5001fedf7db18b02
5
5
  SHA512:
6
- metadata.gz: 03d15d8834d22ca23f4567cac7e8e0d01a77818468e40866a964c164c9fb4adbd59d0a5a79c9acfaee434c44f0f0a2590a982173b107fd9f581cf7f68e381a8b
7
- data.tar.gz: ed153b7d64fa2c45314cdbb494e5567dc7fda6d8c6f848d3596a979c330a3e4f03e6eaf0f18a77b43b160f0dcfabaf99df18c6f6ba847c797d9830b099f93535
6
+ metadata.gz: c174e7fae2b76cb47b0b2bd1388ad50796603d49283c94056e5af96fbbf46d5d51c745c2cf09015967ac5aa92057f94ec3e6b86412e93686b6b1728db4058c7a
7
+ data.tar.gz: b9e44023b319bd809e71b83eae038676f51e06aae032c40686ed9c1eee6ee9093b7fe38814c22db9139cf4e2ba5d2bfefeda258d70fb883a7a3e738e27429f46
@@ -1,3 +1,7 @@
1
+ ## nxt_pipeline 0.4.2 (October 12, 2020)
2
+
3
+ * Fix bug when registering an error without passing arguments in which case the callback didn't get executed. More info: https://github.com/nxt-insurance/nxt_pipeline/issues/39
4
+
1
5
  ## nxt_pipeline 0.4.1 (March 13, 2020)
2
6
 
3
7
  * Fix deprecation warnings for Ruby 2.7
@@ -16,7 +20,7 @@
16
20
  Renamed `NxtPipeline::Pipeline#burst?` to `NxtPipeline::Pipeline#failed?`.
17
21
  Renamed `NxtPipeline::Pipeline#burst_segment` to `NxtPipeline::Pipeline#failed_step`.
18
22
  Renamed `NxtPipeline::Pipeline::rescue_segment_burst` to `NxtPipeline::Pipeline::rescue_errors`.
19
-
23
+
20
24
  *Nils Sommer*
21
25
 
22
26
  * Setup [guard](https://github.com/guard/guard) to run specs upon file changes during development.
@@ -1,21 +1,21 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_pipeline (0.4.1)
4
+ nxt_pipeline (0.4.2)
5
5
  activesupport
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activesupport (6.0.2.1)
10
+ activesupport (6.0.3.4)
11
11
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
12
  i18n (>= 0.7, < 2)
13
13
  minitest (~> 5.1)
14
14
  tzinfo (~> 1.1)
15
- zeitwerk (~> 2.2)
15
+ zeitwerk (~> 2.2, >= 2.2.2)
16
16
  byebug (11.1.1)
17
17
  coderay (1.1.2)
18
- concurrent-ruby (1.1.6)
18
+ concurrent-ruby (1.1.7)
19
19
  diff-lcs (1.3)
20
20
  ffi (1.11.1)
21
21
  formatador (0.2.5)
@@ -33,25 +33,25 @@ GEM
33
33
  guard (~> 2.1)
34
34
  guard-compat (~> 1.1)
35
35
  rspec (>= 2.99.0, < 4.0)
36
- i18n (1.8.2)
36
+ i18n (1.8.5)
37
37
  concurrent-ruby (~> 1.0)
38
38
  listen (3.1.5)
39
39
  rb-fsevent (~> 0.9, >= 0.9.4)
40
40
  rb-inotify (~> 0.9, >= 0.9.7)
41
41
  ruby_dep (~> 1.2)
42
42
  lumberjack (1.0.13)
43
- method_source (0.9.2)
44
- minitest (5.14.0)
43
+ method_source (1.0.0)
44
+ minitest (5.14.2)
45
45
  nenv (0.3.0)
46
46
  notiffany (0.1.1)
47
47
  nenv (~> 0.1)
48
48
  shellany (~> 0.0)
49
- pry (0.12.2)
50
- coderay (~> 1.1.0)
51
- method_source (~> 0.9.0)
52
- pry-byebug (3.8.0)
49
+ pry (0.13.0)
50
+ coderay (~> 1.1)
51
+ method_source (~> 1.0)
52
+ pry-byebug (3.9.0)
53
53
  byebug (~> 11.0)
54
- pry (~> 0.10)
54
+ pry (~> 0.13.0)
55
55
  rake (13.0.1)
56
56
  rb-fsevent (0.10.3)
57
57
  rb-inotify (0.10.0)
@@ -75,9 +75,9 @@ GEM
75
75
  shellany (0.0.1)
76
76
  thor (0.20.3)
77
77
  thread_safe (0.3.6)
78
- tzinfo (1.2.6)
78
+ tzinfo (1.2.7)
79
79
  thread_safe (~> 0.1)
80
- zeitwerk (2.3.0)
80
+ zeitwerk (2.4.0)
81
81
 
82
82
  PLATFORMS
83
83
  ruby
@@ -1,7 +1,7 @@
1
1
  module NxtPipeline
2
2
  class ErrorCallback
3
3
  def initialize(errors, halt_on_error, &callback)
4
- @errors = errors
4
+ @errors = errors.any? ? errors : [StandardError]
5
5
  @halt_on_error = halt_on_error
6
6
  @callback = callback
7
7
  end
@@ -1,4 +1,4 @@
1
1
  module NxtPipeline
2
- VERSION = "0.4.1".freeze
2
+ VERSION = "0.4.2".freeze
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nxt_pipeline
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nils Sommer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-03-13 00:00:00.000000000 Z
13
+ date: 2020-10-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport