sushi 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/sushi/ssh.rb +1 -0
  2. data/lib/sushi/version.rb +1 -1
  3. metadata +22 -38
data/lib/sushi/ssh.rb CHANGED
@@ -24,6 +24,7 @@ Capistrano::Configuration.instance(:must_exist).load do
24
24
  params += " -p #{options[:port]}" unless options[:port].nil?
25
25
  logger.debug "connecting to #{host}"
26
26
  logger.info "password: #{password}" if self.variables[:password].kind_of?(String)
27
+ params += %{ -t "cd #{fetch(:sushi_default_dir)} && bash"} if self[:sushi_default_dir]
27
28
  exec "ssh #{params}"
28
29
  end
29
30
  end
data/lib/sushi/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Sushi
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,67 +1,51 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: sushi
3
- version: !ruby/object:Gem::Version
4
- prerelease: false
5
- segments:
6
- - 0
7
- - 0
8
- - 2
9
- version: 0.0.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.3
5
+ prerelease:
10
6
  platform: ruby
11
- authors:
7
+ authors:
12
8
  - presskey
13
9
  autorequire:
14
10
  bindir: bin
15
11
  cert_chain: []
16
-
17
- date: 2011-12-02 00:00:00 +02:00
18
- default_executable:
12
+ date: 2013-09-29 00:00:00.000000000 Z
19
13
  dependencies: []
20
-
21
14
  description: Capistrano SSH recipe that starts a SSH connection to remote server.
22
15
  email: hello.from.code@gmail.com
23
16
  executables: []
24
-
25
17
  extensions: []
26
-
27
18
  extra_rdoc_files: []
28
-
29
- files:
19
+ files:
30
20
  - LICENSE
31
21
  - README.rdoc
32
22
  - lib/sushi.rb
33
23
  - lib/sushi/ssh.rb
34
24
  - lib/sushi/version.rb
35
25
  - sushi.gemspec
36
- has_rdoc: true
37
26
  homepage: http://github.com/presskey/sushi
38
27
  licenses: []
39
-
40
28
  post_install_message:
41
29
  rdoc_options: []
42
-
43
- require_paths:
30
+ require_paths:
44
31
  - lib
45
- required_ruby_version: !ruby/object:Gem::Requirement
46
- requirements:
47
- - - ">="
48
- - !ruby/object:Gem::Version
49
- segments:
50
- - 0
51
- version: "0"
52
- required_rubygems_version: !ruby/object:Gem::Requirement
53
- requirements:
54
- - - ">="
55
- - !ruby/object:Gem::Version
56
- segments:
57
- - 0
58
- version: "0"
32
+ required_ruby_version: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ! '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
38
+ required_rubygems_version: !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
59
44
  requirements: []
60
-
61
45
  rubyforge_project:
62
- rubygems_version: 1.3.6
46
+ rubygems_version: 1.8.24
63
47
  signing_key:
64
48
  specification_version: 3
65
49
  summary: Capistrano SSH recipe.
66
50
  test_files: []
67
-
51
+ has_rdoc: