cfhighlander 0.5.0.alpha.1537147173 → 0.5.0.alpha.1537149240
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/cfhighlander.compiler.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6a338d47ecf86834d9cd9ec7f2ad85bf8c13734997d078bd11e677481cfe299
|
4
|
+
data.tar.gz: 68043fe3f5c5bc8e25eb85277d54dbb38b1790f6333ef77f0cd2d8c4a8c66283
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7aff14432c28f6c1d4dd16cf9aa9ce00fbc16004e59445899383892cbac84485be34b25806b4d4d86a3c0fb87b0cbf42b4920c3cb9669b99a8550119b87fa272
|
7
|
+
data.tar.gz: 1eabf09cff841dc43f734d601a7dc0caa457419b384e0dbc12e08e30a01a420849d6b74e06ae6e6b7add48d667d7af9cd711f46cb584a8ac923fbf67b09a86c9
|
@@ -252,7 +252,7 @@ module Cfhighlander
|
|
252
252
|
md5 = Digest::MD5.new
|
253
253
|
md5.update lambda_config['code']
|
254
254
|
hash = md5.hexdigest
|
255
|
-
cached_location = "#{ENV['HOME']}/
|
255
|
+
cached_location = "#{ENV['HOME']}/.cfhighlander/cache/lambdas/#{hash}"
|
256
256
|
if cached_downloads.key? lambda_config['code']
|
257
257
|
puts "INFO | Lambda #{name} | Using already downloaded archive #{lambda_config['code']}"
|
258
258
|
FileUtils.copy(cached_downloads[lambda_config['code']], full_destination_path)
|
@@ -264,7 +264,7 @@ module Cfhighlander
|
|
264
264
|
puts "INFO | Lambda #{name} | Downloading source from #{lambda_config['code']}"
|
265
265
|
download = open(lambda_config['code'])
|
266
266
|
IO.copy_stream(download, "#{out_folder}/src.zip")
|
267
|
-
FileUtils.mkdir_p("#{ENV['HOME']}/
|
267
|
+
FileUtils.mkdir_p("#{ENV['HOME']}/.cfhighlander/cache/lambdas")
|
268
268
|
FileUtils.copy("#{out_folder}/src.zip", cached_location)
|
269
269
|
FileUtils.copy("#{out_folder}/src.zip", full_destination_path)
|
270
270
|
puts "INFO | Lambda #{name} | source cached to #{cached_location}"
|