jumpstart 0.5.3 → 0.5.4
Sign up to get free protection for your applications and to get access to all the features.
- data/config/jumpstart_version.yml +1 -1
- data/lib/jumpstart/base.rb +1 -1
- data/test/jumpstart/test_base.rb +1 -1
- metadata +2 -2
data/lib/jumpstart/base.rb
CHANGED
@@ -475,7 +475,7 @@ module JumpStart
|
|
475
475
|
def execute_install_command
|
476
476
|
Dir.chdir(@install_path)
|
477
477
|
unless @install_command.nil? || @install_command.empty?
|
478
|
-
puts "Executing command: #{@install_command
|
478
|
+
puts "Executing command: #{@install_command} #{@project_name} #{@install_command_args}".green
|
479
479
|
system "#{@install_command} #{@project_name} #{@install_command_args}"
|
480
480
|
end
|
481
481
|
end
|
data/test/jumpstart/test_base.rb
CHANGED
@@ -845,7 +845,7 @@ class TestJumpstartBase < Test::Unit::TestCase
|
|
845
845
|
@test_project.instance_variable_set(:@install_command_args, "install command args")
|
846
846
|
@test_project.expects(:system).once
|
847
847
|
@test_project.instance_eval {execute_install_command}
|
848
|
-
assert_equal "
|
848
|
+
assert_equal "\e[32mExecuting command: echo test_jumpstart_project install command args\e[0m\n", @test_project.output.string
|
849
849
|
end
|
850
850
|
|
851
851
|
should "raise an error if the @install_path does not exist" do
|