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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2d256e0477a8ec7b966e1057b05c3d4b2c12b8c405e7284420b94fde6fe51d5
4
- data.tar.gz: e0a0a9b57b416c23248b0e5572301088e96945c19927ced3754c39ec0908a51d
3
+ metadata.gz: 1cf3b42d2f84a01e318c896f27767542b80eee46da639c1f814a33703fb8a3e2
4
+ data.tar.gz: 6979f400ca99822e669b764134b3ddaea10b91b7e0c26493d6705dc1d2343bb3
5
5
  SHA512:
6
- metadata.gz: 93b220cf765f619aaeb2a248533fe24ce332593434e29b5048d8d0940c1576a2779e2a97d647da1c7b7e86f9ef4f1796d7da70b82a6a12945dcb5b880e64fd17
7
- data.tar.gz: 9945dc2b0334db89b04ebbb930a82ee440a7dded791f3dbdf1bc719a764ca86b3b9b3cb38af7a0e56a8671da440f13a128a127a45fbc10e787bdf2f66ea810af
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
- return "Warm Up" if event["source"] == "serverless-plugin-warmup"
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 = {
@@ -1,3 +1,3 @@
1
1
  module ServerlessHub
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: serverless_hub
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Will