easyop 0.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 +7 -0
- data/CHANGELOG.md +41 -0
- data/README.md +1089 -0
- data/lib/easyop/configuration.rb +31 -0
- data/lib/easyop/ctx.rb +187 -0
- data/lib/easyop/flow.rb +94 -0
- data/lib/easyop/flow_builder.rb +80 -0
- data/lib/easyop/hooks.rb +108 -0
- data/lib/easyop/operation.rb +115 -0
- data/lib/easyop/plugins/async.rb +98 -0
- data/lib/easyop/plugins/base.rb +27 -0
- data/lib/easyop/plugins/instrumentation.rb +74 -0
- data/lib/easyop/plugins/recording.rb +115 -0
- data/lib/easyop/plugins/transactional.rb +69 -0
- data/lib/easyop/rescuable.rb +68 -0
- data/lib/easyop/schema.rb +168 -0
- data/lib/easyop/skip.rb +22 -0
- data/lib/easyop/version.rb +3 -0
- data/lib/easyop.rb +41 -0
- metadata +94 -0
metadata
ADDED
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: easyop
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Pawel Niemczyk
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: rspec
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '3.13'
|
|
19
|
+
type: :development
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '3.13'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: simplecov
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0.22'
|
|
33
|
+
type: :development
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0.22'
|
|
40
|
+
description: |
|
|
41
|
+
EasyOp wraps business logic in typed, composable operations.
|
|
42
|
+
It keeps the Interactor mental model (shared ctx, fail!, hooks)
|
|
43
|
+
while adding rescue_from, pluggable type adapters, and chainable
|
|
44
|
+
result callbacks — all without requiring ActiveSupport.
|
|
45
|
+
email:
|
|
46
|
+
- pniemczyk.info@.gmail.com
|
|
47
|
+
executables: []
|
|
48
|
+
extensions: []
|
|
49
|
+
extra_rdoc_files: []
|
|
50
|
+
files:
|
|
51
|
+
- CHANGELOG.md
|
|
52
|
+
- README.md
|
|
53
|
+
- lib/easyop.rb
|
|
54
|
+
- lib/easyop/configuration.rb
|
|
55
|
+
- lib/easyop/ctx.rb
|
|
56
|
+
- lib/easyop/flow.rb
|
|
57
|
+
- lib/easyop/flow_builder.rb
|
|
58
|
+
- lib/easyop/hooks.rb
|
|
59
|
+
- lib/easyop/operation.rb
|
|
60
|
+
- lib/easyop/plugins/async.rb
|
|
61
|
+
- lib/easyop/plugins/base.rb
|
|
62
|
+
- lib/easyop/plugins/instrumentation.rb
|
|
63
|
+
- lib/easyop/plugins/recording.rb
|
|
64
|
+
- lib/easyop/plugins/transactional.rb
|
|
65
|
+
- lib/easyop/rescuable.rb
|
|
66
|
+
- lib/easyop/schema.rb
|
|
67
|
+
- lib/easyop/skip.rb
|
|
68
|
+
- lib/easyop/version.rb
|
|
69
|
+
homepage: https://github.com/pniemczyk/easyop
|
|
70
|
+
licenses:
|
|
71
|
+
- MIT
|
|
72
|
+
metadata:
|
|
73
|
+
homepage_uri: https://github.com/pniemczyk/easyop
|
|
74
|
+
source_code_uri: https://github.com/pniemczyk/easyop
|
|
75
|
+
documentation_uri: https://pniemczyk.github.io/easyop/
|
|
76
|
+
changelog_uri: https://github.com/pniemczyk/easyop/blob/main/CHANGELOG.md
|
|
77
|
+
rdoc_options: []
|
|
78
|
+
require_paths:
|
|
79
|
+
- lib
|
|
80
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
|
+
requirements:
|
|
82
|
+
- - ">="
|
|
83
|
+
- !ruby/object:Gem::Version
|
|
84
|
+
version: 3.0.0
|
|
85
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - ">="
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '0'
|
|
90
|
+
requirements: []
|
|
91
|
+
rubygems_version: 4.0.6
|
|
92
|
+
specification_version: 4
|
|
93
|
+
summary: Joyful, composable business logic operations for Ruby
|
|
94
|
+
test_files: []
|