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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad779537dd417dd3ddb16ca96ece7692dbf38aedff64ee95ae37a712b0fd5d33
4
- data.tar.gz: 3330511939df7a90a960711dc55bddd7e3f13ee187d0020febcba01ca7293f98
3
+ metadata.gz: 862e89024d175ec0fac695fb60af13fd28b26f6b292b1f68651d12527e476e45
4
+ data.tar.gz: 4dc8138d2c550df0db3af32be86d55a491e7b7a85b8c59ec84ed476d8facb9be
5
5
  SHA512:
6
- metadata.gz: a38a3e6ea2694cb6de54d490d940529c498bfb2f6b3f5974f6c3f89487aedec0e7e2d8855a1cf16b19ae4f9f9fb5e53d45027a833c8d4b2930a96b4895922523
7
- data.tar.gz: 99b148c4bc9f65e3c911a42a1b4be725bd3aa5fb2c2abe18918a9c5413ac6a431012899f4084c5b70a9b53ba9d9c873328da6426f923b8dbd541710013c4098d
6
+ metadata.gz: 3e7dc86198a59c89de3d35647086019402fb1aa94e98a122e9d4dc96bd0e5a9d3f0947ac4f8bbfb3ebfde0b27d5c2341080266cf4e133127e91e9c1906414e39
7
+ data.tar.gz: 1f5dbdecebe976d3f7629374b835b5116847eed7e28d2d4546d3d589d2be64eb190140aa5202088a5737a5aff3ac0f2d036abd0cb479027df1f9d4719b822138
@@ -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 (skipping)")
72
- FileUtils.rm_rf("/tmp/build/bundle/ruby/2.5.0/cache")
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")
@@ -1,3 +1,3 @@
1
1
  module LambdaLayerCake
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
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.0
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-07-11 00:00:00.000000000 Z
11
+ date: 2020-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec