foobara-http-command-connector 0.0.8 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/src/http.rb +11 -5
- metadata +4 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5f34089ed75dae01a8094235bf86d14fa5af5945e259d73a6868020e70279fd
|
4
|
+
data.tar.gz: 31198004409b08f4339c0231d81daf340153e7c8d511a65550a3487e47ac4cc8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a67ce105559b09a8789198107590d6912383c3d790fdd5d0a96fe80eeee4c277738f79d8e8bab4d28a6f8359164bd1820ac1444523b051347efc496eeeba047
|
7
|
+
data.tar.gz: c243677ab7140b04d4d00ad2e287fde8ebfe8641c524f0882e438bdfedd2464736ba8b8e9b8da10074b25e1e3f9e1dcb43a57518e793ba9d9baa44961bc51642
|
data/CHANGELOG.md
CHANGED
data/src/http.rb
CHANGED
@@ -3,15 +3,21 @@ module Foobara
|
|
3
3
|
class Http < CommandConnector
|
4
4
|
include TruncatedInspect
|
5
5
|
|
6
|
+
class << self
|
7
|
+
attr_accessor :default_serializers
|
8
|
+
end
|
9
|
+
|
10
|
+
self.default_serializers = [
|
11
|
+
Foobara::CommandConnectors::Serializers::ErrorsSerializer,
|
12
|
+
Foobara::CommandConnectors::Serializers::AtomicSerializer,
|
13
|
+
Foobara::CommandConnectors::Serializers::JsonSerializer
|
14
|
+
]
|
15
|
+
|
6
16
|
attr_accessor :prefix
|
7
17
|
|
8
18
|
def initialize(
|
9
19
|
prefix: nil,
|
10
|
-
default_serializers:
|
11
|
-
Foobara::CommandConnectors::Serializers::ErrorsSerializer,
|
12
|
-
Foobara::CommandConnectors::Serializers::AtomicSerializer,
|
13
|
-
Foobara::CommandConnectors::Serializers::JsonSerializer
|
14
|
-
],
|
20
|
+
default_serializers: self.class.default_serializers,
|
15
21
|
**
|
16
22
|
)
|
17
23
|
if prefix
|
metadata
CHANGED
@@ -1,14 +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.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miles Georgi
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-25 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: foobara
|
@@ -24,7 +23,6 @@ dependencies:
|
|
24
23
|
- - ">="
|
25
24
|
- !ruby/object:Gem::Version
|
26
25
|
version: '0'
|
27
|
-
description:
|
28
26
|
email:
|
29
27
|
- azimux@gmail.com
|
30
28
|
executables: []
|
@@ -73,7 +71,6 @@ metadata:
|
|
73
71
|
source_code_uri: https://github.com/foobara/http-command-connector
|
74
72
|
changelog_uri: https://github.com/foobara/http-command-connector/blob/main/CHANGELOG.md
|
75
73
|
rubygems_mfa_required: 'true'
|
76
|
-
post_install_message:
|
77
74
|
rdoc_options: []
|
78
75
|
require_paths:
|
79
76
|
- lib
|
@@ -81,15 +78,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
81
78
|
requirements:
|
82
79
|
- - ">="
|
83
80
|
- !ruby/object:Gem::Version
|
84
|
-
version: 3.
|
81
|
+
version: 3.4.0
|
85
82
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
86
83
|
requirements:
|
87
84
|
- - ">="
|
88
85
|
- !ruby/object:Gem::Version
|
89
86
|
version: '0'
|
90
87
|
requirements: []
|
91
|
-
rubygems_version: 3.
|
92
|
-
signing_key:
|
88
|
+
rubygems_version: 3.6.2
|
93
89
|
specification_version: 4
|
94
90
|
summary: No description. Add one.
|
95
91
|
test_files: []
|