pele 0.1.4.pre.pre → 0.1.5.pre.pre

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: 1f5082085364927e55779413b4d6c8d7b9525db1
4
- data.tar.gz: 91cf7d70ba8882e64f910766fc8c1ec15a402178
3
+ metadata.gz: cf72013c2db69776a92a3a68b559f26f5c202ee9
4
+ data.tar.gz: e98a348cc805efd777519a67dd744fae5f09b9d8
5
5
  SHA512:
6
- metadata.gz: 370a665eb0c5f916e951dc08c0c8471408cc7f62fab3812b0247048af04bc0d8562b01d18a702a84cf0b9e26185cb9fe8255aa409fca5f49fe24158d51213b6b
7
- data.tar.gz: f08d6527d4ec2be7e2704489e85edc0f5c0f659a1d10a840672b252988a6d187a4a8215bdfb6148ce16ea50aa0cbe085285886c5871d7ad4c47e045878c5322a
6
+ metadata.gz: 01af68a8ff6ca95a1d017bf852456ad16e98c99e60aee824659cc322acf423873109110f73e5a4d2472f50438d28e96b011f0cd24f6d9ecbc53d30b198567606
7
+ data.tar.gz: 0a3d81355a6335cbef263f29fa668643b10b28b5be5318a0b6ba805a15b7257f1b917a500495dab3459b10f577ad4486ac4fbfaaf23b9d216f51fcfe1e0051b3
data/lib/pele/utils.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Pele
2
2
  module Utils
3
- def get_os_path
3
+ def self.get_os_path
4
4
  if OS.windows?
5
5
  '%USERPROFILE%.awscredentials'
6
6
  elsif OS.mac? || OS.linux?
@@ -12,14 +12,14 @@ module Pele
12
12
  end
13
13
  end
14
14
 
15
- def check_existing_file(os)
15
+ def self.check_existing_file(os)
16
16
  if File.exist? File.expand_path os
17
17
  overwrite = prompt.select("This is going to overwrite your existing #{'~/.aws/credentials'.colorize(:green)}. ok?", %w[OK EXIT])
18
18
  abort unless overwrite == 'OK'
19
19
  end
20
20
  end
21
21
 
22
- def post_identification
22
+ def self.post_identification
23
23
  puts "\e[H\e[2J"
24
24
  say('Your OS identified: ', :yellow)
25
25
  puts ''
@@ -29,7 +29,7 @@ module Pele
29
29
  puts ''
30
30
  end
31
31
 
32
- def create_key_pair(os, key_pair_name)
32
+ def self.create_key_pair(os, key_pair_name)
33
33
  current_dirname = File.basename(Dir.getwd)
34
34
  ec2 = Aws::EC2::Client.new
35
35
  Dir.chdir File.dirname(os)
data/lib/pele/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pele
2
- VERSION = "0.1.4-pre"
2
+ VERSION = "0.1.5-pre"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pele
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4.pre.pre
4
+ version: 0.1.5.pre.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suyesh Bhandari