foobara-remote-imports 0.0.10 → 0.0.11

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: f853e097c04d582b9386b368794118328d88ea2ebad96fa63bea2a45ad65c246
4
- data.tar.gz: b9ffe32fd0b1d702c5f0a2dbf84dcb304ecddd94620bb4dba3d687fe376d17ac
3
+ metadata.gz: 6618b6975d35dbe7af376615f41d0d751643beaa41affc79233790a312f5ec96
4
+ data.tar.gz: 6591a7dc132e364238b76757236e95fc57cee6b8014653ed023df3f012e69303
5
5
  SHA512:
6
- metadata.gz: e2d41ba5a38b917665249fe07e2ed9061363e08a99c1af39310c2d784fdc6895c8a16742829c28fe578d4c1dd84e8840c15301c4d8459b32e861064bcda004b6
7
- data.tar.gz: 1335c94e2da513ca6eaebc5d68519278fba760d552deecf075e3019ef1a2e4e17bb80fb4f4c37fe5c0b386bba1c095dd3a6bc06f12d774287bb54ea28f6c9165
6
+ metadata.gz: df41f1c9e935122256b3da5411705de12a1e63e881959047534e2ec9a385256e365e01be11a1fe137b5cab1385eb2abdc9bf12bf7ba2d94641a390ef99d1e177
7
+ data.tar.gz: 31d8ea034d85432104cbafd7f04f9ac8e94f12854dd157864d8142c1cc3340afadcffb8c0e5c83eef18c5d32708adbf3afcce883227160836a8730e3ba9e71f7
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ## [0.0.11] - 2025-03-28
1
+ ## [0.0.11] - 2025-04-19
2
+
3
+ - Facilitate overriding methods in RemoteCommand
4
+
5
+ ## [0.0.10] - 2025-03-28
2
6
 
3
7
  - Default to deanonymizing imported model classes by default to preserve existing behavior
4
8
 
@@ -8,6 +8,10 @@ module Foobara
8
8
  class ImportCommand < Command
9
9
  include ImportBase
10
10
 
11
+ add_inputs do
12
+ base_command_class Class, default: RemoteCommand
13
+ end
14
+
11
15
  depends_on ImportDomain, ImportType, ImportError
12
16
 
13
17
  def find_manifests_to_import
@@ -31,7 +35,7 @@ module Foobara
31
35
  already_imported:
32
36
  )
33
37
 
34
- Util.make_class_p(manifest_to_import.reference, RemoteCommand)
38
+ Util.make_class_p(manifest_to_import.reference, base_command_class)
35
39
 
36
40
  manifest_to_import.types_depended_on.each do |type|
37
41
  run_subcommand!(
@@ -75,7 +79,8 @@ module Foobara
75
79
  inputs: manifest_to_import.inputs_type.relevant_manifest,
76
80
  result: manifest_to_import.result_type.relevant_manifest,
77
81
  possible_errors: manifest_to_import.possible_errors,
78
- name: manifest_to_import.reference
82
+ name: manifest_to_import.reference,
83
+ base: base_command_class
79
84
  )
80
85
  end
81
86
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-remote-imports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-28 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: foobara
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  - !ruby/object:Gem::Version
65
65
  version: '0'
66
66
  requirements: []
67
- rubygems_version: 3.6.6
67
+ rubygems_version: 3.6.7
68
68
  specification_version: 4
69
69
  summary: Used to import commands/entities/whatever from another system into this one.
70
70
  test_files: []