GoEC2 1.0.2 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/GoEC2.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{GoEC2}
8
- s.version = "1.0.2"
8
+ s.version = "1.1.0"
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"]
12
- s.date = %q{2009-10-21}
12
+ s.date = %q{2009-11-12}
13
13
  s.default_executable = %q{goec2}
14
14
  s.description = %q{Simple and opinionated helper for creating and managing Rubygem projects on GitHub}
15
15
  s.email = %q{jfiorini@within3.com}
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.2
1
+ 1.1.0
@@ -38,12 +38,10 @@ else
38
38
  ln -s $conf_dir$ec2_dir ~/
39
39
  fi
40
40
 
41
- sudo gem install sevenwire-forgery
41
+ gem install forgery --source "http://gemcutter.org"
42
42
 
43
43
  cp pk-* cert-* default-key-pair.pem ~/$ec2_dir
44
44
 
45
- sudo cp goec2 /usr/local/bin
46
-
47
45
  touch ~/$ec2_dir/instance_mappings.yml
48
46
 
49
47
  export EC2_PRIVATE_KEY=$(ls ~/$ec2_dir/pk-*)
data/lib/utils.rb CHANGED
@@ -5,6 +5,7 @@ require 'file_reader'
5
5
 
6
6
  EC2_SSH_KEY_NAME = ENV['EC2_KEYPAIR_NAME'] || 'default'
7
7
  EC2_SSH_KEY_PATH = ENV['EC2_KEYPAIR_PATH'] || '~/.ec2/default-key-pair.pem'
8
+ EC2_DEFAULT_KEY_PATH = '~/.ec2/default-key-pair.pem'
8
9
 
9
10
  Instance = Struct.new(:line, :instance_id, :image, :status, :url, :name)
10
11
 
@@ -70,7 +71,7 @@ module Utils
70
71
 
71
72
  def ssh(url, options={})
72
73
  puts url
73
- exec "ssh -i #{EC2_SSH_KEY_PATH} #{options[:user]}@#{url}"
74
+ exec "ssh -i #{EC2_DEFAULT_KEY_PATH} #{options[:user]}@#{url}"
74
75
  end
75
76
 
76
77
  def scp_up instance, source, destination
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: GoEC2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Within3
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2009-10-21 00:00:00 -04:00
14
+ date: 2009-11-12 00:00:00 -05:00
15
15
  default_executable: goec2
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency