lambda-layer-cake 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/build_env/build_ruby.rb +4 -3
- data/lib/lambda_layer_cake/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: 862e89024d175ec0fac695fb60af13fd28b26f6b292b1f68651d12527e476e45
|
4
|
+
data.tar.gz: 4dc8138d2c550df0db3af32be86d55a491e7b7a85b8c59ec84ed476d8facb9be
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e7dc86198a59c89de3d35647086019402fb1aa94e98a122e9d4dc96bd0e5a9d3f0947ac4f8bbfb3ebfde0b27d5c2341080266cf4e133127e91e9c1906414e39
|
7
|
+
data.tar.gz: 1f5dbdecebe976d3f7629374b835b5116847eed7e28d2d4546d3d589d2be64eb190140aa5202088a5737a5aff3ac0f2d036abd0cb479027df1f9d4719b822138
|
data/build_env/build_ruby.rb
CHANGED
@@ -27,7 +27,7 @@ def main
|
|
27
27
|
|
28
28
|
STDERR.puts("Building Gems")
|
29
29
|
FileUtils.mkdir_p("/tmp/build/bundle")
|
30
|
-
unless(system("bundle","install","--deployment","--path=/tmp/build/bundle"))
|
30
|
+
unless(system("bundle","install","--deployment","--path=/tmp/build/bundle","--without","test","development"))
|
31
31
|
STDERR.puts("Couldn't build gems")
|
32
32
|
exit 3
|
33
33
|
end
|
@@ -68,8 +68,9 @@ def main
|
|
68
68
|
FileUtils.cp(libs.to_a, '/tmp/outputs/lib')
|
69
69
|
|
70
70
|
#This directory is not needed at runtime
|
71
|
-
STDERR.puts("Removing extra files
|
72
|
-
FileUtils.rm_rf("/tmp/build/bundle/ruby
|
71
|
+
STDERR.puts("Removing extra files")
|
72
|
+
FileUtils.rm_rf(Dir["/tmp/build/bundle/ruby/*/cache"])
|
73
|
+
FileUtils.rm_rf(Dir["/tmp/build/bundle/ruby/*/gems/*/test"])
|
73
74
|
|
74
75
|
STDERR.puts("Moving Bundle into place")
|
75
76
|
FileUtils.cp_r("/tmp/build/bundle", "/tmp/outputs")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lambda-layer-cake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Logan Bowers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|