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.
|
1
|
+
0.3.1
|
@@ -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
|
|