bulkrax 3.0.0.beta2 → 3.0.0.beta3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0c05782edcfff4b5c460c3cc3bd8b3fbec355299a87c977b0400b2b555105de8
4
- data.tar.gz: dd0316f5502afcea91ac0fa84f0ea6bcb1600aff9b867d5460e934aeafdaa9c2
3
+ metadata.gz: 144e5a05fdf0d22faa759b2f8529ec971af9001f10c8bbe74d705d954b85e048
4
+ data.tar.gz: 569cdb00a7f533e5b0e234079d5e2ae0996f7c5230675fec158ce62c06a82987
5
5
  SHA512:
6
- metadata.gz: fc72772040076f6e527adc335cb4dd6802c199f3b0e94ea81fab7d341d9354973fe76c08b9873e90d7244dd527617c60f0486e141736a589df2afd8e051bcd37
7
- data.tar.gz: 3c39be004fd6196d8692643a567a73398a4cb4105a1174535f73cbf7b515b8ca0d6a2bbc8cdb05c012dca814f5bc5b57ab5bfc40a6191ec73fcd40c96eb3e630
6
+ metadata.gz: 961ef2fcaccad86d47563de89538446a3757b54cd1abbaabe81e2479b902088ea62a06181fa22819e37df52cd6a32ce4a6c52892cd57ef89983b09a8bea403ef
7
+ data.tar.gz: 432704c4491eef71eb3a3bc4a294d13b9fa4e08b616c031a71510579919cdde96fa06d697f096016858725f6abf6d4a77414b2533f7aaeaa863e9031725f7ce5
@@ -4,5 +4,7 @@ module Bulkrax
4
4
  class ImporterRun < ApplicationRecord
5
5
  belongs_to :importer
6
6
  has_many :statuses, as: :runnable, dependent: :destroy
7
+
8
+ serialize :parents, Array
7
9
  end
8
10
  end
@@ -43,7 +43,6 @@ module Bulkrax
43
43
  end
44
44
 
45
45
  def add_parent_to_import_run(parent_id, run)
46
- run.parents = [] if run.parents.nil?
47
46
  run.parents << parent_id
48
47
  run.save
49
48
  end
@@ -0,0 +1,5 @@
1
+ class RemoveArrayTrueFromImporterRunParentsColumn < ActiveRecord::Migration[5.2]
2
+ def change
3
+ change_column :bulkrax_importer_runs, :parents, :text, array: false, default: nil
4
+ end
5
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Bulkrax
4
- VERSION = '3.0.0.beta2'
4
+ VERSION = '3.0.0.beta3'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bulkrax
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.beta2
4
+ version: 3.0.0.beta3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Kaufman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-29 00:00:00.000000000 Z
11
+ date: 2022-03-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -368,6 +368,7 @@ files:
368
368
  - db/migrate/20220301001839_create_bulkrax_pending_relationships.rb
369
369
  - db/migrate/20220301020307_add_parents_to_bulkrax_importer_runs.rb
370
370
  - db/migrate/20220303212810_add_order_to_bulkrax_pending_relationships.rb
371
+ - db/migrate/20220330165510_remove_array_true_from_importer_run_parents_column.rb
371
372
  - lib/bulkrax.rb
372
373
  - lib/bulkrax/engine.rb
373
374
  - lib/bulkrax/version.rb