foobara-http-command-connector 0.0.3 → 0.0.4

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 +9 -3
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5ccda00e728fcacf8da3a8aa2c457f47b1f4b3eea9c93c2ce5446bc8114be4c
4
- data.tar.gz: fcd50e3249e2b0c66fa7ae2a778e5553dd21ad376277122a0593ddd3c16e1d43
3
+ metadata.gz: 14fd05992a1b0d4a094bec743f31d55e4d35eaeb004190504a59580b4778ca93
4
+ data.tar.gz: 70c08be8c4a8b06383fdce7713a7a26a6def5abcaf61853a930d81e7cdd189bb
5
5
  SHA512:
6
- metadata.gz: 54391b8b5be54090a5441753902b9a692ad1f02fbc4cd38d0aad272da57367830e20b02745e2b7682fcd3477588ddd6cef1cff3ed67e1be32c5494adfcda9b7e
7
- data.tar.gz: 7d6f18ee723458727316adfbadd2ca1f8b2a08b3d671db99a1f522d527f5b500373ca3cb624015be2c80677710bb1f3fa95ef3def09ef3cdc4a16a24f5fa9798
6
+ metadata.gz: 2c88cbc20527427aad3bca0c3071555b9184958df9d40b8b67753590ba8befeca32109d5ba16f6119985b0425d5de54d459c9c9cf1755d6e470a1dbe6180871d
7
+ data.tar.gz: 3b1500e6c8adf3d8b252168492584e8d72b3fc7f1091fa867b4ed6c09bb819b38cf8fc8574cee0f4ca93eba874548dab565544b707310165cb3fa8beae4e9e8c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.0.4] - 2024-12-01
2
+
3
+ - Fix default serializers bug
4
+
1
5
  ## [0.0.3] - 2024-10-30
2
6
 
3
7
  - Support path prefixes
data/src/http.rb CHANGED
@@ -5,7 +5,14 @@ module Foobara
5
5
 
6
6
  attr_accessor :prefix
7
7
 
8
- def initialize(prefix: nil, **)
8
+ def initialize(
9
+ prefix: nil,
10
+ default_serializers: [
11
+ Foobara::CommandConnectors::Serializers::ErrorsSerializer,
12
+ Foobara::CommandConnectors::Serializers::JsonSerializer
13
+ ],
14
+ **
15
+ )
9
16
  if prefix
10
17
  if prefix.is_a?(::Array)
11
18
  prefix = prefix.join("/")
@@ -20,10 +27,9 @@ module Foobara
20
27
  end
21
28
 
22
29
  self.prefix = prefix
23
-
24
30
  end
25
31
 
26
- super(**)
32
+ super(default_serializers:, **)
27
33
  end
28
34
 
29
35
  def run(*, **)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-http-command-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-30 00:00:00.000000000 Z
11
+ date: 2024-12-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: foobara
@@ -88,7 +88,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  requirements: []
91
- rubygems_version: 3.5.22
91
+ rubygems_version: 3.5.23
92
92
  signing_key:
93
93
  specification_version: 4
94
94
  summary: No description. Add one.