kapify 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -0
- data/lib/kapify/base.rb +5 -0
- data/lib/kapify/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
data/lib/kapify/base.rb
CHANGED
@@ -20,6 +20,11 @@ Capistrano::Configuration.instance.load do
|
|
20
20
|
end
|
21
21
|
end
|
22
22
|
|
23
|
+
def run_interactively(command, server=nil)
|
24
|
+
server ||= find_servers_for_task(current_task).first
|
25
|
+
exec %Q(ssh #{user}@#{server.host} -p #{port} -t '#{command}')
|
26
|
+
end
|
27
|
+
|
23
28
|
set_default(:templates_path, "#{Dir.pwd}/config/deploy/templates")
|
24
29
|
|
25
30
|
def template(from, to)
|
data/lib/kapify/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kapify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -105,7 +105,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
105
105
|
version: '0'
|
106
106
|
segments:
|
107
107
|
- 0
|
108
|
-
hash:
|
108
|
+
hash: -2772859173059798326
|
109
109
|
none: false
|
110
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
114
114
|
version: '0'
|
115
115
|
segments:
|
116
116
|
- 0
|
117
|
-
hash:
|
117
|
+
hash: -2772859173059798326
|
118
118
|
none: false
|
119
119
|
requirements: []
|
120
120
|
rubyforge_project:
|