ruby_reactor 0.4.0 → 0.4.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/.release-please-config.json +3 -0
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +8 -0
- data/lib/ruby_reactor/context.rb +5 -2
- data/lib/ruby_reactor/context_serializer.rb +46 -2
- data/lib/ruby_reactor/dsl/reactor.rb +10 -1
- data/lib/ruby_reactor/executor/result_handler.rb +1 -12
- data/lib/ruby_reactor/executor.rb +7 -1
- data/lib/ruby_reactor/reactor.rb +11 -4
- data/lib/ruby_reactor/storage/redis_adapter.rb +10 -3
- data/lib/ruby_reactor/storage/redis_locking.rb +17 -0
- data/lib/ruby_reactor/utils/backtrace_location.rb +37 -0
- data/lib/ruby_reactor/version.rb +1 -1
- data/lib/ruby_reactor/web/api.rb +68 -8
- data/lib/ruby_reactor/web/coordination_serializer.rb +180 -0
- data/lib/ruby_reactor/web/public/assets/index-CCnNVQy5.css +1 -0
- data/lib/ruby_reactor/web/public/assets/index-D7IBZvos.js +21 -0
- data/lib/ruby_reactor/web/public/index.html +2 -2
- data/lib/ruby_reactor.rb +7 -2
- metadata +6 -4
- data/lib/ruby_reactor/web/public/assets/index-VdeLgH9k.js +0 -19
- data/lib/ruby_reactor/web/public/assets/index-_z-6BvuM.css +0 -1
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
<link rel="icon" type="image/svg+xml" href="./vite.svg" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
7
|
<title>ui</title>
|
|
8
|
-
<script type="module" crossorigin src="./assets/index-
|
|
9
|
-
<link rel="stylesheet" crossorigin href="./assets/index-
|
|
8
|
+
<script type="module" crossorigin src="./assets/index-D7IBZvos.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="./assets/index-CCnNVQy5.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div id="root"></div>
|
data/lib/ruby_reactor.rb
CHANGED
|
@@ -238,13 +238,14 @@ module RubyReactor
|
|
|
238
238
|
return backtrace if ENV["RUBY_REACTOR_DEBUG"] == "true"
|
|
239
239
|
return backtrace if backtrace.nil? || backtrace.empty?
|
|
240
240
|
|
|
241
|
-
|
|
241
|
+
internal_prefix = RubyReactor.internal_lib_path
|
|
242
242
|
filtered = []
|
|
243
243
|
filtered << backtrace.first
|
|
244
244
|
|
|
245
245
|
internal_block = false
|
|
246
246
|
backtrace[1..]&.each do |line|
|
|
247
|
-
|
|
247
|
+
file_path, = RubyReactor::Utils::BacktraceLocation.parse(line)
|
|
248
|
+
if file_path&.start_with?(internal_prefix)
|
|
248
249
|
unless internal_block
|
|
249
250
|
filtered << "... [ruby-reactor-internals-redacted-trace]"
|
|
250
251
|
internal_block = true
|
|
@@ -331,4 +332,8 @@ module RubyReactor
|
|
|
331
332
|
def self.root
|
|
332
333
|
Pathname.new(File.expand_path("..", __dir__))
|
|
333
334
|
end
|
|
335
|
+
|
|
336
|
+
def self.internal_lib_path
|
|
337
|
+
File.join(root.to_s, "lib")
|
|
338
|
+
end
|
|
334
339
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ruby_reactor
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Artur
|
|
@@ -167,6 +167,7 @@ files:
|
|
|
167
167
|
- lib/ruby_reactor/template/input.rb
|
|
168
168
|
- lib/ruby_reactor/template/result.rb
|
|
169
169
|
- lib/ruby_reactor/template/value.rb
|
|
170
|
+
- lib/ruby_reactor/utils/backtrace_location.rb
|
|
170
171
|
- lib/ruby_reactor/utils/code_extractor.rb
|
|
171
172
|
- lib/ruby_reactor/validation/base.rb
|
|
172
173
|
- lib/ruby_reactor/validation/input_validator.rb
|
|
@@ -175,8 +176,9 @@ files:
|
|
|
175
176
|
- lib/ruby_reactor/web/api.rb
|
|
176
177
|
- lib/ruby_reactor/web/application.rb
|
|
177
178
|
- lib/ruby_reactor/web/config.ru
|
|
178
|
-
- lib/ruby_reactor/web/
|
|
179
|
-
- lib/ruby_reactor/web/public/assets/index-
|
|
179
|
+
- lib/ruby_reactor/web/coordination_serializer.rb
|
|
180
|
+
- lib/ruby_reactor/web/public/assets/index-CCnNVQy5.css
|
|
181
|
+
- lib/ruby_reactor/web/public/assets/index-D7IBZvos.js
|
|
180
182
|
- lib/ruby_reactor/web/public/index.html
|
|
181
183
|
- lib/ruby_reactor/web/public/vite.svg
|
|
182
184
|
- llms-full.txt
|
|
@@ -204,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
204
206
|
- !ruby/object:Gem::Version
|
|
205
207
|
version: '0'
|
|
206
208
|
requirements: []
|
|
207
|
-
rubygems_version:
|
|
209
|
+
rubygems_version: 3.6.9
|
|
208
210
|
specification_version: 4
|
|
209
211
|
summary: A dynamic, concurrent, dependency-resolving saga orchestrator for Ruby.
|
|
210
212
|
test_files: []
|