menu-cli 0.3.2 → 0.3.3

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
  SHA1:
3
- metadata.gz: 9512579d3df0f9ae34ef9363ed28f7fe4fff9f77
4
- data.tar.gz: fddd47cefb9d4a39ae27e21878867b78a9c3e094
3
+ metadata.gz: 5397733fc07b579b71961c9312b191e010b6683d
4
+ data.tar.gz: f754f7765054ca1099b8499b930668a8ab3a497a
5
5
  SHA512:
6
- metadata.gz: 071f1dbb8f56945f9676b044432454e94632d72c4cc8b600cf205be2bd645d78d0c2411cad714f7ed279d5512e18008a89fcc6cfd6a6b9665e29756bc8cfdbaf
7
- data.tar.gz: 3d36674230dc282e8e2d95d852d5b0dbc76f2c49bbcbad91e30ccf97d3d4c2a4287a366dd51bb2af0676c91ab07b127ead5000a57c00971ee1709dfcf28db393
6
+ metadata.gz: 6919ead2bdeec944ef883e69e888d8d8f376ed8595d7a354d953590745bf90847879a90574e761fa6f3588c3d663da045bce5e714ef0807d0caaf739eb84324a
7
+ data.tar.gz: 13c74afa3dca55338d30cfe3ca0c1ef6bca32b103b8b2b9ccd844bfff721f5b780dceca447bfcc8529954fc2323044fcd951aae6ca6f33167df966eb59a84f85
@@ -10,7 +10,7 @@ module Menu
10
10
 
11
11
  def upload_payload
12
12
  s3 = Aws::S3::Client.new(region: 'us-east-1')
13
- key = "#{options.component}/v#{self.version}-#{md5}#{File.extname(@payload_file)}"
13
+ key = "#{options.component}/v#{self.version}-#{@md5}#{File.extname(@payload_file)}"
14
14
  puts "Uploading payload (#{key}) to S3..." if @options.verbose
15
15
  s3.put_object(
16
16
  acl: "public-read",
@@ -30,6 +30,7 @@ module Menu
30
30
  @payload_file = file
31
31
  puts "Calcuating checksum..." if @options.verbose
32
32
  md5 = Digest::MD5.file(file).hexdigest
33
+ @md5 = md5
33
34
  puts "Checksum: "+ md5
34
35
  end
35
36
 
@@ -1,3 +1,3 @@
1
1
  module Menu
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: menu-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kurt Nelson