nxt_pipeline 1.0.0 → 2.1.0
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 +4 -4
- data/.github/workflows/ci.yml +24 -0
- data/.ruby-version +1 -1
- data/.tool-versions +1 -0
- data/CHANGELOG.md +22 -0
- data/Gemfile +0 -6
- data/Gemfile.lock +81 -66
- data/README.md +312 -93
- data/lib/nxt_pipeline/callbacks.rb +8 -5
- data/lib/nxt_pipeline/error_callback.rb +5 -2
- data/lib/nxt_pipeline/pipeline.rb +139 -76
- data/lib/nxt_pipeline/step.rb +59 -35
- data/lib/nxt_pipeline/version.rb +1 -2
- data/lib/nxt_pipeline.rb +38 -1
- data/nxt_pipeline.gemspec +4 -3
- metadata +7 -26
- data/.circleci/config.yml +0 -56
- data/.travis.yml +0 -7
- data/lib/nxt_pipeline/constructor.rb +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5816d8436b227a42c336d22b0b102e50e292c013ab670f65afb41a02dd76c822
|
|
4
|
+
data.tar.gz: '081d80224f1dbff6c33b688e252f2835eeee2931f0c5cd937bffbe284bdfa175'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 30d6d355074b18483ef81457246a2f4121d3976aa227fb95e7e42f6ecf6733d00044686feb751859cf8e573785256f1526b185e8f7be611fccb6ddb104d1ff5a
|
|
7
|
+
data.tar.gz: 130b81f44d9e48174926e5906261a061ac50055e54f55bd3bf11b275a6d33d240de7a1a368ac5af63f37619cffabecf5e376d78cc0bd917b5197cb13317403aa
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
permissions:
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
tests:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
strategy:
|
|
15
|
+
fail-fast: false
|
|
16
|
+
matrix:
|
|
17
|
+
ruby-version: ["3.3", "3.4", "4.0"]
|
|
18
|
+
steps:
|
|
19
|
+
- uses: actions/checkout@v6
|
|
20
|
+
- uses: ruby/setup-ruby@v1
|
|
21
|
+
with:
|
|
22
|
+
ruby-version: ${{ matrix.ruby-version }}
|
|
23
|
+
bundler-cache: true
|
|
24
|
+
- run: bundle exec rspec
|
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
4.0.1
|
data/.tool-versions
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ruby 4.0.1
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
+
## nxt_pipeline 2.1.0 (16.03.2026)
|
|
2
|
+
|
|
3
|
+
- Migrate CI from CircleCI/Travis to GitHub Actions (matrix: Ruby 3.3, 3.4, 4.0)
|
|
4
|
+
- Add `required_ruby_version >= 3.3` to gemspec
|
|
5
|
+
- Update bundler 2.1.4 → 4.0.8, replace pry-byebug with pry, drop guard-rspec
|
|
6
|
+
- Remove rspec_junit_formatter (CircleCI-only dependency)
|
|
7
|
+
- Replace `OpenStruct` with `Data.define` in error details (removed from Ruby 4.0 stdlib)
|
|
8
|
+
- Fix Ruby 4.0 strict kwargs separation in `Step#execute_callable`
|
|
9
|
+
- Make `Pipeline#step` argument optional (fixes kwargs-only calls under Ruby 4.0)
|
|
10
|
+
- Rename default branch master → main
|
|
11
|
+
|
|
12
|
+
## nxt_pipeline 2.0.0 (10.05.2022)
|
|
13
|
+
|
|
14
|
+
- Rename `Pipeline.execute` to `Pipeline.call`
|
|
15
|
+
- Pipeline#call accepts any argument instead of just key word arguments or hashes
|
|
16
|
+
- Introduce constructor resolvers
|
|
17
|
+
- Expose :new and :call directly on NxtPipeline instead of only through NxtPipeline::Pipeline class
|
|
18
|
+
- Change step DSL: Introduce constructor option to specify the constructor to use for a step
|
|
19
|
+
- Introduce Configurations
|
|
20
|
+
- Expose step.status and step.meta_data accessors to set status and meta_data of steps in constructors
|
|
21
|
+
- Change arguments of error callbacks to be error, acc, step instead of acc, step, error and only pass by arity of callback
|
|
22
|
+
|
|
1
23
|
## nxt_pipeline 1.0.0 (24.11.2020)
|
|
2
24
|
|
|
3
25
|
Replace after and before execute hooks with proper callbacks.
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,95 +1,110 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
nxt_pipeline (1.0
|
|
4
|
+
nxt_pipeline (2.1.0)
|
|
5
5
|
activesupport
|
|
6
6
|
nxt_registry
|
|
7
7
|
|
|
8
8
|
GEM
|
|
9
9
|
remote: https://rubygems.org/
|
|
10
10
|
specs:
|
|
11
|
-
activesupport (
|
|
12
|
-
|
|
11
|
+
activesupport (8.1.2)
|
|
12
|
+
base64
|
|
13
|
+
bigdecimal
|
|
14
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
15
|
+
connection_pool (>= 2.2.5)
|
|
16
|
+
drb
|
|
13
17
|
i18n (>= 1.6, < 2)
|
|
18
|
+
json
|
|
19
|
+
logger (>= 1.4.2)
|
|
14
20
|
minitest (>= 5.1)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
21
|
+
securerandom (>= 0.3)
|
|
22
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
|
23
|
+
uri (>= 0.13.1)
|
|
24
|
+
base64 (0.3.0)
|
|
25
|
+
bigdecimal (4.0.1)
|
|
18
26
|
coderay (1.1.3)
|
|
19
|
-
concurrent-ruby (1.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
formatador (>= 0.2.4)
|
|
25
|
-
listen (>= 2.7, < 4.0)
|
|
26
|
-
lumberjack (>= 1.0.12, < 2.0)
|
|
27
|
-
nenv (~> 0.1)
|
|
28
|
-
notiffany (~> 0.0)
|
|
29
|
-
pry (>= 0.9.12)
|
|
30
|
-
shellany (~> 0.0)
|
|
31
|
-
thor (>= 0.18.1)
|
|
32
|
-
guard-compat (1.2.1)
|
|
33
|
-
guard-rspec (4.7.3)
|
|
34
|
-
guard (~> 2.1)
|
|
35
|
-
guard-compat (~> 1.1)
|
|
36
|
-
rspec (>= 2.99.0, < 4.0)
|
|
37
|
-
i18n (1.8.7)
|
|
27
|
+
concurrent-ruby (1.3.6)
|
|
28
|
+
connection_pool (3.0.2)
|
|
29
|
+
diff-lcs (1.6.2)
|
|
30
|
+
drb (2.2.3)
|
|
31
|
+
i18n (1.14.8)
|
|
38
32
|
concurrent-ruby (~> 1.0)
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
nenv (~> 0.1)
|
|
48
|
-
shellany (~> 0.0)
|
|
49
|
-
nxt_registry (0.3.6)
|
|
33
|
+
io-console (0.8.2)
|
|
34
|
+
json (2.19.1)
|
|
35
|
+
logger (1.7.0)
|
|
36
|
+
method_source (1.1.0)
|
|
37
|
+
minitest (6.0.2)
|
|
38
|
+
drb (~> 2.0)
|
|
39
|
+
prism (~> 1.5)
|
|
40
|
+
nxt_registry (0.3.10)
|
|
50
41
|
activesupport
|
|
51
|
-
|
|
42
|
+
prism (1.9.0)
|
|
43
|
+
pry (0.16.0)
|
|
52
44
|
coderay (~> 1.1)
|
|
53
45
|
method_source (~> 1.0)
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
rspec-
|
|
64
|
-
|
|
65
|
-
rspec-core (3.10.1)
|
|
66
|
-
rspec-support (~> 3.10.0)
|
|
67
|
-
rspec-expectations (3.10.1)
|
|
46
|
+
reline (>= 0.6.0)
|
|
47
|
+
rake (13.3.1)
|
|
48
|
+
reline (0.6.3)
|
|
49
|
+
io-console (~> 0.5)
|
|
50
|
+
rspec (3.13.2)
|
|
51
|
+
rspec-core (~> 3.13.0)
|
|
52
|
+
rspec-expectations (~> 3.13.0)
|
|
53
|
+
rspec-mocks (~> 3.13.0)
|
|
54
|
+
rspec-core (3.13.6)
|
|
55
|
+
rspec-support (~> 3.13.0)
|
|
56
|
+
rspec-expectations (3.13.5)
|
|
68
57
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
69
|
-
rspec-support (~> 3.
|
|
70
|
-
rspec-mocks (3.
|
|
58
|
+
rspec-support (~> 3.13.0)
|
|
59
|
+
rspec-mocks (3.13.8)
|
|
71
60
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
72
|
-
rspec-support (~> 3.
|
|
73
|
-
rspec-support (3.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
shellany (0.0.1)
|
|
77
|
-
thor (1.1.0)
|
|
78
|
-
tzinfo (2.0.4)
|
|
61
|
+
rspec-support (~> 3.13.0)
|
|
62
|
+
rspec-support (3.13.7)
|
|
63
|
+
securerandom (0.4.1)
|
|
64
|
+
tzinfo (2.0.6)
|
|
79
65
|
concurrent-ruby (~> 1.0)
|
|
80
|
-
|
|
66
|
+
uri (1.1.1)
|
|
81
67
|
|
|
82
68
|
PLATFORMS
|
|
69
|
+
arm64-darwin-25
|
|
83
70
|
ruby
|
|
84
71
|
|
|
85
72
|
DEPENDENCIES
|
|
86
|
-
bundler
|
|
87
|
-
guard-rspec
|
|
73
|
+
bundler
|
|
88
74
|
nxt_pipeline!
|
|
89
|
-
pry
|
|
75
|
+
pry
|
|
90
76
|
rake (~> 13.0)
|
|
91
77
|
rspec (~> 3.0)
|
|
92
|
-
|
|
78
|
+
|
|
79
|
+
CHECKSUMS
|
|
80
|
+
activesupport (8.1.2) sha256=88842578ccd0d40f658289b0e8c842acfe9af751afee2e0744a7873f50b6fdae
|
|
81
|
+
base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
|
|
82
|
+
bigdecimal (4.0.1) sha256=8b07d3d065a9f921c80ceaea7c9d4ae596697295b584c296fe599dd0ad01c4a7
|
|
83
|
+
coderay (1.1.3) sha256=dc530018a4684512f8f38143cd2a096c9f02a1fc2459edcfe534787a7fc77d4b
|
|
84
|
+
concurrent-ruby (1.3.6) sha256=6b56837e1e7e5292f9864f34b69c5a2cbc75c0cf5338f1ce9903d10fa762d5ab
|
|
85
|
+
connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
|
|
86
|
+
diff-lcs (1.6.2) sha256=9ae0d2cba7d4df3075fe8cd8602a8604993efc0dfa934cff568969efb1909962
|
|
87
|
+
drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
|
|
88
|
+
i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
|
|
89
|
+
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
|
|
90
|
+
json (2.19.1) sha256=dd94fdc59e48bff85913829a32350b3148156bc4fd2a95a2568a78b11344082d
|
|
91
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
|
92
|
+
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
|
93
|
+
minitest (6.0.2) sha256=db6e57956f6ecc6134683b4c87467d6dd792323c7f0eea7b93f66bd284adbc3d
|
|
94
|
+
nxt_pipeline (2.1.0)
|
|
95
|
+
nxt_registry (0.3.10) sha256=118eecd1690c3147db227fb0ba98fed2f73cfc70364d1e6691a895369aadd287
|
|
96
|
+
prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
|
|
97
|
+
pry (0.16.0) sha256=d76c69065698ed1f85e717bd33d7942c38a50868f6b0673c636192b3d1b6054e
|
|
98
|
+
rake (13.3.1) sha256=8c9e89d09f66a26a01264e7e3480ec0607f0c497a861ef16063604b1b08eb19c
|
|
99
|
+
reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
|
|
100
|
+
rspec (3.13.2) sha256=206284a08ad798e61f86d7ca3e376718d52c0bc944626b2349266f239f820587
|
|
101
|
+
rspec-core (3.13.6) sha256=a8823c6411667b60a8bca135364351dda34cd55e44ff94c4be4633b37d828b2d
|
|
102
|
+
rspec-expectations (3.13.5) sha256=33a4d3a1d95060aea4c94e9f237030a8f9eae5615e9bd85718fe3a09e4b58836
|
|
103
|
+
rspec-mocks (3.13.8) sha256=086ad3d3d17533f4237643de0b5c42f04b66348c28bf6b9c2d3f4a3b01af1d47
|
|
104
|
+
rspec-support (3.13.7) sha256=0640e5570872aafefd79867901deeeeb40b0c9875a36b983d85f54fb7381c47c
|
|
105
|
+
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
|
106
|
+
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
|
107
|
+
uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
|
|
93
108
|
|
|
94
109
|
BUNDLED WITH
|
|
95
|
-
|
|
110
|
+
4.0.8
|