lambda_wrap 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lambda_wrap/lambda_manager.rb +2 -2
- data/lib/lambda_wrap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e374a4047a1194f4a9d9560b42e09794691d7ebf
|
4
|
+
data.tar.gz: ee654729cd74b622d9b1c27b48585a4b03d6a51b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 722fb9afe90bdc427027616710ce4dfbef4974d22dec8c5f313c66c08ae51d351d4dc539adf90236b32881ff0969d7c22c5ee75f3c1d4e8b364e43ecca862dda
|
7
|
+
data.tar.gz: 969059746ef50dcee55025ea9eba72075f95c48864fe2568d89d687765d0ceab9add4dc55431d216d11f12fbdd2392ea419ad5dbded268404fb1ee4d45af7706
|
@@ -185,8 +185,8 @@ nodejs4.3, nodejs6.10, java8, python2.7, python3.6, dotnetcore1.0, or nodejs4.3-
|
|
185
185
|
|
186
186
|
lambda_version = @client.create_function(
|
187
187
|
function_name: @lambda_name, runtime: @runtime, role: @role_arn, handler: @handler,
|
188
|
-
code: { zip_file: @path_to_zip_file }, description: @description, timeout: @timeout,
|
189
|
-
vpc_config: @vpc_configuration, publish: true
|
188
|
+
code: { zip_file: File.open(@path_to_zip_file, 'rb').read }, description: @description, timeout: @timeout,
|
189
|
+
memory_size: @memory_size, vpc_config: @vpc_configuration, publish: true
|
190
190
|
).version
|
191
191
|
puts "Successfully created Lambda: #{@lambda_name}!"
|
192
192
|
lambda_version
|
data/lib/lambda_wrap/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lambda_wrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Markus Thurner
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-05-
|
13
|
+
date: 2017-05-23 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: aws-sdk
|