taketo 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -13,7 +13,7 @@ module Taketo
13
13
  end
14
14
 
15
15
  def program
16
- "mosh"
16
+ "MOSH_TITLE_NOPREFIX=1 mosh --no-init"
17
17
  end
18
18
 
19
19
  def ssh_program
@@ -74,7 +74,7 @@ feature "connect to server" do
74
74
  CONFIG
75
75
 
76
76
  run "taketo --dry-run"
77
- stdout.should == %q{mosh --ssh="ssh -i /home/gor/.ssh/foo\ bar" -- 2.3.4.5 /bin/sh -c "RAILS_ENV=staging bash"}
77
+ stdout.should == %q{MOSH_TITLE_NOPREFIX=1 mosh --no-init --ssh="ssh -i /home/gor/.ssh/foo\ bar" -- 2.3.4.5 /bin/sh -c "RAILS_ENV=staging bash"}
78
78
  stderr.should be_empty
79
79
  exit_status.should be_success
80
80
  end
@@ -14,12 +14,12 @@ describe "Mosh Command" do
14
14
  subject(:mosh_command) { MoshCommand.new(server) }
15
15
 
16
16
  it "composes command based on provided server object" do
17
- mosh_command.render("foobar").should == %q[mosh --ssh="ssh -p 22 -i /home/gor/.ssh/qqq" -- deployer@1.2.3.4 /bin/sh -c "foobar"]
17
+ mosh_command.render("foobar").should == %q[MOSH_TITLE_NOPREFIX=1 mosh --no-init --ssh="ssh -p 22 -i /home/gor/.ssh/qqq" -- deployer@1.2.3.4 /bin/sh -c "foobar"]
18
18
  end
19
19
 
20
20
  it "ignores absent parts if they are not required" do
21
21
  server.stub(:port => nil, :username => nil, :identity_file => nil)
22
- mosh_command.render("foobar").should == %q[mosh -- 1.2.3.4 /bin/sh -c "foobar"]
22
+ mosh_command.render("foobar").should == %q[MOSH_TITLE_NOPREFIX=1 mosh --no-init -- 1.2.3.4 /bin/sh -c "foobar"]
23
23
  end
24
24
  end
25
25
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: taketo
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.0
5
+ version: 0.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Vladimir Yarotsky