Commit 829c3804801bbc09bab3a4d2a0da4278eb607928
- Date: Sun Dec 30 23:52:11 +0000 2007
- Committer: Johan Sørensen (johan@johansorensen.com)
- Author: Johan Sørensen (johan@johansorensen.com)
- Commit SHA1: 829c3804801bbc09bab3a4d2a0da4278eb607928
- Tree SHA1: b429252b213280b0bbc3136c82e2f0f3251e0cea
Rename from KeyserSource to Gitorious
Commit diff
| |   |
| 23 | 23 | find_by_name(name) || raise(ActiveRecord::RecordNotFound) |
| 24 | 24 | end |
| 25 | 25 | |
| 26 | | BASE_REPOSITORY_URL = "keysersource.org" |
| 26 | BASE_REPOSITORY_URL = "gitorious.org" |
| 27 | 27 | BASE_REPOSITORY_DIR = File.join(RAILS_ROOT, "../repositories") |
| 28 | 28 | |
| 29 | 29 | def gitdir |
| toggle raw diff |
--- a/app/models/repository.rb
+++ b/app/models/repository.rb
@@ -23,7 +23,7 @@ class Repository < ActiveRecord::Base
find_by_name(name) || raise(ActiveRecord::RecordNotFound)
end
- BASE_REPOSITORY_URL = "keysersource.org"
+ BASE_REPOSITORY_URL = "gitorious.org"
BASE_REPOSITORY_DIR = File.join(RAILS_ROOT, "../repositories")
def gitdir |
| |   |
| 3 | 3 | <html lang="en"> |
| 4 | 4 | <head> |
| 5 | 5 | <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> |
| 7 | 7 | <meta name="author" content="Johan Sørensen"> |
| 8 | 8 | <%= stylesheet_link_tag "base" -%> |
| 9 | 9 | <%= javascript_include_tag :defaults, :cache => true -%> |
| … | … | |
| 26 | 26 | )</p> |
| 27 | 27 | </div> |
| 28 | 28 | <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> --> |
| 31 | 31 | </div> |
| 32 | 32 | <div id="menu"> |
| 33 | 33 | <ul> |
| toggle raw diff |
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -3,7 +3,7 @@
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <title><%= @page_title ? @page_title + " - " : "" -%>KeyserSource</title>
+ <title><%= @page_title ? @page_title + " - " : "" -%>Gitorious</title>
<meta name="author" content="Johan Sørensen">
<%= stylesheet_link_tag "base" -%>
<%= javascript_include_tag :defaults, :cache => true -%>
@@ -26,8 +26,8 @@
)</p>
</div>
<div id="logo">
- <%= link_to image_tag("logo-test.png"), root_path -%>
- <!-- <h1><%= link_to "KeyserSource", root_path -%></h1> -->
+ <%= link_to image_tag("logo.png"), root_path -%>
+ <!-- <h1><%= link_to "Gitorious", root_path -%></h1> -->
</div>
<div id="menu">
<ul> |
| |   |
| toggle raw diff |
Binary files /dev/null and b/public/images/logo.png differ |
| |   |
| 62 | 62 | end |
| 63 | 63 | |
| 64 | 64 | 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" |
| 66 | 66 | end |
| 67 | 67 | |
| 68 | 68 | 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" |
| 70 | 70 | end |
| 71 | 71 | |
| 72 | 72 | it "should assign the creator as a comitter on create" do |
| toggle raw diff |
--- a/spec/models/repository_spec.rb
+++ b/spec/models/repository_spec.rb
@@ -62,11 +62,11 @@ describe Repository do
end
it "has a push url" do
- @repository.push_url.should == "git@keysersource.org:#{@repository.project.slug}/foo.git"
+ @repository.push_url.should == "git@gitorious.org:#{@repository.project.slug}/foo.git"
end
it "has a clone url" do
- @repository.clone_url.should == "git://keysersource.org/#{@repository.project.slug}/foo.git"
+ @repository.clone_url.should == "git://gitorious.org/#{@repository.project.slug}/foo.git"
end
it "should assign the creator as a comitter on create" do |