chaotic_job 0.9.0 → 0.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fe4a1f8c3a72d5b48cb8ef3bdfd725ca55a168484de1bc03cdd945ed43449673
4
- data.tar.gz: ed0f5d2b690f23d75ac0f272fb2deecfffc46a564248edf18a6f8fe8ea600ca2
3
+ metadata.gz: 69ba3f56584d3a5c325f63635d547c3959a911e2b435ac7138e3d894b738ca71
4
+ data.tar.gz: 6ca762936806d56ca6daf75777eb9dffe3f392769f6084acaecc1b29065f02e9
5
5
  SHA512:
6
- metadata.gz: 2931ae2a67749949986847d7497ee0c69614fa33619d7032ccc9b5c28083b5496d0e9f34e28f2cfe9e5bad0bc97bf856b29645864e28561d3b7f64cac397907b
7
- data.tar.gz: a522412724d369b052a090c6d4cad5728df2a36bc1280f253d35f83ffbd12b8001ce4e77a6acbb623dcc83dc9e76a78b3bfd6e50566dbea3924d1f32edb6f414
6
+ metadata.gz: d56bcb11292c634407d4f05880747e0da4c56b88c99d7c24d128ea66d559c5fc86e59cbb49abc93ca07434fb02c7db11a0f4083d31b3c929ba1f1ca5a69214ad
7
+ data.tar.gz: f2ad5c18837b2f186cbeb58da5ce59ba751649516a6b381dcf3a7c018fda68d73cbcb284e81315064f000f64767ab05200bfe4cacd00969722deb0baf0bf903a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.9.1] - 2025-06-12
4
+
5
+ - The simulation tracer should only capture events on the template job [#14](https://github.com/fractaledmind/chaotic_job/pull/14)
6
+
3
7
  ## [0.9.0] - 2025-06-12
4
8
 
5
9
  - Make journal logging idempotent and add `push` for non-idempotent logging [#12](https://github.com/fractaledmind/chaotic_job/pull/12)
@@ -48,9 +48,7 @@ module ChaoticJob
48
48
  private
49
49
 
50
50
  def capture_callstack
51
- job_class = @template.class
52
- job_file_path = job_class.instance_method(:perform).source_location&.first
53
- tracer = Tracer.new { |tp| tp.path == job_file_path || tp.defined_class == job_class }
51
+ tracer = Tracer.new { |tp| tp.defined_class == @template.class }
54
52
  callstack = tracer.capture do
55
53
  @template.dup.enqueue
56
54
  # run the template job as well as any other jobs it may enqueue
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ChaoticJob
4
- VERSION = "0.9.0"
4
+ VERSION = "0.9.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chaotic_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Margheim