foobara-http-command-connector 0.0.11 → 0.0.13

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: f79e8c2f3c9eedd1a96c4f5ff94ae2fe7be100f34d22dce4cf4e871ed1f68e8a
4
- data.tar.gz: b3aa76ff2940a8a484c6423ca34aa0931603a636fce220166f47cccea96a8af9
3
+ metadata.gz: f050dbda61782345868886aeb89b9f79160aafd2ec23ed5c9295c962460360dc
4
+ data.tar.gz: 8baa30f94268fecc85e9b9f86676f03a484d5efbc797a5aedd35f62d770f24b0
5
5
  SHA512:
6
- metadata.gz: da39db3b3e5b737c3af6779537703c1b7ddbd1b83b77e9cf8efd0081ba20a655c945403ad38074f69cbc6469a06e34fbc7c999aa25d534e1802ef66eb8233d10
7
- data.tar.gz: 9642b9765721d12939f7ec17206fd345e8400b471116f2f767fe94fbfb3fbd4222ba0a7af31f572b8ae6db4def1dccd72246c891ca6c80db9f6550fb5a4df42e
6
+ metadata.gz: ea971dd972af3d7845e9a206e4dc956eb1b29f674b34d4389a7f67e360e4559b8dd5cf9cc9e6475ee98aadb63985aff93d9c4b4d75fe9f9cf07e8f2e1054b6cf
7
+ data.tar.gz: f8bbcb34388d4042df81fafdd9e286d2b2cca9a560e1dcd541f0fa83e38d7b402858f6c2f0ef48c858386468db1a7c64bcfd7e30df264bdbc10d87ce771dd383
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [0.0.13] - 2025-01-30
2
+
3
+ - Make sure manifest is ran in detached context
4
+
5
+ ## [0.0.12] - 2025-01-28
6
+
7
+ - Fix potential issue with default serializer inheritance/overriding
8
+
1
9
  ## [0.0.11] - 2025-01-25
2
10
 
3
11
  - Allow default_serializers to be changed
@@ -6,6 +6,12 @@ module Foobara
6
6
  def stamp_request_metadata
7
7
  manifest[:metadata] = super.merge(url: request.url)
8
8
  end
9
+
10
+ def build_manifest
11
+ Thread.foobara_with_var("foobara_manifest_context", detached: true) do
12
+ super
13
+ end
14
+ end
9
15
  end
10
16
  end
11
17
  end
data/src/http.rb CHANGED
@@ -9,10 +9,15 @@ module Foobara
9
9
  def default_serializers
10
10
  return @default_serializers if @default_serializers
11
11
 
12
- if superclass.respond_to?(:default_serializers)
13
- serializers = superclass.default_serializers
12
+ superklass = superclass
13
+ serializers = nil
14
+
15
+ while superklass.respond_to?(:default_serializers)
16
+ serializers = superclass.instance_variable_get(:@default_serializers)
14
17
 
15
18
  return serializers if serializers
19
+
20
+ superklass = superklass.superclass
16
21
  end
17
22
 
18
23
  @default_serializers = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-http-command-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-25 00:00:00.000000000 Z
10
+ date: 2025-01-31 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: foobara
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
85
85
  - !ruby/object:Gem::Version
86
86
  version: '0'
87
87
  requirements: []
88
- rubygems_version: 3.6.2
88
+ rubygems_version: 3.6.3
89
89
  specification_version: 4
90
90
  summary: No description. Add one.
91
91
  test_files: []