dolt 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Gemfile.lock +25 -5
- data/Readme.md +90 -16
- data/bin/dolt +22 -4
- data/dolt.gemspec +10 -2
- data/lib/dolt/disk_repo_resolver.rb +3 -5
- data/lib/dolt/git/blame.rb +112 -0
- data/lib/dolt/git/commit.rb +73 -0
- data/lib/dolt/git/repository.rb +26 -24
- data/lib/dolt/repo_actions.rb +32 -19
- data/lib/dolt/sinatra/actions.rb +51 -18
- data/lib/dolt/sinatra/multi_repo_browser.rb +30 -3
- data/lib/dolt/sinatra/single_repo_browser.rb +36 -2
- data/lib/dolt/template_renderer.rb +7 -8
- data/lib/dolt/version.rb +1 -1
- data/lib/dolt/view.rb +3 -61
- data/lib/dolt/view/blame.rb +57 -0
- data/lib/dolt/view/blob.rb +60 -0
- data/lib/dolt/view/breadcrumb.rb +10 -17
- data/lib/dolt/{git/blob.rb → view/commit.rb} +5 -11
- data/lib/dolt/view/gravatar.rb +29 -0
- data/lib/dolt/{git/shell.rb → view/markup.rb} +10 -16
- data/lib/dolt/view/multi_repository.rb +27 -0
- data/lib/dolt/{async/deferrable_child_process.rb → view/object.rb} +11 -24
- data/lib/dolt/view/single_repository.rb +27 -0
- data/lib/dolt/view/smart_blob_renderer.rb +33 -0
- data/lib/dolt/view/syntax_highlight.rb +86 -0
- data/lib/dolt/view/tree.rb +69 -0
- data/test/dolt/git/blame_test.rb +128 -0
- data/test/dolt/git/commit_test.rb +89 -0
- data/test/dolt/git/repository_test.rb +24 -73
- data/test/dolt/repo_actions_test.rb +77 -15
- data/test/dolt/sinatra/actions_test.rb +168 -8
- data/test/dolt/template_renderer_test.rb +44 -10
- data/test/dolt/templates/blame_test.rb +56 -0
- data/test/dolt/{views → templates}/blob_test.rb +44 -34
- data/test/dolt/templates/commits_test.rb +61 -0
- data/test/dolt/templates/raw_test.rb +41 -0
- data/test/dolt/templates/tree_test.rb +51 -0
- data/test/dolt/view/blame_test.rb +122 -0
- data/test/dolt/view/blob_test.rb +90 -0
- data/test/dolt/view/breadcrumb_test.rb +46 -0
- data/test/dolt/view/commit_test.rb +31 -0
- data/test/dolt/view/gravatar_test.rb +30 -0
- data/test/dolt/view/markup_test.rb +30 -0
- data/test/dolt/{git/blob_test.rb → view/multi_repository_test.rb} +10 -24
- data/test/dolt/view/object_test.rb +71 -0
- data/test/dolt/view/single_repository_test.rb +30 -0
- data/test/dolt/{view_test.rb → view/syntax_highlight_test.rb} +40 -27
- data/test/dolt/view/tree_test.rb +115 -0
- data/test/test_helper.rb +18 -13
- data/vendor/ui/css/gitorious.css +20 -8
- data/views/blame.erb +41 -0
- data/views/blob.erb +6 -9
- data/views/commits.erb +23 -0
- data/views/index.erb +25 -0
- data/views/raw.erb +19 -0
- data/views/tree.erb +28 -26
- metadata +156 -26
- data/lib/dolt/git/tree.rb +0 -65
- data/lib/dolt/view/highlighter.rb +0 -52
- data/test/dolt/git/shell_test.rb +0 -112
- data/test/dolt/git/tree_test.rb +0 -120
data/vendor/ui/css/gitorious.css
CHANGED
@@ -165,20 +165,28 @@ li + .dropdown-label {
|
|
165
165
|
vertical-align: middle;
|
166
166
|
}
|
167
167
|
|
168
|
-
.gts-
|
168
|
+
.gts-markup {
|
169
169
|
font-size: 1.1em;
|
170
170
|
line-height: 1.5;
|
171
171
|
}
|
172
172
|
|
173
|
-
.gts-
|
174
|
-
|
173
|
+
.gts-markup h1 {
|
174
|
+
margin-top: 1em;
|
175
|
+
}
|
176
|
+
|
177
|
+
.gts-markup h1,
|
178
|
+
.gts-markup h2,
|
179
|
+
.gts-markup h3,
|
180
|
+
.gts-markup h4,
|
181
|
+
.gts-markup h5,
|
182
|
+
.gts-markup h6 {
|
175
183
|
margin-bottom: 0.25em;
|
176
184
|
}
|
177
185
|
|
178
|
-
.gts-
|
179
|
-
.gts-
|
180
|
-
.gts-
|
181
|
-
.gts-
|
186
|
+
.gts-markup p,
|
187
|
+
.gts-markup ul,
|
188
|
+
.gts-markup ol,
|
189
|
+
.gts-markup pre {
|
182
190
|
margin-bottom: 1em;
|
183
191
|
}
|
184
192
|
|
@@ -532,4 +540,8 @@ input[type=url].gts-current-repo-url {
|
|
532
540
|
|
533
541
|
.form-horizontal legend + p {
|
534
542
|
margin: -20px 0 27px;
|
535
|
-
}
|
543
|
+
}
|
544
|
+
|
545
|
+
.gts-col-commit {
|
546
|
+
width: 50em;
|
547
|
+
}
|
data/views/blame.erb
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
<%#
|
2
|
+
# encoding: utf-8
|
3
|
+
#--
|
4
|
+
# Copyright (C) 2012 Gitorious AS
|
5
|
+
#
|
6
|
+
# This program is free software: you can redistribute it and/or modify
|
7
|
+
# it under the terms of the GNU Affero General Public License as published by
|
8
|
+
# the Free Software Foundation, either version 3 of the License, or
|
9
|
+
# (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU Affero General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU Affero General Public License
|
17
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18
|
+
#++
|
19
|
+
%>
|
20
|
+
<% @title = "Blame #{path} in #{repository}:master" %>
|
21
|
+
|
22
|
+
<div class="gts-file">
|
23
|
+
<ul class="pull-right gts-blob-view">
|
24
|
+
<li><a href="<%= blob_url(repository, ref, path) %>">Blob content</a></li>
|
25
|
+
<li class="active">Blame</li>
|
26
|
+
<li><a href="<%= history_url(repository, ref, path) %>">History</a></li>
|
27
|
+
<li><a href="<%= raw_url(repository, ref, path) %>">Raw blob</a></li>
|
28
|
+
</ul>
|
29
|
+
<%= breadcrumb(repository, ref, path) %>
|
30
|
+
<table class="gts-code-listing">
|
31
|
+
<% annotations = blame_annotations(blame) %>
|
32
|
+
<% lines = blame_lines(path, blame) %>
|
33
|
+
<% annotations.length.times do |i| %>
|
34
|
+
<tr>
|
35
|
+
<%= blame_annotation_cell(annotations[i]) %>
|
36
|
+
<td class="linenum L<%= i + 1 %>"><%= i + 1 %></td>
|
37
|
+
<%= blame_code_cell(lines[i]) %>
|
38
|
+
</tr>
|
39
|
+
<% end %>
|
40
|
+
</table>
|
41
|
+
</div>
|
data/views/blob.erb
CHANGED
@@ -17,10 +17,7 @@
|
|
17
17
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18
18
|
#++
|
19
19
|
%>
|
20
|
-
<%
|
21
|
-
@title = "#{blob.path} in #{repository.name}:master"
|
22
|
-
if !defined?(multi_repo_mode); multi_repo_mode = false; end
|
23
|
-
%>
|
20
|
+
<% @title = "#{path} in #{repository}:master" %>
|
24
21
|
<div class="gts-file">
|
25
22
|
<%#
|
26
23
|
<div class="dropdown gts-branch-selector pull-right">
|
@@ -35,10 +32,10 @@
|
|
35
32
|
%>
|
36
33
|
<ul class="pull-right gts-blob-view">
|
37
34
|
<li class="active">Blob content</li>
|
38
|
-
<li><a href="<%= blame_url(repository,
|
39
|
-
<li><a href="<%= history_url(repository,
|
40
|
-
<li><a href="<%= raw_url(repository,
|
35
|
+
<li><a href="<%= blame_url(repository, ref, path) %>">Blame</a></li>
|
36
|
+
<li><a href="<%= history_url(repository, ref, path) %>">History</a></li>
|
37
|
+
<li><a href="<%= raw_url(repository, ref, path) %>">Raw blob</a></li>
|
41
38
|
</ul>
|
42
|
-
<%= breadcrumb(repository,
|
43
|
-
<%=
|
39
|
+
<%= breadcrumb(repository, ref, path) %>
|
40
|
+
<%= format_blob(path, blob.content) %>
|
44
41
|
</div>
|
data/views/commits.erb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
<% @title = "History of #{path}" %>
|
2
|
+
<ul class="pull-right gts-blob-view">
|
3
|
+
<li><a href="<%= blob_url(repository, ref, path) %>">Blob content</a></li>
|
4
|
+
<li><a href="<%= blame_url(repository, ref, path) %>">Blame</a></li>
|
5
|
+
<li class="active">History</li>
|
6
|
+
<li><a href="<%= raw_url(repository, ref, path) %>">Raw blob</a></li>
|
7
|
+
</ul>
|
8
|
+
<%= breadcrumb(repository, ref, path) %>
|
9
|
+
<% commits.each do |commit| %>
|
10
|
+
<div class="gts-commit">
|
11
|
+
<p class="gts-log-message">
|
12
|
+
<span class="gts-commit-oid"><%= commit_oid(commit[:oid]) %></span>:
|
13
|
+
<%= commit[:summary] %>
|
14
|
+
</p>
|
15
|
+
<p>
|
16
|
+
<a class="event-author" href="/~">
|
17
|
+
<img width="24" height="24" src="<%= gravatar(commit[:author][:email]) %>" alt="avatar" class="gts-avatar">
|
18
|
+
<%= commit[:author][:name] %>
|
19
|
+
</a>
|
20
|
+
<span class="event-time"><%= commit[:date].strftime("%H:%M") %></span>
|
21
|
+
</p>
|
22
|
+
</div>
|
23
|
+
<% end %>
|
data/views/index.erb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
<%#
|
2
|
+
# encoding: utf-8
|
3
|
+
#--
|
4
|
+
# Copyright (C) 2012 Gitorious AS
|
5
|
+
#
|
6
|
+
# This program is free software: you can redistribute it and/or modify
|
7
|
+
# it under the terms of the GNU Affero General Public License as published by
|
8
|
+
# the Free Software Foundation, either version 3 of the License, or
|
9
|
+
# (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU Affero General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU Affero General Public License
|
17
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18
|
+
#++
|
19
|
+
%>
|
20
|
+
<h1><%= @title = "All repositories" %></h1>
|
21
|
+
<ul>
|
22
|
+
<% repositories.each do |repo| %>
|
23
|
+
<li><a href="/<%= repo %>/tree/master:"><%= repo %></a></li>
|
24
|
+
<% end %>
|
25
|
+
</ul>
|
data/views/raw.erb
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
<%#
|
2
|
+
# encoding: utf-8
|
3
|
+
#--
|
4
|
+
# Copyright (C) 2012 Gitorious AS
|
5
|
+
#
|
6
|
+
# This program is free software: you can redistribute it and/or modify
|
7
|
+
# it under the terms of the GNU Affero General Public License as published by
|
8
|
+
# the Free Software Foundation, either version 3 of the License, or
|
9
|
+
# (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU Affero General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU Affero General Public License
|
17
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18
|
+
#++
|
19
|
+
%><%= blob.content %>
|
data/views/tree.erb
CHANGED
@@ -1,38 +1,40 @@
|
|
1
1
|
<%#
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
<% @title = "#{
|
2
|
+
# encoding: utf-8
|
3
|
+
#--
|
4
|
+
# Copyright (C) 2012 Gitorious AS
|
5
|
+
#
|
6
|
+
# This program is free software: you can redistribute it and/or modify
|
7
|
+
# it under the terms of the GNU Affero General Public License as published by
|
8
|
+
# the Free Software Foundation, either version 3 of the License, or
|
9
|
+
# (at your option) any later version.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful,
|
12
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
# GNU Affero General Public License for more details.
|
15
|
+
#
|
16
|
+
# You should have received a copy of the GNU Affero General Public License
|
17
|
+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18
|
+
#++
|
19
|
+
%>
|
20
|
+
<% @title = "#{path} in #{ref}" %>
|
21
21
|
<table class="table table-striped gts-tree-explorer">
|
22
22
|
<thead>
|
23
23
|
<tr>
|
24
|
-
<th>File</th>
|
25
|
-
<th>Changed</th>
|
26
|
-
<th colspan="2">Last commit</th>
|
24
|
+
<th colspan="<%= tree_table_padding_width("/#{path}") %>">File</th>
|
25
|
+
<th class="gts-col-changed">Changed</th>
|
26
|
+
<th class="gts-col-commit" colspan="2">Last commit</th>
|
27
27
|
</tr>
|
28
28
|
</thead>
|
29
29
|
<tbody>
|
30
|
-
|
30
|
+
<%= tree_context(repository, ref, path) %>
|
31
|
+
<% tree_entries(tree).each do |object| %>
|
31
32
|
<tr>
|
33
|
+
<%= tree_table_padding_td(path) %>
|
32
34
|
<td class="gts-name">
|
33
|
-
<a href="<%=
|
34
|
-
<i class="icon <%=
|
35
|
-
<%=
|
35
|
+
<a href="<%= object_url(repository, ref, path, object) %>">
|
36
|
+
<i class="icon <%= object_icon_class(object) %>"></i>
|
37
|
+
<%= object[:name] %>
|
36
38
|
</a>
|
37
39
|
</td>
|
38
40
|
<td></td>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dolt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 23
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 2
|
9
|
+
- 0
|
10
|
+
version: 0.2.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Christian Johansen
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-09-
|
18
|
+
date: 2012-09-25 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -26,11 +26,11 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 15
|
30
30
|
segments:
|
31
|
+
- 1
|
31
32
|
- 0
|
32
|
-
|
33
|
-
version: "0.12"
|
33
|
+
version: "1.0"
|
34
34
|
type: :runtime
|
35
35
|
version_requirements: *id001
|
36
36
|
- !ruby/object:Gem::Dependency
|
@@ -109,9 +109,100 @@ dependencies:
|
|
109
109
|
type: :runtime
|
110
110
|
version_requirements: *id006
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: em_pessimistic
|
113
113
|
prerelease: false
|
114
114
|
requirement: &id007 !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
116
|
+
requirements:
|
117
|
+
- - ~>
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
hash: 9
|
120
|
+
segments:
|
121
|
+
- 0
|
122
|
+
- 1
|
123
|
+
version: "0.1"
|
124
|
+
type: :runtime
|
125
|
+
version_requirements: *id007
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: builder
|
128
|
+
prerelease: false
|
129
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
131
|
+
requirements:
|
132
|
+
- - ~>
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
hash: 5
|
135
|
+
segments:
|
136
|
+
- 3
|
137
|
+
- 1
|
138
|
+
version: "3.1"
|
139
|
+
type: :runtime
|
140
|
+
version_requirements: *id008
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: em_rugged
|
143
|
+
prerelease: false
|
144
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
146
|
+
requirements:
|
147
|
+
- - ~>
|
148
|
+
- !ruby/object:Gem::Version
|
149
|
+
hash: 31
|
150
|
+
segments:
|
151
|
+
- 0
|
152
|
+
- 1
|
153
|
+
- 2
|
154
|
+
version: 0.1.2
|
155
|
+
type: :runtime
|
156
|
+
version_requirements: *id009
|
157
|
+
- !ruby/object:Gem::Dependency
|
158
|
+
name: tzinfo
|
159
|
+
prerelease: false
|
160
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
162
|
+
requirements:
|
163
|
+
- - ~>
|
164
|
+
- !ruby/object:Gem::Version
|
165
|
+
hash: 13
|
166
|
+
segments:
|
167
|
+
- 0
|
168
|
+
- 3
|
169
|
+
version: "0.3"
|
170
|
+
type: :runtime
|
171
|
+
version_requirements: *id010
|
172
|
+
- !ruby/object:Gem::Dependency
|
173
|
+
name: github-markup
|
174
|
+
prerelease: false
|
175
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
176
|
+
none: false
|
177
|
+
requirements:
|
178
|
+
- - ~>
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
hash: 5
|
181
|
+
segments:
|
182
|
+
- 0
|
183
|
+
- 7
|
184
|
+
version: "0.7"
|
185
|
+
type: :runtime
|
186
|
+
version_requirements: *id011
|
187
|
+
- !ruby/object:Gem::Dependency
|
188
|
+
name: htmlentities
|
189
|
+
prerelease: false
|
190
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
191
|
+
none: false
|
192
|
+
requirements:
|
193
|
+
- - ~>
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
hash: 29
|
196
|
+
segments:
|
197
|
+
- 4
|
198
|
+
- 3
|
199
|
+
version: "4.3"
|
200
|
+
type: :runtime
|
201
|
+
version_requirements: *id012
|
202
|
+
- !ruby/object:Gem::Dependency
|
203
|
+
name: minitest
|
204
|
+
prerelease: false
|
205
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
115
206
|
none: false
|
116
207
|
requirements:
|
117
208
|
- - ~>
|
@@ -122,11 +213,11 @@ dependencies:
|
|
122
213
|
- 0
|
123
214
|
version: "2.0"
|
124
215
|
type: :development
|
125
|
-
version_requirements: *
|
216
|
+
version_requirements: *id013
|
126
217
|
- !ruby/object:Gem::Dependency
|
127
218
|
name: em-minitest-spec
|
128
219
|
prerelease: false
|
129
|
-
requirement: &
|
220
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
130
221
|
none: false
|
131
222
|
requirements:
|
132
223
|
- - ~>
|
@@ -137,11 +228,11 @@ dependencies:
|
|
137
228
|
- 1
|
138
229
|
version: "1.1"
|
139
230
|
type: :development
|
140
|
-
version_requirements: *
|
231
|
+
version_requirements: *id014
|
141
232
|
- !ruby/object:Gem::Dependency
|
142
233
|
name: rake
|
143
234
|
prerelease: false
|
144
|
-
requirement: &
|
235
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
145
236
|
none: false
|
146
237
|
requirements:
|
147
238
|
- - ~>
|
@@ -152,11 +243,11 @@ dependencies:
|
|
152
243
|
- 9
|
153
244
|
version: "0.9"
|
154
245
|
type: :development
|
155
|
-
version_requirements: *
|
246
|
+
version_requirements: *id015
|
156
247
|
- !ruby/object:Gem::Dependency
|
157
248
|
name: mocha
|
158
249
|
prerelease: false
|
159
|
-
requirement: &
|
250
|
+
requirement: &id016 !ruby/object:Gem::Requirement
|
160
251
|
none: false
|
161
252
|
requirements:
|
162
253
|
- - ">="
|
@@ -166,7 +257,21 @@ dependencies:
|
|
166
257
|
- 0
|
167
258
|
version: "0"
|
168
259
|
type: :development
|
169
|
-
version_requirements: *
|
260
|
+
version_requirements: *id016
|
261
|
+
- !ruby/object:Gem::Dependency
|
262
|
+
name: redcarpet
|
263
|
+
prerelease: false
|
264
|
+
requirement: &id017 !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
266
|
+
requirements:
|
267
|
+
- - ">="
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
hash: 3
|
270
|
+
segments:
|
271
|
+
- 0
|
272
|
+
version: "0"
|
273
|
+
type: :development
|
274
|
+
version_requirements: *id017
|
170
275
|
description: Dolt serves git trees and syntax highlighted blobs
|
171
276
|
email:
|
172
277
|
- christian@gitorious.org
|
@@ -184,13 +289,11 @@ files:
|
|
184
289
|
- ./Readme.md
|
185
290
|
- ./bin/dolt
|
186
291
|
- ./dolt.gemspec
|
187
|
-
- ./lib/dolt/async/deferrable_child_process.rb
|
188
292
|
- ./lib/dolt/async/when.rb
|
189
293
|
- ./lib/dolt/disk_repo_resolver.rb
|
190
|
-
- ./lib/dolt/git/
|
294
|
+
- ./lib/dolt/git/blame.rb
|
295
|
+
- ./lib/dolt/git/commit.rb
|
191
296
|
- ./lib/dolt/git/repository.rb
|
192
|
-
- ./lib/dolt/git/shell.rb
|
193
|
-
- ./lib/dolt/git/tree.rb
|
194
297
|
- ./lib/dolt/repo_actions.rb
|
195
298
|
- ./lib/dolt/sinatra/actions.rb
|
196
299
|
- ./lib/dolt/sinatra/base.rb
|
@@ -199,20 +302,47 @@ files:
|
|
199
302
|
- ./lib/dolt/template_renderer.rb
|
200
303
|
- ./lib/dolt/version.rb
|
201
304
|
- ./lib/dolt/view.rb
|
305
|
+
- ./lib/dolt/view/blame.rb
|
306
|
+
- ./lib/dolt/view/blob.rb
|
202
307
|
- ./lib/dolt/view/breadcrumb.rb
|
203
|
-
- ./lib/dolt/view/
|
204
|
-
- ./
|
308
|
+
- ./lib/dolt/view/commit.rb
|
309
|
+
- ./lib/dolt/view/gravatar.rb
|
310
|
+
- ./lib/dolt/view/markup.rb
|
311
|
+
- ./lib/dolt/view/multi_repository.rb
|
312
|
+
- ./lib/dolt/view/object.rb
|
313
|
+
- ./lib/dolt/view/single_repository.rb
|
314
|
+
- ./lib/dolt/view/smart_blob_renderer.rb
|
315
|
+
- ./lib/dolt/view/syntax_highlight.rb
|
316
|
+
- ./lib/dolt/view/tree.rb
|
317
|
+
- ./test/dolt/git/blame_test.rb
|
318
|
+
- ./test/dolt/git/commit_test.rb
|
205
319
|
- ./test/dolt/git/repository_test.rb
|
206
|
-
- ./test/dolt/git/shell_test.rb
|
207
|
-
- ./test/dolt/git/tree_test.rb
|
208
320
|
- ./test/dolt/repo_actions_test.rb
|
209
321
|
- ./test/dolt/sinatra/actions_test.rb
|
210
322
|
- ./test/dolt/template_renderer_test.rb
|
211
|
-
- ./test/dolt/
|
212
|
-
- ./test/dolt/
|
323
|
+
- ./test/dolt/templates/blame_test.rb
|
324
|
+
- ./test/dolt/templates/blob_test.rb
|
325
|
+
- ./test/dolt/templates/commits_test.rb
|
326
|
+
- ./test/dolt/templates/raw_test.rb
|
327
|
+
- ./test/dolt/templates/tree_test.rb
|
328
|
+
- ./test/dolt/view/blame_test.rb
|
329
|
+
- ./test/dolt/view/blob_test.rb
|
330
|
+
- ./test/dolt/view/breadcrumb_test.rb
|
331
|
+
- ./test/dolt/view/commit_test.rb
|
332
|
+
- ./test/dolt/view/gravatar_test.rb
|
333
|
+
- ./test/dolt/view/markup_test.rb
|
334
|
+
- ./test/dolt/view/multi_repository_test.rb
|
335
|
+
- ./test/dolt/view/object_test.rb
|
336
|
+
- ./test/dolt/view/single_repository_test.rb
|
337
|
+
- ./test/dolt/view/syntax_highlight_test.rb
|
338
|
+
- ./test/dolt/view/tree_test.rb
|
213
339
|
- ./test/test_helper.rb
|
340
|
+
- ./views/blame.erb
|
214
341
|
- ./views/blob.erb
|
342
|
+
- ./views/commits.erb
|
343
|
+
- ./views/index.erb
|
215
344
|
- ./views/layout.erb
|
345
|
+
- ./views/raw.erb
|
216
346
|
- ./views/tree.erb
|
217
347
|
- vendor/ui/bootstrap/css/bootstrap-responsive.min.css
|
218
348
|
- vendor/ui/bootstrap/css/bootstrap.min.css
|