Commit 829c3804801bbc09bab3a4d2a0da4278eb607928

Rename from KeyserSource to Gitorious

Commit diff

app/models/repository.rb

 
2323 find_by_name(name) || raise(ActiveRecord::RecordNotFound)
2424 end
2525
26 BASE_REPOSITORY_URL = "keysersource.org"
26 BASE_REPOSITORY_URL = "gitorious.org"
2727 BASE_REPOSITORY_DIR = File.join(RAILS_ROOT, "../repositories")
2828
2929 def gitdir
toggle raw diff

app/views/layouts/application.html.erb

 
33<html lang="en">
44<head>
55 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6 <title><%= @page_title ? @page_title + " - " : "" -%>KeyserSource</title>
6 <title><%= @page_title ? @page_title + " - " : "" -%>Gitorious</title>
77 <meta name="author" content="Johan Sørensen">
88 <%= stylesheet_link_tag "base" -%>
99 <%= javascript_include_tag :defaults, :cache => true -%>
2626 )</p>
2727 </div>
2828 <div id="logo">
29 <%= link_to image_tag("logo-test.png"), root_path -%>
30 <!-- <h1><%= link_to "KeyserSource", root_path -%></h1> -->
29 <%= link_to image_tag("logo.png"), root_path -%>
30 <!-- <h1><%= link_to "Gitorious", root_path -%></h1> -->
3131 </div>
3232 <div id="menu">
3333 <ul>
toggle raw diff

public/images/logo.png

 
toggle raw diff

spec/models/repository_spec.rb

 
6262 end
6363
6464 it "has a push url" do
65 @repository.push_url.should == "git@keysersource.org:#{@repository.project.slug}/foo.git"
65 @repository.push_url.should == "git@gitorious.org:#{@repository.project.slug}/foo.git"
6666 end
6767
6868 it "has a clone url" do
69 @repository.clone_url.should == "git://keysersource.org/#{@repository.project.slug}/foo.git"
69 @repository.clone_url.should == "git://gitorious.org/#{@repository.project.slug}/foo.git"
7070 end
7171
7272 it "should assign the creator as a comitter on create" do
toggle raw diff