Skip to content

Commit

Permalink
Algumas correções. Adicionado gema para postgresql.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcello committed Jan 14, 2014
1 parent fc484e1 commit 5bf4d98
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ gem 'jquery-rails'
gem 'friendly_id'
gem 'thin'
gem 'strong_parameters'
gem 'pg', '0.14.1'

group :sqlite do
gem 'sqlite3'
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ GEM
mysql2 (0.3.13)
nokogiri (1.6.0)
mini_portile (~> 0.5.0)
pg (0.14.1)
polyglot (0.3.3)
pry (0.9.12.2)
coderay (~> 1.0.5)
Expand Down Expand Up @@ -188,6 +189,7 @@ DEPENDENCIES
kaminari
mocha
mysql2
pg (= 0.14.1)
pry-rails
rails (= 3.2.14)
sass-rails
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/admin/projects/repositories_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def update
end

if @repository.update_attributes(params[:repository])
log current_user, "Alterou o reposiotio #{@repository.name} no projeto #{current_project.name}"
log current_user, "Alterou o repositório #{@repository.name} no projeto #{current_project.name}"
redirect_to current_project, notice: 'Repository was successfully updated.'
else
render action: "edit"
Expand Down
2 changes: 1 addition & 1 deletion lib/cranelift/scm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def log (start = 0, limit = 0)

def delete_files
if File.directory?(project_path)
FileUtils.rm_rf(project_pathadd_ssl_server_trust_prompt_provider)
FileUtils.rm_rf(project_path)
end
end

Expand Down

0 comments on commit 5bf4d98

Please sign in to comment.