opera 0.5.0 → 0.5.1
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/CHANGELOG.md +8 -0
- data/Gemfile.lock +1 -1
- data/README.md +106 -1060
- data/benchmarks/operation_benchmark.rb +330 -0
- data/docs/examples/basic-operation.md +79 -0
- data/docs/examples/context-params-dependencies.md +122 -0
- data/docs/examples/finish-if.md +67 -0
- data/docs/examples/inner-operations.md +94 -0
- data/docs/examples/success-blocks.md +68 -0
- data/docs/examples/transactions.md +227 -0
- data/docs/examples/validations.md +139 -0
- data/docs/examples/within.md +166 -0
- data/lib/opera/operation/config.rb +2 -6
- data/lib/opera/operation/executor.rb +13 -4
- data/lib/opera/operation/instructions/executors/finish_if.rb +1 -2
- data/lib/opera/operation/instructions/executors/operation.rb +1 -2
- data/lib/opera/operation/instructions/executors/operations.rb +1 -2
- data/lib/opera/operation/instructions/executors/step.rb +1 -6
- data/lib/opera/operation/instructions/executors/success.rb +5 -2
- data/lib/opera/operation/instructions/executors/validate.rb +1 -2
- data/lib/opera/operation/instructions/executors/within.rb +1 -1
- data/lib/opera/version.rb +1 -1
- metadata +11 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d93222fbcb9fdd360cdadc340319157bc57dfe2229cb33a03ed46b1995f31a65
|
|
4
|
+
data.tar.gz: 7e909537e4b3af6d636d0eb174180f47212e8e49a7bf76a66c47109c60c363e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 76e6997c8fd873844a0a91c93e03c55e7297312abfd5e8ad45471c310c2d943e222664f7bbd0439a25cf7bb287aeac92dca0dd24ea9b84d653dd6d16d6b259cd
|
|
7
|
+
data.tar.gz: 0f2c582ef8d69e8e90010aa7c9b8db2c7e7483514dd3dc7da4da1ca521f5ae71e5f799c99744b75e8c0b4d32a220273b32e2f5e946a1a3060aa48280648674ee
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Opera Changelog
|
|
2
2
|
|
|
3
|
+
### 0.5.1 - Apr 15, 2026
|
|
4
|
+
|
|
5
|
+
- Remove `Marshal.dump` from instruction execution for ~40-55% throughput improvement
|
|
6
|
+
- Fix `Config.development_mode?` referencing non-existent constant
|
|
7
|
+
- Remove implicit `Rails.application.config.x.reporter` lookup from Config
|
|
8
|
+
- Restructure README into quick-start guide with examples moved to `docs/examples/`
|
|
9
|
+
- Add benchmark script for operation performance testing
|
|
10
|
+
|
|
3
11
|
### 0.5.0 - Apr 13, 2026
|
|
4
12
|
|
|
5
13
|
- Add `within` executor for wrapping one or more steps with a custom block method
|