Skip to content

Commit 36a999c

Browse files
committed
Make sure manifest is generated in a detached context
1 parent b799e21 commit 36a999c

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [0.0.13] - 2025-01-30
2+
3+
- Make sure manifest is ran in detached context
4+
15
## [0.0.12] - 2025-01-28
26

37
- Fix potential issue with default serializer inheritance/overriding

Gemfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
foobara-http-command-connector (0.0.12)
4+
foobara-http-command-connector (0.0.13)
55
foobara
66

77
GEM
@@ -54,7 +54,7 @@ GEM
5454
foobara-type-generator
5555
foobara-typescript-react-command-form-generator
5656
foobara-typescript-remote-command-generator
57-
foobara (0.0.51)
57+
foobara (0.0.53)
5858
bigdecimal
5959
foobara-util
6060
foobara-autocrud-generator (0.0.1)
@@ -260,4 +260,4 @@ RUBY VERSION
260260
ruby 3.4.1p0
261261

262262
BUNDLED WITH
263-
2.6.2
263+
2.6.3

src/http/commands/describe.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ class Describe < Foobara::CommandConnector::Commands::Describe
66
def stamp_request_metadata
77
manifest[:metadata] = super.merge(url: request.url)
88
end
9+
10+
def build_manifest
11+
Thread.foobara_with_var("foobara_manifest_context", detached: true) do
12+
super
13+
end
14+
end
915
end
1016
end
1117
end

version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module Foobara
22
module HttpCommandConnector
3-
VERSION = "0.0.12".freeze
3+
VERSION = "0.0.13".freeze
44

55
local_ruby_version = File.read("#{__dir__}/.ruby-version").chomp
66
local_ruby_version_minor = local_ruby_version[/\A(\d+\.\d+)\.\d+\z/, 1]

0 commit comments

Comments
 (0)