foobara-http-command-connector 1.1.0 → 1.1.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: 36ab57af0c0d65f450500790ed68ba268c1bd5862fbaec71cfb83f4a00fc514a
4
- data.tar.gz: 93cbb5d98e08155a605be8481a3dd9a092d051e4b7d642b0df13af65d9c5f489
3
+ metadata.gz: 3013f15a6e04c65bfddcc8163eda0216d46ec70e21cf502be342498fc93d7f6a
4
+ data.tar.gz: 5d79f4cbd50aabbca7059fccadeda2d2b3db0411644d0e72700782fa5da20413
5
5
  SHA512:
6
- metadata.gz: '09d292eba68a1d214d65035c8df665b69aadfdfaf9aeb4964d9d9941e4b3aedc35bacf8a86b28ee5691b9578a853e65b7ee32fcfd1937a37063d976c3b87e541'
7
- data.tar.gz: 8ad52d666aefd12f21bc71f52f7a1639c4d7c63700e18f8c1a9f015f93d42bf1ebf73948f603d90f10afdca204e7f686a92bf99afb19a9368ddde5bec7b06e97
6
+ metadata.gz: 69af62d21fdae86bd10d1c58a6676e48ec263cf9dedc1c4c83c315db8243c3dffe85769586aa654dc3f7283a969e618631162e0d4d4adc07373e7fda9d9b71f6
7
+ data.tar.gz: c89d254db34fed4350696e33c63457312fbb939fab9ffa57f79e7e7add24239f1630ee802fb8583837d7dfd725e3862d8c55139a3c03b6405b177e24745d2128
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ ## [1.1.1] - 2025-08-25
2
+
3
+ - Add support for including processors
4
+ - Make detached false by default instead of true
5
+
1
6
  ## [1.1.0] - 2025-08-22
2
7
 
3
8
  - Handle new Foobara 0.1.0 type declarations
@@ -6,30 +6,19 @@ module Foobara
6
6
  inputs do
7
7
  manifestable :duck
8
8
  request :duck
9
- detached :boolean, default: true
9
+ detached :boolean, default: false
10
+ include_processors :boolean, default: false
10
11
  end
11
12
 
12
13
  def stamp_request_metadata
13
14
  manifest[:metadata] = super.merge(url: request.url)
14
15
  end
15
16
 
16
- def in_detached_context(&)
17
- TypeDeclarations.with_manifest_context(detached: true, &)
18
- end
19
-
20
17
  def build_manifest
21
- if detached_context?
22
- in_detached_context do
23
- super
24
- end
25
- else
18
+ TypeDeclarations.with_manifest_context(detached:, include_processors:) do
26
19
  super
27
20
  end
28
21
  end
29
-
30
- def detached_context?
31
- detached
32
- end
33
22
  end
34
23
  end
35
24
  end
@@ -19,7 +19,9 @@ module Foobara
19
19
  attr_accessor :raw_manifest, :root_manifest, :object_to_help_with, :manifest_to_help_with
20
20
 
21
21
  def load_manifest
22
- self.raw_manifest = command_connector.foobara_manifest
22
+ self.raw_manifest = TypeDeclarations.with_manifest_context(include_processors: true) do
23
+ command_connector.foobara_manifest
24
+ end
23
25
  self.root_manifest = Manifest::RootManifest.new(raw_manifest)
24
26
  end
25
27
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-http-command-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi