foobara-rails-command-connector 0.0.2 → 0.0.3

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: '0108d1dff86cd03d6db21fdece9f448c9feb462d5338a355f3b0d745e5a170bf'
4
- data.tar.gz: 91ae69130f9ebd42413eb50aa536131e6e43054b711ab3a45949030714947b01
3
+ metadata.gz: 85b87cf4ca9d03e7074214e48e8b360b8c4699413fa0e4afa3a8cc86308abd18
4
+ data.tar.gz: 35fd962b96178619a87d6fb9461e5a5b30f90985eb08efc020b94c89c789afcc
5
5
  SHA512:
6
- metadata.gz: d97af871abcc501d3e8da272b5f064f0d3aa005f2a5ca069bc46bd0b4f5943399b25a890bae55cb329a13e2907b99ed6e49131fe47588f20babb62b7a6a112a9
7
- data.tar.gz: d2e7868672d8bbe6f6cc6ebda4b4112140e558bd7664a8afc94e89103180546dabc92f6b12d6f51025b9d40efad65a2fc483f3172f742309efae56b561adf4dd
6
+ metadata.gz: 04eca877f738fe6eb9ab755829752971d54a9065176723f8adb4ef2a0022fd6a80eeb4e346dbf05ad6d0154fa0393772eda5c3ad4d6b93350bc760fa62451e5e
7
+ data.tar.gz: 5e28e4449c228fcfe0bca3648e41e1c294c8b6851c564aaf3c35587b5e8ca6f315026d8d66d4d87d46ccd9d1940099153d331697894ad20d599650c13f82ff4e
data/CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
- ## [0.0.2] - 2024-12-02
1
+ ## [0.0.3] - 2024-12-02
2
2
 
3
3
  - Eliminate HTTP_COMMAND_CONNECTOR
4
4
  - Add help, list, describe, and manifest actions
5
+ - Inherit default serializers
5
6
 
6
7
  ## [0.0.1] - 2024-12-01
7
8
 
@@ -13,16 +13,10 @@ module Foobara
13
13
 
14
14
  attr_accessor :supported_actions
15
15
 
16
- # TODO: push these default serializers up into the base class
17
- def initialize(*, supported_actions: self.class.supported_actions, **opts, &)
16
+ def initialize(*, supported_actions: self.class.supported_actions, **, &)
18
17
  self.supported_actions = supported_actions
19
18
 
20
- opts[:default_serializers] ||= [
21
- Foobara::CommandConnectors::Serializers::ErrorsSerializer,
22
- Foobara::CommandConnectors::Serializers::JsonSerializer
23
- ]
24
-
25
- super(*, **opts, &)
19
+ super(*, **, &)
26
20
 
27
21
  install!
28
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foobara-rails-command-connector
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miles Georgi