nxt_pipeline 0.4.2 → 2.0.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: 0ddc6f3289300268adabdfda7f6b0a2c50561e9127f6951f0a29ebfb26d48298
4
- data.tar.gz: 13af4e35b2014025fb33d16bd9ed1cf74048d6e20404035c5001fedf7db18b02
3
+ metadata.gz: 5682c4e905d939b057c79b775c8401f1da648a0e5793c1c438dfef3cdb741147
4
+ data.tar.gz: 8908bf0ab622f472ccdb1a91cce704b0e88181352f4dfa0bb1942a684b60729b
5
5
  SHA512:
6
- metadata.gz: c174e7fae2b76cb47b0b2bd1388ad50796603d49283c94056e5af96fbbf46d5d51c745c2cf09015967ac5aa92057f94ec3e6b86412e93686b6b1728db4058c7a
7
- data.tar.gz: b9e44023b319bd809e71b83eae038676f51e06aae032c40686ed9c1eee6ee9093b7fe38814c22db9139cf4e2ba5d2bfefeda258d70fb883a7a3e738e27429f46
6
+ metadata.gz: e33df278d8ba33998cc798f6b1a97461360e81af3a0bad83549d74bf00190e8ef7d4aa2459f513bc1e4b3e750785058ae708c90136bfc17bebf0faf79fa7aed0
7
+ data.tar.gz: '09d1caf2cd41693f56fddbcf6e70e4ba4b2212b7ce9fd3669e736a6afa39245a177d79171a5819bd3842192a5a3927931a4cb99dd86a3b98e24a834e18460218'
data/CHANGELOG.md CHANGED
@@ -1,3 +1,26 @@
1
+ ## nxt_pipeline 2.0.0 (10.05.2022)
2
+
3
+ - Rename `Pipeline.execute` to `Pipeline.call`
4
+ - Pipeline#call accepts any argument instead of just key word arguments or hashes
5
+ - Introduce constructor resolvers
6
+ - Expose :new and :call directly on NxtPipeline instead of only through NxtPipeline::Pipeline class
7
+ - Change step DSL: Introduce constructor option to specify the constructor to use for a step
8
+ - Introduce Configurations
9
+ - Expose step.status and step.meta_data accessors to set status and meta_data of steps in constructors
10
+ - Change arguments of error callbacks to be error, acc, step instead of acc, step, error and only pass by arity of callback
11
+
12
+ ## nxt_pipeline 1.0.0 (24.11.2020)
13
+
14
+ Replace after and before execute hooks with proper callbacks.
15
+ Introduce before, after and around step callbacks
16
+
17
+ ## nxt_pipeline 0.4.3 (October 20, 2020)
18
+
19
+ Add new attribute readers on step object.
20
+
21
+ After executing a step execution_finished_at execution_started_at and execution_duration
22
+ will be set and can be accessed via attribute readers.
23
+
1
24
  ## nxt_pipeline 0.4.2 (October 12, 2020)
2
25
 
3
26
  * 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
@@ -35,4 +58,4 @@
35
58
 
36
59
  * Initial Release.
37
60
 
38
- *Nils Sommer*
61
+ *Nils Sommer*
data/Gemfile.lock CHANGED
@@ -1,31 +1,31 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_pipeline (0.4.2)
4
+ nxt_pipeline (2.0.0)
5
5
  activesupport
6
+ nxt_registry
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
10
- activesupport (6.0.3.4)
11
+ activesupport (7.0.3)
11
12
  concurrent-ruby (~> 1.0, >= 1.0.2)
12
- i18n (>= 0.7, < 2)
13
- minitest (~> 5.1)
14
- tzinfo (~> 1.1)
15
- zeitwerk (~> 2.2, >= 2.2.2)
16
- byebug (11.1.1)
17
- coderay (1.1.2)
18
- concurrent-ruby (1.1.7)
19
- diff-lcs (1.3)
20
- ffi (1.11.1)
21
- formatador (0.2.5)
22
- guard (2.15.0)
13
+ i18n (>= 1.6, < 2)
14
+ minitest (>= 5.1)
15
+ tzinfo (~> 2.0)
16
+ byebug (11.1.3)
17
+ coderay (1.1.3)
18
+ concurrent-ruby (1.1.10)
19
+ diff-lcs (1.5.0)
20
+ ffi (1.15.5)
21
+ formatador (1.1.0)
22
+ guard (2.18.0)
23
23
  formatador (>= 0.2.4)
24
24
  listen (>= 2.7, < 4.0)
25
25
  lumberjack (>= 1.0.12, < 2.0)
26
26
  nenv (~> 0.1)
27
27
  notiffany (~> 0.0)
28
- pry (>= 0.9.12)
28
+ pry (>= 0.13.0)
29
29
  shellany (~> 0.0)
30
30
  thor (>= 0.18.1)
31
31
  guard-compat (1.2.1)
@@ -33,51 +33,49 @@ GEM
33
33
  guard (~> 2.1)
34
34
  guard-compat (~> 1.1)
35
35
  rspec (>= 2.99.0, < 4.0)
36
- i18n (1.8.5)
36
+ i18n (1.10.0)
37
37
  concurrent-ruby (~> 1.0)
38
- listen (3.1.5)
39
- rb-fsevent (~> 0.9, >= 0.9.4)
40
- rb-inotify (~> 0.9, >= 0.9.7)
41
- ruby_dep (~> 1.2)
42
- lumberjack (1.0.13)
38
+ listen (3.7.1)
39
+ rb-fsevent (~> 0.10, >= 0.10.3)
40
+ rb-inotify (~> 0.9, >= 0.9.10)
41
+ lumberjack (1.2.8)
43
42
  method_source (1.0.0)
44
- minitest (5.14.2)
43
+ minitest (5.15.0)
45
44
  nenv (0.3.0)
46
- notiffany (0.1.1)
45
+ notiffany (0.1.3)
47
46
  nenv (~> 0.1)
48
47
  shellany (~> 0.0)
49
- pry (0.13.0)
48
+ nxt_registry (0.3.10)
49
+ activesupport
50
+ pry (0.13.1)
50
51
  coderay (~> 1.1)
51
52
  method_source (~> 1.0)
52
53
  pry-byebug (3.9.0)
53
54
  byebug (~> 11.0)
54
55
  pry (~> 0.13.0)
55
- rake (13.0.1)
56
- rb-fsevent (0.10.3)
57
- rb-inotify (0.10.0)
56
+ rake (13.0.6)
57
+ rb-fsevent (0.11.1)
58
+ rb-inotify (0.10.1)
58
59
  ffi (~> 1.0)
59
- rspec (3.9.0)
60
- rspec-core (~> 3.9.0)
61
- rspec-expectations (~> 3.9.0)
62
- rspec-mocks (~> 3.9.0)
63
- rspec-core (3.9.0)
64
- rspec-support (~> 3.9.0)
65
- rspec-expectations (3.9.0)
60
+ rspec (3.11.0)
61
+ rspec-core (~> 3.11.0)
62
+ rspec-expectations (~> 3.11.0)
63
+ rspec-mocks (~> 3.11.0)
64
+ rspec-core (3.11.0)
65
+ rspec-support (~> 3.11.0)
66
+ rspec-expectations (3.11.0)
66
67
  diff-lcs (>= 1.2.0, < 2.0)
67
- rspec-support (~> 3.9.0)
68
- rspec-mocks (3.9.0)
68
+ rspec-support (~> 3.11.0)
69
+ rspec-mocks (3.11.1)
69
70
  diff-lcs (>= 1.2.0, < 2.0)
70
- rspec-support (~> 3.9.0)
71
- rspec-support (3.9.0)
72
- rspec_junit_formatter (0.4.1)
71
+ rspec-support (~> 3.11.0)
72
+ rspec-support (3.11.0)
73
+ rspec_junit_formatter (0.5.1)
73
74
  rspec-core (>= 2, < 4, != 2.12.0)
74
- ruby_dep (1.5.0)
75
75
  shellany (0.0.1)
76
- thor (0.20.3)
77
- thread_safe (0.3.6)
78
- tzinfo (1.2.7)
79
- thread_safe (~> 0.1)
80
- zeitwerk (2.4.0)
76
+ thor (1.2.1)
77
+ tzinfo (2.0.4)
78
+ concurrent-ruby (~> 1.0)
81
79
 
82
80
  PLATFORMS
83
81
  ruby