Skip to content
This repository has been archived by the owner on Jun 8, 2019. It is now read-only.

Commit

Permalink
Whitespace and parentheses.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Berke-Williams committed Sep 9, 2011
1 parent 8949cdc commit 7e255bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/kumade/deployer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def heroku(command)

def cedar?
return @cedar unless @cedar.nil?

@cedar = heroku("stack").split("\n").grep(/\*/).any? do |line|
line.include?("cedar")
end
Expand Down Expand Up @@ -107,7 +108,7 @@ def package_with_more
end

def invoke_custom_task
success "Running kumade:before_asset_compilation task"
success("Running kumade:before_asset_compilation task")
Rake::Task["kumade:before_asset_compilation"].invoke unless pretending
end

Expand Down
2 changes: 1 addition & 1 deletion lib/kumade/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Git < Base
attr_reader :environment
def initialize(pretending, environment)
super()
@pretending = pretending
@pretending = pretending
@environment = environment
end

Expand Down
1 change: 1 addition & 0 deletions spec/kumade/git_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@

it "returns false if the branch doesn't exist" do
command_line_mock.should_receive(:run).and_raise(Cocaine::ExitStatusError)

subject.branch_exist?("branch").should be_false
end
end
Expand Down

0 comments on commit 7e255bf

Please sign in to comment.