capsh 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/capsh +11 -1
- data/capsh.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/bin/capsh
CHANGED
@@ -10,7 +10,17 @@ module Ext
|
|
10
10
|
end
|
11
11
|
|
12
12
|
cfg = Capistrano::Configuration.new
|
13
|
-
cfg.
|
13
|
+
cfg.set :ssh_options, { :forward_agent => true, :auth_methods => "publickey" }
|
14
|
+
|
15
|
+
hosts = ARGV.reject{|a| a.include?("=") }
|
16
|
+
|
17
|
+
ARGV.select{|a| a.include?("=") }.each do |flag|
|
18
|
+
if flag =~ /--(.*)=(.*)/
|
19
|
+
cfg.set $1.to_sym, $2
|
20
|
+
end
|
21
|
+
end
|
22
|
+
|
23
|
+
cfg.role :app, *hosts
|
14
24
|
cfg.task :hello do
|
15
25
|
end
|
16
26
|
|
data/capsh.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{capsh}
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kyle Maxwell"]
|
12
|
-
s.date = %q{2011-01-
|
12
|
+
s.date = %q{2011-01-30}
|
13
13
|
s.default_executable = %q{capsh}
|
14
14
|
s.description = %q{Capistrano shell}
|
15
15
|
s.email = %q{kmaxwell@twitter.com}
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
7
|
+
- 2
|
8
8
|
- 0
|
9
|
-
version: 0.
|
9
|
+
version: 0.2.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Kyle Maxwell
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2011-01-
|
17
|
+
date: 2011-01-30 00:00:00 -08:00
|
18
18
|
default_executable: capsh
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|