lambda-layer-cake 0.1.1 → 0.1.2

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: '0929fa88af212b2adbd2434aa1f75518fa50990c7b0ec5e1145153d76fde16b8'
4
- data.tar.gz: 2322e1e5922ddf716815de7cb850efa1295947430938de80e167def203b006aa
3
+ metadata.gz: 165079053a07247a8370339a65309c018b3d1f2399f9051fe2005dd7e7a3fa07
4
+ data.tar.gz: 10775cb38f8dce9d441d2bd19cb08beadea5fae6e2adde185d03413ad7eb96ba
5
5
  SHA512:
6
- metadata.gz: e823aee747d165029b115ff61455a0354d4cd33e9c73084e65b62a0199bd14ca75520ff026884e9ac59ac5c9dd5370d09b90311fb7ddb049cfa4f0750a95783b
7
- data.tar.gz: fd1b85928ef49acd74b93408994bfb5513c51d06d8166d14d3e96ce38d102cbed9faeb090f94d81dbce6b63a66183a6c62e34d72729ff31544808856bc087e29
6
+ metadata.gz: 6fd713f145c00ed6c6ff191fae15eefa1ecb63e0bcc250473356078690a9b5afa099697fab3928194885889efe99c0a85dea20d2ce5ad74247835d8fd4d08460
7
+ data.tar.gz: 7ef6f21d222904fe8a36672e34bb05f733916ee1825944b3d33cbc028ea49ed8c6e47e9bf173ecc6eec8e27e9dba2e8ad7893cf0df32530460dad92e9851fad7
@@ -66,11 +66,12 @@ def main
66
66
  FileUtils.mkdir_p('/tmp/outputs/lib')
67
67
  FileUtils.cp(libs.to_a, '/tmp/outputs/lib')
68
68
 
69
+ #This directory is not needed at runtime
70
+ STDERR.puts("Removing extra files")
71
+ FileUtils.rm_rf("/tmp/outputs/bundle/ruby/2.5.0/cache")
72
+
69
73
  STDERR.puts("Moving Bundle into place")
70
74
  FileUtils.cp_r("/tmp/build/bundle", "/tmp/outputs")
71
- #This directory is not needed at runtime
72
- #STDERR.puts("Removing extra files")
73
- #FileUtils.rm_rf("/tmp/outputs/bundle/ruby/2.5.0/cache")
74
75
 
75
76
  STDERR.puts("All Done!")
76
77
  end
@@ -67,6 +67,7 @@ module LambdaLayerCake
67
67
  system(*cmd) or raise
68
68
 
69
69
  #Insert a symlink into the app.zip
70
+ FileUtils.rm_r(working_dir("app/"), noop: true)
70
71
  FileUtils.mkdir_p(working_dir("app/vendor"))
71
72
  FileUtils.ln_s("/tmp", working_dir("app/tmp"))
72
73
  FileUtils.ln_s("/opt/bundle", working_dir("app/vendor/bundle"), force: true)
@@ -1,3 +1,3 @@
1
1
  module LambdaLayerCake
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
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.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Bowers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-09-19 00:00:00.000000000 Z
11
+ date: 2019-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec