pele 0.1.11.pre.pre → 0.1.12.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: e77d79e2a8a6ee2c6b6c83fd07b4f6765954b2e9
4
- data.tar.gz: 23575a1086d015a20215aa43538c7e88e35aa16f
3
+ metadata.gz: aec4459bfaa9e562423f5fec59108fea84ee4b3e
4
+ data.tar.gz: 35d1e895cfe360bc80347bc86771e278f12b0675
5
5
  SHA512:
6
- metadata.gz: be570a0d7866b6ee888eaad6d75ceda4f21107513237c99d2b9a3e9699f7eba7a558c02c24e2255cfcd9a4dbacd1f348f3cc832bb91fb1d4a3f9aeede26c094c
7
- data.tar.gz: 530329f6da2faf59d739ea03108f2628dc30c1d5ff8210701e99ec1d08231f5985c1c47604de06b3c638cb3f48c80a12f89de83e471e2c7953fa3c1888e199f2
6
+ metadata.gz: ec590af23d90cca6030116610602102cb9113d01be291fd27a4b103f49ecbcc9a22fd888135923b8d3facb029e8db1ad63c2ff28c86ca010029a6b330a96ab38
7
+ data.tar.gz: 72245962ad53e3f921c6d9e237120eb60f47528300d9327311edc5668a480258a9234e7f7e4cbd539efed42be98015fbe3f8c2140899ade6a0301ab775f337c1
data/lib/pele/cli.rb CHANGED
@@ -49,14 +49,14 @@ module Pele
49
49
  begin
50
50
  ec2 = Aws::EC2::Client.new
51
51
  key_pair = ec2.create_key_pair(key_name: "#{key_pair_name}-pele")
52
- create_file "~/.ssh/#{key_pair.key_name}.pem" do
52
+ create_file (OS.mac? || OS.linux? ? "~/.ssh/#{key_pair.key_name}.pem" : "%HOMEPATH%\.ssh\#{key_pair.key_name}.pem") do
53
53
  key_pair.key_material
54
54
  end
55
55
  say('Key-pair successfully generated', :green)
56
56
  rescue => e
57
- say('Something went wrong while trying to create key-pair. Please try again', :red)
57
+ say('Something went wrong while trying to create key-pair. Please try again', :cyan)
58
58
  puts ''
59
- puts "Error: #{e}"
59
+ puts "Error: #{e}".colorize(:red)
60
60
  end
61
61
  end
62
62
  end
data/lib/pele/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pele
2
- VERSION = '0.1.11-pre'.freeze
2
+ VERSION = '0.1.12-pre'.freeze
3
3
  end
data/pele.gemspec CHANGED
@@ -13,8 +13,6 @@ Gem::Specification.new do |spec|
13
13
  spec.description = "Pele lets you deploy multiple servers and run load test"
14
14
  spec.homepage = "https://github.com/suyesh/pele"
15
15
 
16
- # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
- # to allow pushing to a single host or delete this section to allow pushing to any host.
18
16
  if spec.respond_to?(:metadata)
19
17
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
20
18
  else
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.11.pre.pre
4
+ version: 0.1.12.pre.pre
5
5
  platform: ruby
6
6
  authors:
7
7
  - Suyesh Bhandari