active_saga 0.1.0 → 0.1.3
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/ADAPTERS.md +6 -6
- data/CHANGELOG.md +1 -1
- data/GUIDE.md +10 -10
- data/LICENSE +1 -1
- data/README.md +51 -51
- data/lib/{active_workflow → active_saga}/backoff.rb +1 -1
- data/lib/{active_workflow → active_saga}/configuration.rb +3 -3
- data/lib/{active_workflow → active_saga}/context.rb +1 -1
- data/lib/{active_workflow → active_saga}/dsl/options.rb +8 -8
- data/lib/{active_workflow → active_saga}/dsl/signals.rb +5 -5
- data/lib/{active_workflow → active_saga}/dsl/steps.rb +11 -11
- data/lib/{active_workflow → active_saga}/errors.rb +1 -1
- data/lib/{active_workflow → active_saga}/execution.rb +5 -5
- data/lib/{active_workflow → active_saga}/jobs/runner_job.rb +8 -8
- data/lib/active_saga/railtie.rb +17 -0
- data/lib/{active_workflow → active_saga}/serializers/json.rb +1 -1
- data/lib/{active_workflow → active_saga}/stores/active_record.rb +34 -34
- data/lib/{active_workflow → active_saga}/stores/base.rb +4 -4
- data/lib/{active_workflow → active_saga}/task.rb +5 -5
- data/lib/active_saga/version.rb +5 -0
- data/lib/{active_workflow → active_saga}/workflow.rb +5 -5
- data/lib/{active_workflow.rb → active_saga.rb} +21 -21
- data/lib/generators/{active_workflow → active_saga}/install/install_generator.rb +3 -13
- data/lib/generators/active_saga/install/templates/initializer.rb +8 -0
- data/lib/generators/{active_workflow/install/templates/migrations/create_active_workflow_tables.rb → active_saga/install/templates/migrations/create_active_saga_tables.rb} +14 -14
- data/lib/generators/{active_workflow → active_saga}/install/templates/sample_workflow.rb +2 -2
- data/lib/generators/{active_workflow → active_saga}/workflow/templates/workflow.rb +1 -1
- data/lib/generators/{active_workflow → active_saga}/workflow/workflow_generator.rb +1 -1
- metadata +26 -26
- data/lib/active_workflow/railtie.rb +0 -17
- data/lib/active_workflow/version.rb +0 -5
- data/lib/generators/active_workflow/install/templates/initializer.rb +0 -8
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active_saga
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Laerti Papa
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-10-
|
|
11
|
+
date: 2025-10-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|
|
@@ -95,7 +95,7 @@ dependencies:
|
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
97
|
description: |
|
|
98
|
-
|
|
98
|
+
ActiveSaga provides durable, idempotent workflow orchestration built on Rails Active Job.
|
|
99
99
|
It supports sync and async steps, retries with backoff, signals, compensations, and pluggable persistence stores.
|
|
100
100
|
email:
|
|
101
101
|
- laertis.pappas@gmail.com
|
|
@@ -108,29 +108,29 @@ files:
|
|
|
108
108
|
- GUIDE.md
|
|
109
109
|
- LICENSE
|
|
110
110
|
- README.md
|
|
111
|
-
- lib/
|
|
112
|
-
- lib/
|
|
113
|
-
- lib/
|
|
114
|
-
- lib/
|
|
115
|
-
- lib/
|
|
116
|
-
- lib/
|
|
117
|
-
- lib/
|
|
118
|
-
- lib/
|
|
119
|
-
- lib/
|
|
120
|
-
- lib/
|
|
121
|
-
- lib/
|
|
122
|
-
- lib/
|
|
123
|
-
- lib/
|
|
124
|
-
- lib/
|
|
125
|
-
- lib/
|
|
126
|
-
- lib/
|
|
127
|
-
- lib/
|
|
128
|
-
- lib/generators/
|
|
129
|
-
- lib/generators/
|
|
130
|
-
- lib/generators/
|
|
131
|
-
- lib/generators/
|
|
132
|
-
- lib/generators/
|
|
133
|
-
- lib/generators/
|
|
111
|
+
- lib/active_saga.rb
|
|
112
|
+
- lib/active_saga/backoff.rb
|
|
113
|
+
- lib/active_saga/configuration.rb
|
|
114
|
+
- lib/active_saga/context.rb
|
|
115
|
+
- lib/active_saga/dsl/options.rb
|
|
116
|
+
- lib/active_saga/dsl/signals.rb
|
|
117
|
+
- lib/active_saga/dsl/steps.rb
|
|
118
|
+
- lib/active_saga/errors.rb
|
|
119
|
+
- lib/active_saga/execution.rb
|
|
120
|
+
- lib/active_saga/jobs/runner_job.rb
|
|
121
|
+
- lib/active_saga/railtie.rb
|
|
122
|
+
- lib/active_saga/serializers/json.rb
|
|
123
|
+
- lib/active_saga/stores/active_record.rb
|
|
124
|
+
- lib/active_saga/stores/base.rb
|
|
125
|
+
- lib/active_saga/task.rb
|
|
126
|
+
- lib/active_saga/version.rb
|
|
127
|
+
- lib/active_saga/workflow.rb
|
|
128
|
+
- lib/generators/active_saga/install/install_generator.rb
|
|
129
|
+
- lib/generators/active_saga/install/templates/initializer.rb
|
|
130
|
+
- lib/generators/active_saga/install/templates/migrations/create_active_saga_tables.rb
|
|
131
|
+
- lib/generators/active_saga/install/templates/sample_workflow.rb
|
|
132
|
+
- lib/generators/active_saga/workflow/templates/workflow.rb
|
|
133
|
+
- lib/generators/active_saga/workflow/workflow_generator.rb
|
|
134
134
|
homepage: https://github.com/laertispappas/active_saga
|
|
135
135
|
licenses:
|
|
136
136
|
- MIT
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
# frozen_string_literal: true
|
|
2
|
-
|
|
3
|
-
require "rails/railtie"
|
|
4
|
-
|
|
5
|
-
module ActiveWorkflow
|
|
6
|
-
class Railtie < Rails::Railtie
|
|
7
|
-
initializer "active_workflow.configure" do |_app|
|
|
8
|
-
ActiveWorkflow.configure do |config|
|
|
9
|
-
config.logger ||= Rails.logger
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
rake_tasks do
|
|
14
|
-
load "active_workflow/tasks.rake" if File.exist?(File.join(__dir__, "../../tasks.rake"))
|
|
15
|
-
end
|
|
16
|
-
end
|
|
17
|
-
end
|