Showing 12 changed files with 11 additions and 11 deletions
+1 -1
gitpub → gitprep
... ...
@@ -3,4 +3,4 @@
3 3
 DIR=$(dirname $0)
4 4
 PERL5LIB="$DIR/mojolegacy/lib:$DIR/extlib/lib/perl5"
5 5
 export PERL5LIB
6
-$DIR/mojolegacy/script/hypnotoad $DIR/script/gitpub "$*"
6
+$DIR/mojolegacy/script/hypnotoad $DIR/script/gitprep "$*"
gitpub.conf → gitprep.conf
File renamed without changes.
gitpub.conf.example → gitprep.conf.example
File renamed without changes.
+3 -3
lib/Gitpub.pm → lib/Gitprep.pm
... ...
@@ -1,10 +1,10 @@
1 1
 use 5.008007;
2
-package Gitpub;
2
+package Gitprep;
3 3
 
4 4
 our $VERSION = '1.00';
5 5
 
6 6
 use Mojo::Base 'Mojolicious';
7
-use Gitpub::Git;
7
+use Gitprep::Git;
8 8
 
9 9
 has 'git';
10 10
 
... ...
@@ -25,7 +25,7 @@ sub startup {
25 25
   $conf->{text_exts} ||= ['txt'];
26 26
   
27 27
   # Git
28
-  my $git = Gitpub::Git->new;
28
+  my $git = Gitprep::Git->new;
29 29
   my $git_bin = $conf->{git_bin} ? $conf->{git_bin} : $git->search_bin;
30 30
   die qq/Can't detect git command. set "git_bin" in gitpub.conf/
31 31
     unless $git_bin;
+1 -1
lib/Gitpub/Git.pm → lib/Gitprep/Git.pm
... ...
@@ -1,4 +1,4 @@
1
-package Gitpub::Git;
1
+package Gitprep::Git;
2 2
 use Mojo::Base -base;
3 3
 
4 4
 use Carp 'croak';
+1 -1
lib/Gitpub/Main.pm → lib/Gitprep/Main.pm
... ...
@@ -1,4 +1,4 @@
1
-package Gitpub::Main;
1
+package Gitprep::Main;
2 2
 use Mojo::Base 'Mojolicious::Controller';
3 3
 use File::Basename 'dirname';
4 4
 use Carp 'croak';
+1 -1
morbo
... ...
@@ -3,4 +3,4 @@
3 3
 DIR=$(dirname $0)
4 4
 PERL5LIB="$DIR/mojolegacy/lib:$DIR/extlib/lib/perl5"
5 5
 export PERL5LIB
6
-$DIR/mojolegacy/script/morbo $DIR/script/gitpub "$*"
6
+$DIR/mojolegacy/script/morbo $DIR/script/gitprep "$*"
+1 -1
script/gitpub → script/gitprep
... ...
@@ -17,7 +17,7 @@ Please visit http://mojolicio.us for detailed installation instructions.
17 17
 EOF
18 18
 
19 19
 # Application
20
-$ENV{MOJO_APP} ||= 'Gitpub';
20
+$ENV{MOJO_APP} ||= 'Gitprep';
21 21
 
22 22
 # Start commands
23 23
 Mojolicious::Commands->start;
+1 -1
templates/main/blob.html.ep
... ...
@@ -7,7 +7,7 @@
7 7
       Raw
8 8
     </a>
9 9
     |
10
-    % my $head_id = gitpub_get_head_id($project);
10
+    % my $head_id = gitprep_get_head_id($project);
11 11
     <a href="<%= url_for('blob', project => $project_ns, id_file => "HEAD/$file") %>">
12 12
       HEAD
13 13
     </a>
+1 -1
templates/main/blobdiff.html.ep
... ...
@@ -1,5 +1,5 @@
1 1
 % layout 'common';
2
-  % my $head_id = gitpub_get_head_id($project);
2
+  % my $head_id = gitprep_get_head_id($project);
3 3
   %= include '/include/header', title => 'Blob Diff', project => $project;
4 4
   %= include '/include/current_directory', home_ns => $home_ns, home => $home;
5 5
   %= include '/include/page_navi', current => 'blobdiff', head_id => $id, project_ns => $project_ns;
templates/main/gitpub/user/home.html.ep → templates/main/gitprep/user/home.html.ep
File renamed without changes.
+1 -1
templates/main/home.html.ep
... ...
@@ -1,5 +1,5 @@
1 1
 % layout 'common';
2
-  %= include '/include/header', title => 'Gitpub';
2
+  %= include '/include/header', title => 'Gitprep';
3 3
   <table class="project_list">
4 4
     <th>User</th>
5 5
     % my $toggle = 0;