herdst_worker 0.1.13 → 0.1.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/herdst_worker/queue/runner.rb +13 -0
- data/lib/herdst_worker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a8ee87eb31076a5197533170b8cc692ca76281d962a0e296f8ed88bbc535e1af
|
4
|
+
data.tar.gz: 436409adc17f62f031236eb19d9bd536dc8538b37f435e0853a2c61637896b9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 750580eba97495e1dcacaeefb309ba4fb60d1562f3235903c0f0ee345301bc145704969beb336515b3ed75890f0b75b8511a305065a4b70ddd096e0f92ed163c
|
7
|
+
data.tar.gz: c76aece17773f0cf7e9847f1557734835ffaffac2a335a07a11d8480a8418d937481182cdc2ea74373d36640623c0f57724aba4bbb6ed4a7b06f6db71b0b95bd
|
@@ -101,6 +101,19 @@ module HerdstWorker
|
|
101
101
|
}
|
102
102
|
end
|
103
103
|
|
104
|
+
if message["source"] != nil and message["source"].starts_with?("aws.")
|
105
|
+
action_name = message["source"].split(".").last
|
106
|
+
|
107
|
+
message_record = message.dup
|
108
|
+
message_record["configurationId"] = "Event#{action_name.camelize}"
|
109
|
+
message_record["sentTimestamp"] = sent_timestamp
|
110
|
+
message_record["triggerTimestamp"] = trigger_timestamp || sent_timestamp
|
111
|
+
|
112
|
+
return Concurrent::Promise.new {
|
113
|
+
execute_message!(nil, nil, message_record)
|
114
|
+
}
|
115
|
+
end
|
116
|
+
|
104
117
|
return Concurrent::Promise.new {}
|
105
118
|
end
|
106
119
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: herdst_worker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Herd.St
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|