capify-ec2 1.1.12.pre.1 → 1.1.12.pre.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capify-ec2/capistrano.rb +1 -1
- data/lib/capify-ec2/version.rb +1 -1
- metadata +3 -3
@@ -103,7 +103,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
103
103
|
desc "Allows ssh to instance by id. cap ssh <INSTANCE NAME>"
|
104
104
|
task :ssh do
|
105
105
|
server = variables[:logger].instance_variable_get("@options")[:actions][1]
|
106
|
-
instance = numeric?(server) ? CapifyEc2.running_instances[server.to_i] : CapifyEc2.get_instance_by_name(server)
|
106
|
+
instance = numeric?(server) ? CapifyEc2.running_instances[server.to_i] : CapifyEc2.get_instance_by_name(server)
|
107
107
|
port = ssh_options[:port] || 22
|
108
108
|
command = "ssh -p #{port} #{user}@#{instance.dns_name}"
|
109
109
|
puts "Running `#{command}`"
|
data/lib/capify-ec2/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capify-ec2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1923832061
|
5
5
|
prerelease: true
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
9
|
- 12
|
10
10
|
- pre
|
11
|
-
-
|
12
|
-
version: 1.1.12.pre.
|
11
|
+
- 2
|
12
|
+
version: 1.1.12.pre.2
|
13
13
|
platform: ruby
|
14
14
|
authors:
|
15
15
|
- Noah Cantor
|