serverless_hub 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/serverless_hub/handler.rb +3 -3
- data/lib/serverless_hub/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cf3b42d2f84a01e318c896f27767542b80eee46da639c1f814a33703fb8a3e2
|
4
|
+
data.tar.gz: 6979f400ca99822e669b764134b3ddaea10b91b7e0c26493d6705dc1d2343bb3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f72ccec5e51b372bcb14b9a14130f2a5fe049e1542e29eeec0a637bc9f47d935932a7b9113241c92037eac7550150d3349c42eb47e4d9ee876b537cd14624260
|
7
|
+
data.tar.gz: 751bcdcc8d54c0ffa58392e313d8c2d9e2c4cd857f6a1ca0a0e1c977e34351fb06085e6c8d228d59eb56b3445b74589dd870359d316ce0d826e51bd06af75271
|
@@ -11,9 +11,9 @@ module ServerlessHub
|
|
11
11
|
end.to_app
|
12
12
|
|
13
13
|
def self.call(event:, context:)
|
14
|
-
|
15
|
-
|
16
|
-
Lamby.handler $app, event, context
|
14
|
+
return "Warm Up" if event["source"] == "serverless-plugin-warmup"
|
15
|
+
|
16
|
+
Lamby.handler $app, event, context, rack: :api
|
17
17
|
rescue Exception => msg
|
18
18
|
p "errors: #{msg}"
|
19
19
|
response = {
|