foobara-resque-scheduler-connector 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/src/resque_scheduler_connector.rb +7 -1
- 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: 20d96e0b6140c372417ce0cc2e742efb357be7771a5c163c061486d305524d0d
|
4
|
+
data.tar.gz: 355c28c5cd2e0edb72f5d38b700484767efea3282313a5b1b08cf1ce942a8a9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ce184ab823ecee2cba18c7c35174c84f2b47c99b560487850d4d2683d7b54c5f28ad742e67fb0b4d35fe3a8bfc8fb1d1b7f799c2db0fa482561b3a5c8fa0ca2
|
7
|
+
data.tar.gz: 54b952ad20d5f8d9af47929d15de0202abad7e291764ade809eb36464baf9e6c32aadc2e4fbee810fcc45611337222fcb7d76017cbb5917fc553f91e65c3767f
|
data/CHANGELOG.md
CHANGED
@@ -82,7 +82,13 @@ module Foobara
|
|
82
82
|
h[:description] = description if description
|
83
83
|
|
84
84
|
if inputs
|
85
|
-
|
85
|
+
# TODO: it would be nice to use a constructed type where all entities are converted to their primary key
|
86
|
+
# types so that we could validate inputs before stuffing them into Redis. But for now we will just
|
87
|
+
# stick stuff in there raw because otherwise if we used inputs_type then primary key values would be
|
88
|
+
# cast to thunks and that would explode without a transaction.
|
89
|
+
serializer_class = CommandConnectors::Serializers::EntitiesToPrimaryKeysSerializer
|
90
|
+
serializer = serializer_class.new(detached_to_primary_key: true)
|
91
|
+
h[:args][:inputs] = serializer.serialize(inputs)
|
86
92
|
end
|
87
93
|
|
88
94
|
connector_name = resque_connector.name
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foobara-resque-scheduler-connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
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-04 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: foobara
|
@@ -38,7 +37,6 @@ dependencies:
|
|
38
37
|
- - ">="
|
39
38
|
- !ruby/object:Gem::Version
|
40
39
|
version: '0'
|
41
|
-
description:
|
42
40
|
email:
|
43
41
|
- azimux@gmail.com
|
44
42
|
executables: []
|
@@ -60,7 +58,6 @@ metadata:
|
|
60
58
|
source_code_uri: https://github.com/foobara/resque-scheduler-connector
|
61
59
|
changelog_uri: https://github.com/foobara/resque-scheduler-connector/blob/main/CHANGELOG.md
|
62
60
|
rubygems_mfa_required: 'true'
|
63
|
-
post_install_message:
|
64
61
|
rdoc_options: []
|
65
62
|
require_paths:
|
66
63
|
- lib
|
@@ -68,15 +65,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
65
|
requirements:
|
69
66
|
- - ">="
|
70
67
|
- !ruby/object:Gem::Version
|
71
|
-
version: 3.
|
68
|
+
version: 3.4.0
|
72
69
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
70
|
requirements:
|
74
71
|
- - ">="
|
75
72
|
- !ruby/object:Gem::Version
|
76
73
|
version: '0'
|
77
74
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
75
|
+
rubygems_version: 3.6.2
|
80
76
|
specification_version: 4
|
81
77
|
summary: Connects Foobara commands to resque-scheduler
|
82
78
|
test_files: []
|