serverless_hub 0.1.8 → 0.1.9
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 +2 -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: 501dbef74a376e6b148d57d2b86363f925918f521d984a1b998c7457b8782095
|
4
|
+
data.tar.gz: 0f2c5734f54c730b3a43f17d0c40e8760011f24a3a74fa12d9e5904b382432d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34dbbf698c08fe03037f69d4f0dca112cbdf5b591e237c4f45728c8004ac03dd5838cf714774a40492f8d01561cefcfd3edb85b49b1ac8e571d8875c3c7412c8
|
7
|
+
data.tar.gz: 54eb8ec3b16f83bcc75a90f4a12db141a54066ce13ca76ef4ab8f3f36f0c2a6e66fb738e229aa1eac32cea24c7a1f03477b920a49af9222bfe1e1b75704af496
|
@@ -10,10 +10,9 @@ end
|
|
10
10
|
|
11
11
|
module ServerlessHub
|
12
12
|
module Handler
|
13
|
+
ActiveSupport::Dependencies.autoload_paths += Dir[ "#{ENV["LAMBDA_TASK_ROOT"]}/app/**" ]
|
14
|
+
|
13
15
|
$app ||= Rack::Builder.new do
|
14
|
-
p Dir[ "#{ENV["LAMBDA_TASK_ROOT"]}/app/**" ]
|
15
|
-
p Dir["/**"]
|
16
|
-
p Dir["#{ENV["LAMBDA_TASK_ROOT"]}/**"]
|
17
16
|
app = if defined?(ApiEntry) == 'constant' && ApiEntry.class == Class
|
18
17
|
ApiEntry
|
19
18
|
else
|