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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 77672035013c0cfe29bb5c5057178a9822e25c5b02e83b87a8cbb8dadac1d687
4
- data.tar.gz: bb097fa702a19a9756d86a2ff63792bed998d9f8c5425263864695606bfca70d
3
+ metadata.gz: 5816d8436b227a42c336d22b0b102e50e292c013ab670f65afb41a02dd76c822
4
+ data.tar.gz: '081d80224f1dbff6c33b688e252f2835eeee2931f0c5cd937bffbe284bdfa175'
5
5
  SHA512:
6
- metadata.gz: 2d355345b5aadcb3d02895cd85196cc60b34caef8c919d11480a5a2cd429c5e32baa37c83f8e169ca316311735343297ba0a3b763044e12ac02c8349cc849929
7
- data.tar.gz: eeaa40df4479d0b4b39e5cfe5fd89756d6681dc3d9e9f96e65f6f1e4f9793c588298c33c0fa446c0f7ddf73a3a9e4a43c5da5f371cf25928f18c80bed52e3e58
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
- 2.7.0
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
@@ -1,10 +1,4 @@
1
1
  source "https://rubygems.org"
2
2
 
3
- git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
-
5
3
  # Specify your gem's dependencies in nxt_pipeline.gemspec
6
4
  gemspec
7
-
8
- group :test do
9
- gem 'rspec_junit_formatter' # for CircleCI
10
- end
data/Gemfile.lock CHANGED
@@ -1,95 +1,110 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_pipeline (1.0.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 (6.1.1)
12
- concurrent-ruby (~> 1.0, >= 1.0.2)
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
- tzinfo (~> 2.0)
16
- zeitwerk (~> 2.3)
17
- byebug (11.1.3)
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.1.8)
20
- diff-lcs (1.4.4)
21
- ffi (1.14.2)
22
- formatador (0.2.5)
23
- guard (2.16.2)
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
- listen (3.4.1)
40
- rb-fsevent (~> 0.10, >= 0.10.3)
41
- rb-inotify (~> 0.9, >= 0.9.10)
42
- lumberjack (1.2.8)
43
- method_source (1.0.0)
44
- minitest (5.14.3)
45
- nenv (0.3.0)
46
- notiffany (0.1.3)
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
- pry (0.13.1)
42
+ prism (1.9.0)
43
+ pry (0.16.0)
52
44
  coderay (~> 1.1)
53
45
  method_source (~> 1.0)
54
- pry-byebug (3.9.0)
55
- byebug (~> 11.0)
56
- pry (~> 0.13.0)
57
- rake (13.0.3)
58
- rb-fsevent (0.10.4)
59
- rb-inotify (0.10.1)
60
- ffi (~> 1.0)
61
- rspec (3.10.0)
62
- rspec-core (~> 3.10.0)
63
- rspec-expectations (~> 3.10.0)
64
- rspec-mocks (~> 3.10.0)
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.10.0)
70
- rspec-mocks (3.10.1)
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.10.0)
73
- rspec-support (3.10.1)
74
- rspec_junit_formatter (0.4.1)
75
- rspec-core (>= 2, < 4, != 2.12.0)
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
- zeitwerk (2.4.2)
66
+ uri (1.1.1)
81
67
 
82
68
  PLATFORMS
69
+ arm64-darwin-25
83
70
  ruby
84
71
 
85
72
  DEPENDENCIES
86
- bundler (~> 2.1)
87
- guard-rspec
73
+ bundler
88
74
  nxt_pipeline!
89
- pry-byebug
75
+ pry
90
76
  rake (~> 13.0)
91
77
  rspec (~> 3.0)
92
- rspec_junit_formatter
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
- 2.1.4
110
+ 4.0.8