From de29a424e6d1a5349a2738e9f02b04fe168f3676 Mon Sep 17 00:00:00 2001
From: Ben Bodenmiller <bbodenmiller@hotmail.com>
Date: Sun, 19 May 2013 02:13:39 -0700
Subject: [PATCH] changed Gitlab to GitLab

---
 doc/raketasks/maintenance.md                   |  4 ++--
 features/project/source/search_code.feature    |  6 +++---
 features/steps/project/project_search_code.rb  |  8 ++++----
 lib/support/init.d/gitlab                      |  2 +-
 lib/tasks/gitlab/check.rake                    | 18 +++++++++---------
 spec/features/gitlab_flavored_markdown_spec.rb |  2 +-
 spec/helpers/gitlab_markdown_helper_spec.rb    |  2 +-
 7 files changed, 21 insertions(+), 21 deletions(-)

diff --git a/doc/raketasks/maintenance.md b/doc/raketasks/maintenance.md
index 338e885851d..13f238df3e9 100644
--- a/doc/raketasks/maintenance.md
+++ b/doc/raketasks/maintenance.md
@@ -66,7 +66,7 @@ python2 is supported version? ... yes
 
 Checking Environment ... Finished
 
-Checking Gitlab Shell ...
+Checking GitLab Shell ...
 
 GitLab Shell version? ... OK (1.2.0)
 Repo base directory exists? ... yes
@@ -76,7 +76,7 @@ Repo base access is drwxrws---? ... yes
 post-receive hook up-to-date? ... yes
 post-receive hooks in repos are links: ... yes
 
-Checking Gitlab Shell ... Finished
+Checking GitLab Shell ... Finished
 
 Checking Sidekiq ...
 
diff --git a/features/project/source/search_code.feature b/features/project/source/search_code.feature
index f62adb5d056..13f15cc922f 100644
--- a/features/project/source/search_code.feature
+++ b/features/project/source/search_code.feature
@@ -4,6 +4,6 @@ Feature: Project Search code
     And I own project "Shop"
     Given I visit project source page
 
-  Scenario: Search for term "Welcome to Gitlab"
-    When I search for term "Welcome to Gitlab"
-    Then I should see files from repository containing "Welcome to Gitlab" 
+  Scenario: Search for term "Welcome to GitLab"
+    When I search for term "Welcome to GitLab"
+    Then I should see files from repository containing "Welcome to GitLab" 
diff --git a/features/steps/project/project_search_code.rb b/features/steps/project/project_search_code.rb
index 0dcd17a0d13..d117b019a15 100644
--- a/features/steps/project/project_search_code.rb
+++ b/features/steps/project/project_search_code.rb
@@ -3,14 +3,14 @@ class ProjectSearchCode < Spinach::FeatureSteps
   include SharedProject
   include SharedPaths
 
-  When 'I search for term "Welcome to Gitlab"' do
-    fill_in "search", with: "Welcome to Gitlab"
+  When 'I search for term "Welcome to GitLab"' do
+    fill_in "search", with: "Welcome to GitLab"
     click_button "Go"
     click_link 'Repository Code'
   end
 
-  Then 'I should see files from repository containing "Welcome to Gitlab"' do
-    page.should have_content "Welcome to Gitlab"
+  Then 'I should see files from repository containing "Welcome to GitLab"' do
+    page.should have_content "Welcome to GitLab"
     page.should have_content "GitLab is a free project and repository management application"
   end
 
diff --git a/lib/support/init.d/gitlab b/lib/support/init.d/gitlab
index 47996594e3b..4c5499bbf23 100644
--- a/lib/support/init.d/gitlab
+++ b/lib/support/init.d/gitlab
@@ -24,7 +24,7 @@ SIDEKIQ_PID="$PID_PATH/sidekiq.pid"
 STOP_SIDEKIQ="RAILS_ENV=production bundle exec rake sidekiq:stop"
 START_SIDEKIQ="RAILS_ENV=production bundle exec rake sidekiq:start"
 NAME="gitlab"
-DESC="Gitlab service"
+DESC="GitLab service"
 
 check_pid(){
   if [ -f $WEB_SERVER_PID ]; then
diff --git a/lib/tasks/gitlab/check.rake b/lib/tasks/gitlab/check.rake
index 77f5c02be2e..5e4a74b6260 100644
--- a/lib/tasks/gitlab/check.rake
+++ b/lib/tasks/gitlab/check.rake
@@ -362,10 +362,10 @@ namespace :gitlab do
 
 
   namespace :gitlab_shell do
-    desc "GITLAB | Check the configuration of Gitlab Shell"
+    desc "GITLAB | Check the configuration of GitLab Shell"
     task check: :environment  do
       warn_user_is_not_gitlab
-      start_checking "Gitlab Shell"
+      start_checking "GitLab Shell"
 
       check_gitlab_shell
       check_repo_base_exists
@@ -375,7 +375,7 @@ namespace :gitlab do
       check_post_receive_hook_is_up_to_date
       check_repos_post_receive_hooks_is_link
 
-      finished_checking "Gitlab Shell"
+      finished_checking "GitLab Shell"
     end
 
 
@@ -410,12 +410,12 @@ namespace :gitlab do
         puts "no".red
         puts "#{repo_base_path} is missing".red
         try_fixing_it(
-          "This should have been created when setting up Gitlab Shell.",
+          "This should have been created when setting up GitLab Shell.",
           "Make sure it's set correctly in config/gitlab.yml",
-          "Make sure Gitlab Shell is installed correctly."
+          "Make sure GitLab Shell is installed correctly."
         )
         for_more_information(
-          see_installation_guide_section "Gitlab Shell"
+          see_installation_guide_section "GitLab Shell"
         )
         fix_and_rerun
       end
@@ -460,7 +460,7 @@ namespace :gitlab do
           "find #{repo_base_path} -type d -print0 | sudo xargs -0 chmod g+s"
         )
         for_more_information(
-          see_installation_guide_section "Gitlab Shell"
+          see_installation_guide_section "GitLab Shell"
         )
         fix_and_rerun
       end
@@ -486,7 +486,7 @@ namespace :gitlab do
           "sudo chown -R #{gitlab_shell_ssh_user}:#{gitlab_shell_owner_group} #{repo_base_path}"
         )
         for_more_information(
-          see_installation_guide_section "Gitlab Shell"
+          see_installation_guide_section "GitLab Shell"
         )
         fix_and_rerun
       end
@@ -535,7 +535,7 @@ namespace :gitlab do
               File.realpath(project_hook_file) == File.realpath(gitlab_shell_hook_file)
             puts "ok".green
           else
-            puts "not a link to Gitlab Shell's hook".red
+            puts "not a link to GitLab Shell's hook".red
             try_fixing_it(
               "sudo -u #{gitlab_shell_ssh_user} ln -sf #{gitlab_shell_hook_file} #{project_hook_file}"
             )
diff --git a/spec/features/gitlab_flavored_markdown_spec.rb b/spec/features/gitlab_flavored_markdown_spec.rb
index aa72bcee005..53d31766a00 100644
--- a/spec/features/gitlab_flavored_markdown_spec.rb
+++ b/spec/features/gitlab_flavored_markdown_spec.rb
@@ -1,6 +1,6 @@
 require 'spec_helper'
 
-describe "Gitlab Flavored Markdown" do
+describe "GitLab Flavored Markdown" do
   let(:project) { create(:project_with_code) }
   let(:issue) { create(:issue, project: project) }
   let(:merge_request) { create(:merge_request, project: project) }
diff --git a/spec/helpers/gitlab_markdown_helper_spec.rb b/spec/helpers/gitlab_markdown_helper_spec.rb
index 4140ba484f0..23b18fbf0eb 100644
--- a/spec/helpers/gitlab_markdown_helper_spec.rb
+++ b/spec/helpers/gitlab_markdown_helper_spec.rb
@@ -370,7 +370,7 @@ describe GitlabMarkdownHelper do
       @wiki.stub(:content).and_return('wiki content')
     end
 
-    it "should use Gitlab Flavored Markdown for markdown files" do
+    it "should use GitLab Flavored Markdown for markdown files" do
       @wiki.stub(:format).and_return(:markdown)
 
       helper.should_receive(:markdown).with('wiki content')
-- 
GitLab