ductwork 0.15.0 → 0.15.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: cd378a2cedabe241b11559ecc7611a6ca8aa631ca2739a97199fdf4a34387f4e
4
- data.tar.gz: 3faddccd331cd7bd94cc7e1487a4f4f823fc0037ca7109bf2c093ac357488263
3
+ metadata.gz: e8ea9ebfb49f2ab20c95048a7739dc1c85fcf716b8fa0c89d9fc0228b92412d4
4
+ data.tar.gz: 60bcfefd5974d3be0042e15fff39ff589dd0aa4a62b54cbd97266779bd9202f9
5
5
  SHA512:
6
- metadata.gz: eb6051a653d7aa5f9dbf4cc0784ed69d364784fb14d3d24120683616eb2601a4d4f97c028c2cc8df137c2a992429af450f63589f6381977dcbabc68eb926314f
7
- data.tar.gz: 8e484847a038021d399272e3565a58b4204f2752d346b515ee59503204fae7f6ee3756c780376b4df03dd73d960ef191c484dd0bd2ec33e384b268272a63aae8
6
+ metadata.gz: cfa48b1f3146ac061d742db8a9aa7f66f7699fbb963ba935b2b16386f3290e9ec1af4847cf99bd52a57e25f6d7849811dbf113c6846947afcc81af56732ffa81
7
+ data.tar.gz: eb4819ca0e15364dd86df02ea4392431ab9cf4183326ac04f348c61ce613a4761344ae5575051c4e9789ff21ec453dfe55866d5f74eb009431bc0a24c0a8acfe
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Ductwork Changelog
2
2
 
3
+ ## [0.15.1]
4
+
5
+ - fix: pass pipeline ID directly to step builder method instead of passing step object
6
+
3
7
  ## [0.15.0]
4
8
 
5
9
  - chore: remove unnecessary transaction in job enqueueing method
@@ -100,7 +100,7 @@ module Ductwork
100
100
  job_klass: klass
101
101
  )
102
102
  args = JSON.parse(input_args)["args"]
103
- instance = Object.const_get(klass).build_for_execution(step, args)
103
+ instance = Object.const_get(klass).build_for_execution(step.pipeline_id, args)
104
104
  run = execution.create_run!(
105
105
  started_at: Time.current
106
106
  )
@@ -26,9 +26,9 @@ module Ductwork
26
26
  expand: "expand",
27
27
  collapse: "collapse"
28
28
 
29
- def self.build_for_execution(record, *args, **kwargs)
29
+ def self.build_for_execution(pipeline_id, *args, **kwargs)
30
30
  instance = allocate
31
- instance.instance_variable_set(:@pipeline_id, record.pipeline_id)
31
+ instance.instance_variable_set(:@pipeline_id, pipeline_id)
32
32
  instance.send(:initialize, *args, **kwargs)
33
33
  instance
34
34
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ductwork
4
- VERSION = "0.15.0"
4
+ VERSION = "0.15.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ductwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tyler Ewing