awful 0.0.41 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awful/lambda.rb +4 -2
- data/lib/awful/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e1d33f185150489d2da3459a03f125a27719374
|
4
|
+
data.tar.gz: 5d2201ee4555108b680e7ffe406f5f31f2d3c03c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 732e50aeaf4edc5eeefebac0524b97dee2c781165f6a1daff76cb38568cc1068e4e1c6c9c4092b600e3a9db5d548f6a80641c90dea13445a32728861ddcbacdc
|
7
|
+
data.tar.gz: 6aa6f92cd1f0ca381f34579a9fd5d1356be17338c065f3a68d9e0c0695c2aa8be7c54a7076420868d6a95a6a04b6aa85929f0ee4a1a4a35900795e89568b38ec
|
data/lib/awful/lambda.rb
CHANGED
@@ -65,9 +65,11 @@ module Awful
|
|
65
65
|
response = lambda.update_function_configuration(only_keys_matching(opt, whitelist)).to_hash
|
66
66
|
|
67
67
|
## update code
|
68
|
-
opt[:code] = {zip_file:
|
68
|
+
opt[:code] = {zip_file: options[:zip_file]} if options[:zip_file]
|
69
69
|
unless opt.fetch(:code, {}).empty?
|
70
|
-
|
70
|
+
code = opt[:code].merge({function_name: opt[:function_name]})
|
71
|
+
code[:zip_file] = zip_thing(code[:zip_file]) if code[:zip_file]
|
72
|
+
r = lambda.update_function_code(code)
|
71
73
|
response = response.merge(r.to_hash)
|
72
74
|
end
|
73
75
|
|
data/lib/awful/version.rb
CHANGED