... | ... |
@@ -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 "$*" |
... | ... |
@@ -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,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,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'; |
... | ... |
@@ -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 "$*" |
... | ... |
@@ -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; |
... | ... |
@@ -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,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; |
... | ... |
@@ -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; |