foobara-http-command-connector 0.0.11 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/src/http.rb +7 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f79e8c2f3c9eedd1a96c4f5ff94ae2fe7be100f34d22dce4cf4e871ed1f68e8a
4
- data.tar.gz: b3aa76ff2940a8a484c6423ca34aa0931603a636fce220166f47cccea96a8af9
3
+ metadata.gz: db47cd08eb17139eefdbd42c51140e13fa61ec56fd3f04f911daba08a6a621ac
4
+ data.tar.gz: fda1c0ef72f7764ce9e19b8f9d1c4b6e137ee67022de6dac9850bbbc7480dcd8
5
5
  SHA512:
6
- metadata.gz: da39db3b3e5b737c3af6779537703c1b7ddbd1b83b77e9cf8efd0081ba20a655c945403ad38074f69cbc6469a06e34fbc7c999aa25d534e1802ef66eb8233d10
7
- data.tar.gz: 9642b9765721d12939f7ec17206fd345e8400b471116f2f767fe94fbfb3fbd4222ba0a7af31f572b8ae6db4def1dccd72246c891ca6c80db9f6550fb5a4df42e
6
+ metadata.gz: 698f426b09ac42066a84744d8a1f1767fb51bbbd76e9a5680e060be7851e457c87ea767b2c1b753030885214902c494d87e79434bbc20d145e999ddad63d4c4c
7
+ data.tar.gz: 1e38ecb70aa10ce89ccc345530bbe5b95e19949d0c5838f0af8f3a68b6e379b0721e6ce380cf7e74df50c14f3a46e0c596901b07d54988b10cb83c91faba72bf
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.12] - 2025-01-28
2
+
3
+ - Fix potential issue with default serializer inheritance/overriding
4
+
1
5
  ## [0.0.11] - 2025-01-25
2
6
 
3
7
  - Allow default_serializers to be changed
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.12
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-29 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: foobara