jets 2.3.14 → 2.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/jets/commands/call/base_guesser.rb +4 -2
- data/lib/jets/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: 4075836f430003ceb870fea1ea766e80b309721fcdf8094020e85c438366eab6
|
4
|
+
data.tar.gz: ca1b516d29eb67b76bc54e4d18bc2ea60e20a046352f013285963705e2a1dc66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b794f90f2a2c6da415867f61cc5d6b60b65a29b62015a3f2dbeb39220e64059f0bb03835fee2bbd4db30a4e1130d53ff897baf0fa557aeec04501f5603dc360
|
7
|
+
data.tar.gz: ec39e2b5519c7dc95bac0ecfd0f6e3cd4d235653372f0e6237bcbf3226bd2e90a4452f394de194014755eceade754fcbddf7d4a121e93a2a98f08c2583717768
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,9 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/).
|
5
5
|
|
6
|
+
## [2.3.15]
|
7
|
+
- #461 fix guesser lookup for long function names
|
8
|
+
|
6
9
|
## [2.3.14]
|
7
10
|
- #432 filtered_parameters support
|
8
11
|
- #447 improve nested routes support. order routes so that nested resources always work
|
@@ -36,9 +36,11 @@ class Jets::Commands::Call
|
|
36
36
|
def generated_function_name(function_name)
|
37
37
|
if function_name.size > Jets::MAX_FUNCTION_NAME_SIZE # name generated by CloudFormation
|
38
38
|
logical_id = @class_name.gsub('::','')
|
39
|
-
app_stack_arn = lookup(parent_stack[:outputs], logical_id)
|
40
39
|
|
41
|
-
|
40
|
+
parent_resources = stack_resources(parent_stack.stack_id)
|
41
|
+
app_stack = parent_resources.find { |s| s.logical_resource_id == logical_id }
|
42
|
+
|
43
|
+
resources = stack_resources(app_stack.physical_resource_id)
|
42
44
|
resource = resources.find { |r| r.logical_resource_id == method_name.camelize + "LambdaFunction" } # method_name only contains the method
|
43
45
|
resource.physical_resource_id # actual function name
|
44
46
|
else
|
data/lib/jets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|