cfhighlander 0.3.0.alpha.1530585444 → 0.3.0.alpha.1530774510

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cfhighlander.compiler.rb +2 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bec433a6d77acb748b0d67e1714c443cccfb7b83b3e00299ebf649428a98c539
4
- data.tar.gz: de5617823a9151fa11fa5ab27a5a68b94cb487793ec74296b18b50a26e7dbef2
3
+ metadata.gz: 3aac59fddb269e962ce6360bcb3bfe4b7a8637141f102a3db0af6384dd70cf65
4
+ data.tar.gz: 864f5122928958e8a92778a1c6cd6f1b766a9496e22b9931e6597f2e1206c979
5
5
  SHA512:
6
- metadata.gz: 34ca6d791c39d8b2c7c11cfad40f03a8e7c2ee1c555629be94ce8e92f36802037c346221b3a191e9e887bb30abb4ee1935660f182a5fd047ca5a7a1470f4bcbe
7
- data.tar.gz: ff0e30b332e34263cddeb026610e46bf233f14077e9cc17dd8a2d99d22e48b336b7c19acdbba9baa3a57c1566b019e49b06ee4abfcdabb0e096532b9fca9d135
6
+ metadata.gz: 526e07eb3845b6841046fb0cd14c0fe6a499ea00f23ea51cfba87488de90f5534ad8ef5bb652be5de2b01193bb9a19f323dc6a48ba0817409afd2d0aa86b918f
7
+ data.tar.gz: 90be475a470fdb6c1a31041a1fc0b0b11bfedb6ce83de65cd6161ca3b14753cf89ea4933d42809036dd38d74218a797d55e919c7eafb607c2837837ca8c55daa
@@ -233,6 +233,7 @@ module Cfhighlander
233
233
 
234
234
  # download file if code remote archive
235
235
  puts "Packaging AWS Lambda function #{name}...\n"
236
+ puts "Destination archive is #{full_destination_path}"
236
237
  if lambda_config['code'].include? 'http'
237
238
  md5 = Digest::MD5.new
238
239
  md5.update lambda_config['code']
@@ -243,7 +244,7 @@ module Cfhighlander
243
244
  FileUtils.copy(cached_downloads[lambda_config['code']], full_destination_path)
244
245
  elsif File.file? cached_location
245
246
  puts "Using cached download - '#{cached_location}'"
246
- FileUtils.copy(cached_location, "#{out_folder}/src.zip")
247
+ FileUtils.copy(cached_location, full_destination_path)
247
248
  else
248
249
  puts "Downloading file #{lambda_config['code']} ..."
249
250
  download = open(lambda_config['code'])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfhighlander
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0.alpha.1530585444
4
+ version: 0.3.0.alpha.1530774510
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nikola Tosic
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-07-03 00:00:00.000000000 Z
12
+ date: 2018-07-05 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: highline