GoEC2 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/GoEC2.gemspec +1 -1
- data/VERSION +1 -1
- data/lib/utils.rb +2 -3
- metadata +1 -1
data/GoEC2.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{GoEC2}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.5"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Within3", "Joe Fiorini", "Jonathan Penn"]
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.5
|
data/lib/utils.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
|
-
require 'forgery
|
2
|
-
require 'forgery/file_reader'
|
1
|
+
require 'forgery'
|
3
2
|
require 'yaml'
|
4
3
|
|
5
4
|
EC2_SSH_KEY_NAME = ENV['EC2_KEYPAIR_NAME'] || 'default'
|
@@ -23,7 +22,7 @@ module Utils
|
|
23
22
|
end
|
24
23
|
|
25
24
|
def get_name_for_instance
|
26
|
-
Forgery
|
25
|
+
Forgery.dictionaries[:company_names].random.downcase
|
27
26
|
end
|
28
27
|
|
29
28
|
def parse_aws_status_line_into_instance line, name=nil
|