nexus_seed 0.2.28 → 0.2.29

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: 819f6353aa5f8ca3b5638d2690d6226844e2f286ce433feccc2395a0ac93bd84
4
- data.tar.gz: dc8e75292254f063a211a15ff2b49b48409845e6099e5742f6cc3ba896b54ea2
3
+ metadata.gz: 27a938f4f16d192bface0b6c1d47b1f8559eacea34498451d68ae2aae9c18cca
4
+ data.tar.gz: 2f21d6a896efc426fccd2abdc47953f5467e5116520802084f45a0be7eb8b2f2
5
5
  SHA512:
6
- metadata.gz: df7f4c82c00eede027c6f03a70d005a0b91f62d41247b985730bab5eec9b2b0004c56fe019d5b9c98087e305d0c2e5b333d3515559415bc471e793d53662f0c6
7
- data.tar.gz: 057640a5a43ebeac2b2bc99d95f3aa2c12148d1a7587209e6a54364c71efa40ffc0a653d25efe96f293fd9e8206522b765c10f5115377efa1c83f297880746a8
6
+ metadata.gz: ab4f031cdbae46951a5e1ce433ab37efb10e2036568ee6d9cf3fcb94d07fdc64f54b1e92a516c27d3a70e83d51d195c45a83b705cc3638c44f55cebd76c32e22
7
+ data.tar.gz: 1f2405dde77d350b839d3bf858ec3741ffbd4effda4480978ce15077c1898c7892852587f570915a274a432a08712aaab2e8c9b52d841a2e043a387ee8f74fc8
@@ -35,12 +35,12 @@ module NexusSeed
35
35
  @find_by_params = if @options.key?(:find_by_params)
36
36
  @options[:find_by_params]
37
37
  else
38
- find_by_params(instance, params)
38
+ find_by_params(instance, final_params)
39
39
  end
40
40
 
41
41
  raise StandardError, "Error: find_by_params must not be nil" if @find_by_params.nil?
42
42
 
43
- before_save(instance, params)
43
+ before_save(instance, final_params)
44
44
 
45
45
  find_by_query = if @find_by_params.is_a?(Hash)
46
46
  @find_by_params
@@ -68,7 +68,7 @@ module NexusSeed
68
68
 
69
69
  NexusSeed::Builder.add_seed(result) if ENV['NEXUS_SEED_DESTROY'] == 'true'
70
70
 
71
- after_save(result, params)
71
+ after_save(result, final_params)
72
72
  end
73
73
 
74
74
  def before_save(instance, _params = nil)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
  module NexusSeed
3
- # Leave this as 0.2.28 in order for CI process to replace with the tagged version.
4
- VERSION = '0.2.28'
3
+ # Leave this as 0.2.29 in order for CI process to replace with the tagged version.
4
+ VERSION = '0.2.29'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nexus_seed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.28
4
+ version: 0.2.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - Johnathon Harris