dolt 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +21 -18
- data/Readme.md +3 -5
- data/bin/dolt +3 -6
- data/dolt.gemspec +5 -16
- data/lib/dolt/sinatra/multi_repo_browser.rb +3 -3
- data/lib/dolt/sinatra/single_repo_browser.rb +3 -3
- data/test/test_helper.rb +5 -3
- data/vendor/ui/css/gitorious.css +5 -0
- metadata +23 -239
- data/lib/dolt/async/when.rb +0 -128
- data/lib/dolt/disk_repo_resolver.rb +0 -39
- data/lib/dolt/git/blame.rb +0 -112
- data/lib/dolt/git/commit.rb +0 -73
- data/lib/dolt/git/repository.rb +0 -139
- data/lib/dolt/git/submodule.rb +0 -35
- data/lib/dolt/git/tree.rb +0 -42
- data/lib/dolt/repo_actions.rb +0 -91
- data/lib/dolt/template_renderer.rb +0 -67
- data/lib/dolt/version.rb +0 -21
- data/lib/dolt/view.rb +0 -23
- data/lib/dolt/view/binary_blob_embedder.rb +0 -41
- data/lib/dolt/view/blame.rb +0 -57
- data/lib/dolt/view/blob.rb +0 -97
- data/lib/dolt/view/breadcrumb.rb +0 -47
- data/lib/dolt/view/commit.rb +0 -27
- data/lib/dolt/view/gravatar.rb +0 -29
- data/lib/dolt/view/markup.rb +0 -107
- data/lib/dolt/view/multi_repository.rb +0 -27
- data/lib/dolt/view/object.rb +0 -44
- data/lib/dolt/view/single_repository.rb +0 -27
- data/lib/dolt/view/smart_blob_renderer.rb +0 -33
- data/lib/dolt/view/syntax_highlight.rb +0 -90
- data/lib/dolt/view/tab_width.rb +0 -30
- data/lib/dolt/view/tree.rb +0 -100
- data/test/dolt/async/when_test.rb +0 -112
- data/test/dolt/git/blame_test.rb +0 -128
- data/test/dolt/git/commit_test.rb +0 -89
- data/test/dolt/git/repository_test.rb +0 -186
- data/test/dolt/repo_actions_test.rb +0 -236
- data/test/dolt/template_renderer_test.rb +0 -122
- data/test/dolt/templates/blame_test.rb +0 -56
- data/test/dolt/templates/blob_test.rb +0 -118
- data/test/dolt/templates/commits_test.rb +0 -61
- data/test/dolt/templates/raw_test.rb +0 -41
- data/test/dolt/templates/refs_test.rb +0 -38
- data/test/dolt/templates/tree_history_test.rb +0 -93
- data/test/dolt/templates/tree_test.rb +0 -65
- data/test/dolt/view/binary_blob_embedder_test.rb +0 -49
- data/test/dolt/view/blame_test.rb +0 -122
- data/test/dolt/view/blob_test.rb +0 -116
- data/test/dolt/view/breadcrumb_test.rb +0 -46
- data/test/dolt/view/commit_test.rb +0 -31
- data/test/dolt/view/gravatar_test.rb +0 -30
- data/test/dolt/view/markup_test.rb +0 -94
- data/test/dolt/view/multi_repository_test.rb +0 -35
- data/test/dolt/view/object_test.rb +0 -83
- data/test/dolt/view/single_repository_test.rb +0 -30
- data/test/dolt/view/smart_blob_renderer_test.rb +0 -38
- data/test/dolt/view/syntax_highlight_test.rb +0 -108
- data/test/dolt/view/tab_width_test.rb +0 -40
- data/test/dolt/view/tree_test.rb +0 -199
- data/views/500.erb +0 -22
- data/views/blame.erb +0 -42
- data/views/blob.erb +0 -31
- data/views/commits.erb +0 -26
- data/views/index.erb +0 -25
- data/views/layout.erb +0 -45
- data/views/raw.erb +0 -19
- data/views/refs.erb +0 -22
- data/views/tree.erb +0 -50
- data/views/tree_history.erb +0 -19
data/Gemfile.lock
CHANGED
@@ -1,21 +1,12 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
dolt (0.
|
5
|
-
async_sinatra (~> 1
|
6
|
-
|
7
|
-
|
8
|
-
em_rugged (~> 0.1.2)
|
9
|
-
eventmachine (~> 1.0)
|
10
|
-
github-markup (~> 0.7)
|
11
|
-
htmlentities (~> 4.3)
|
12
|
-
json (~> 1.7)
|
13
|
-
mime-types (~> 1.19)
|
14
|
-
pygments.rb (~> 0.2)
|
15
|
-
sinatra (~> 1.3)
|
4
|
+
dolt (0.6.0)
|
5
|
+
async_sinatra (~> 1)
|
6
|
+
libdolt (~> 0)
|
7
|
+
sinatra (~> 1)
|
16
8
|
thin (~> 1.4)
|
17
|
-
|
18
|
-
tzinfo (~> 0.3)
|
9
|
+
tiltout (~> 1)
|
19
10
|
|
20
11
|
GEM
|
21
12
|
remote: http://rubygems.org/
|
@@ -23,7 +14,6 @@ GEM
|
|
23
14
|
async_sinatra (1.0.0)
|
24
15
|
rack (>= 1.4.1)
|
25
16
|
sinatra (>= 1.3.2)
|
26
|
-
builder (3.1.3)
|
27
17
|
daemons (1.1.9)
|
28
18
|
em-minitest-spec (1.1.1)
|
29
19
|
eventmachine
|
@@ -36,10 +26,23 @@ GEM
|
|
36
26
|
github-markup (0.7.4)
|
37
27
|
htmlentities (4.3.1)
|
38
28
|
json (1.7.5)
|
29
|
+
libdolt (0.6.0)
|
30
|
+
em_pessimistic (~> 0.1)
|
31
|
+
em_rugged (~> 0.1.2)
|
32
|
+
eventmachine (~> 1.0)
|
33
|
+
htmlentities (~> 4.3)
|
34
|
+
json (~> 1.7)
|
35
|
+
makeup (~> 0)
|
36
|
+
mime-types (~> 1.19)
|
37
|
+
tzinfo (~> 0.3)
|
38
|
+
makeup (0.1.1)
|
39
|
+
github-markup (~> 0.7)
|
40
|
+
htmlentities (~> 4.3)
|
41
|
+
pygments.rb (~> 0.2)
|
39
42
|
metaclass (0.0.1)
|
40
43
|
mime-types (1.19)
|
41
44
|
minitest (2.12.1)
|
42
|
-
mocha (0.12.
|
45
|
+
mocha (0.12.6)
|
43
46
|
metaclass (~> 0.0.1)
|
44
47
|
posix-spawn (0.3.6)
|
45
48
|
pygments.rb (0.3.1)
|
@@ -49,7 +52,6 @@ GEM
|
|
49
52
|
rack-protection (1.2.0)
|
50
53
|
rack
|
51
54
|
rake (0.9.2.2)
|
52
|
-
redcarpet (2.1.1)
|
53
55
|
rugged (0.17.0.b6)
|
54
56
|
sinatra (1.3.3)
|
55
57
|
rack (~> 1.3, >= 1.3.6)
|
@@ -60,6 +62,8 @@ GEM
|
|
60
62
|
eventmachine (>= 0.12.6)
|
61
63
|
rack (>= 1.0.0)
|
62
64
|
tilt (1.3.3)
|
65
|
+
tiltout (1.0.0)
|
66
|
+
tilt (~> 1.3)
|
63
67
|
tzinfo (0.3.33)
|
64
68
|
yajl-ruby (1.1.0)
|
65
69
|
|
@@ -72,4 +76,3 @@ DEPENDENCIES
|
|
72
76
|
minitest (~> 2.0)
|
73
77
|
mocha
|
74
78
|
rake (~> 0.9)
|
75
|
-
redcarpet
|
data/Readme.md
CHANGED
@@ -6,11 +6,9 @@ your browser of choice and features syntax highlighting with
|
|
6
6
|
[Markdown](http://daringfireball.net/projects/markdown/)/[org-mode](http://orgmode.org/)/[+++](https://github.com/github/markup/)
|
7
7
|
rendering, commit log and blame.
|
8
8
|
|
9
|
-
Dolt is
|
10
|
-
|
11
|
-
|
12
|
-
also provide your own rendering implementation to render other formats than
|
13
|
-
templates outputting HTML.
|
9
|
+
The Dolt repository browser is both a stand-alone application and a library.
|
10
|
+
`Dolt` (this package) is the stand-alone application, while `libdolt` is the
|
11
|
+
generally reusable library.
|
14
12
|
|
15
13
|
Dolt is the implementation of the next generation repo browser to be used in the
|
16
14
|
[Gitorious](http://gitorious.org) software.
|
data/bin/dolt
CHANGED
@@ -1,10 +1,8 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
require "libdolt"
|
3
|
+
require "tiltout"
|
2
4
|
require "thin"
|
3
5
|
require "sinatra/base"
|
4
|
-
require "dolt/repo_actions"
|
5
|
-
require "dolt/template_renderer"
|
6
|
-
require "dolt/view"
|
7
|
-
require "dolt/disk_repo_resolver"
|
8
6
|
|
9
7
|
if ARGV.length == 0
|
10
8
|
puts("Dolt should be run with a directory as its sole argument")
|
@@ -38,8 +36,7 @@ end
|
|
38
36
|
|
39
37
|
base = File.join(File.dirname(__FILE__), "..")
|
40
38
|
|
41
|
-
|
42
|
-
view = Dolt::TemplateRenderer.new(template_root, {
|
39
|
+
view = Tiltout.new(Dolt.template_dir, {
|
43
40
|
:cache => false,
|
44
41
|
:layout => "layout"
|
45
42
|
})
|
data/dolt.gemspec
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
dir = File.expand_path(File.dirname(__FILE__))
|
3
|
-
require File.join(dir, "lib/dolt/version")
|
4
3
|
|
5
4
|
module GemSpecHelper
|
6
5
|
def self.files(path)
|
@@ -12,7 +11,7 @@ end
|
|
12
11
|
|
13
12
|
Gem::Specification.new do |s|
|
14
13
|
s.name = "dolt"
|
15
|
-
s.version =
|
14
|
+
s.version = "0.6.0"
|
16
15
|
s.authors = ["Christian Johansen"]
|
17
16
|
s.email = ["christian@gitorious.org"]
|
18
17
|
s.homepage = "http://gitorious.org/gitorious/dolt"
|
@@ -21,26 +20,16 @@ Gem::Specification.new do |s|
|
|
21
20
|
|
22
21
|
s.rubyforge_project = "dolt"
|
23
22
|
|
24
|
-
s.add_dependency "
|
23
|
+
s.add_dependency "libdolt", "~>0"
|
25
24
|
s.add_dependency "thin", "~>1.4"
|
26
|
-
s.add_dependency "sinatra", "~>1
|
27
|
-
s.add_dependency "async_sinatra", "~>1
|
28
|
-
s.add_dependency "
|
29
|
-
s.add_dependency "pygments.rb", "~>0.2"
|
30
|
-
s.add_dependency "em_pessimistic", "~>0.1"
|
31
|
-
s.add_dependency "builder", "~> 3.1"
|
32
|
-
s.add_dependency "em_rugged", "~> 0.1.2"
|
33
|
-
s.add_dependency "tzinfo", "~> 0.3"
|
34
|
-
s.add_dependency "github-markup", "~> 0.7"
|
35
|
-
s.add_dependency "htmlentities", "~> 4.3"
|
36
|
-
s.add_dependency "json", "~> 1.7"
|
37
|
-
s.add_dependency "mime-types", "~> 1.19"
|
25
|
+
s.add_dependency "sinatra", "~>1"
|
26
|
+
s.add_dependency "async_sinatra", "~>1"
|
27
|
+
s.add_dependency "tiltout", "~>1"
|
38
28
|
|
39
29
|
s.add_development_dependency "minitest", "~> 2.0"
|
40
30
|
s.add_development_dependency "em-minitest-spec", "~> 1.1"
|
41
31
|
s.add_development_dependency "rake", "~> 0.9"
|
42
32
|
s.add_development_dependency "mocha"
|
43
|
-
s.add_development_dependency "redcarpet"
|
44
33
|
|
45
34
|
s.files = GemSpecHelper.files(".") + GemSpecHelper.files("vendor/ui")
|
46
35
|
s.test_files = `git ls-files -- {test}/*`.split("\n")
|
@@ -16,9 +16,9 @@
|
|
16
16
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
17
|
#++
|
18
18
|
require "dolt/sinatra/base"
|
19
|
-
require "
|
20
|
-
require "
|
21
|
-
require "
|
19
|
+
require "libdolt/view/single_repository"
|
20
|
+
require "libdolt/view/blob"
|
21
|
+
require "libdolt/view/tree"
|
22
22
|
|
23
23
|
module Dolt
|
24
24
|
module Sinatra
|
@@ -16,9 +16,9 @@
|
|
16
16
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
17
17
|
#++
|
18
18
|
require "dolt/sinatra/base"
|
19
|
-
require "
|
20
|
-
require "
|
21
|
-
require "
|
19
|
+
require "libdolt/view/single_repository"
|
20
|
+
require "libdolt/view/blob"
|
21
|
+
require "libdolt/view/tree"
|
22
22
|
|
23
23
|
module Dolt
|
24
24
|
module Sinatra
|
data/test/test_helper.rb
CHANGED
@@ -19,7 +19,8 @@ require "bundler/setup"
|
|
19
19
|
require "minitest/autorun"
|
20
20
|
require "em/minitest/spec"
|
21
21
|
require "eventmachine"
|
22
|
-
require "
|
22
|
+
require "libdolt/view"
|
23
|
+
require "tiltout"
|
23
24
|
|
24
25
|
Bundler.require(:default, :test)
|
25
26
|
|
@@ -31,8 +32,9 @@ module Dolt
|
|
31
32
|
end
|
32
33
|
|
33
34
|
module ViewTest
|
34
|
-
def prepare_renderer(
|
35
|
-
|
35
|
+
def prepare_renderer(options = {}, helpers = nil)
|
36
|
+
root = File.join(File.dirname(__FILE__), "..", "views")
|
37
|
+
renderer = Tiltout.new(root, options)
|
36
38
|
renderer.helper(helpers || [Dolt::View::MultiRepository,
|
37
39
|
Dolt::View::Object,
|
38
40
|
Dolt::View::Blob,
|
data/vendor/ui/css/gitorious.css
CHANGED
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: 7
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 6
|
9
|
+
- 0
|
10
|
+
version: 0.6.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Christian Johansen
|
@@ -15,22 +15,21 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-10-
|
18
|
+
date: 2012-10-05 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
-
name:
|
22
|
+
name: libdolt
|
23
23
|
prerelease: false
|
24
24
|
requirement: &id001 !ruby/object:Gem::Requirement
|
25
25
|
none: false
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
29
|
+
hash: 3
|
30
30
|
segments:
|
31
|
-
- 1
|
32
31
|
- 0
|
33
|
-
version: "
|
32
|
+
version: "0"
|
34
33
|
type: :runtime
|
35
34
|
version_requirements: *id001
|
36
35
|
- !ruby/object:Gem::Dependency
|
@@ -56,11 +55,10 @@ dependencies:
|
|
56
55
|
requirements:
|
57
56
|
- - ~>
|
58
57
|
- !ruby/object:Gem::Version
|
59
|
-
hash:
|
58
|
+
hash: 1
|
60
59
|
segments:
|
61
60
|
- 1
|
62
|
-
|
63
|
-
version: "1.3"
|
61
|
+
version: "1"
|
64
62
|
type: :runtime
|
65
63
|
version_requirements: *id003
|
66
64
|
- !ruby/object:Gem::Dependency
|
@@ -71,138 +69,16 @@ dependencies:
|
|
71
69
|
requirements:
|
72
70
|
- - ~>
|
73
71
|
- !ruby/object:Gem::Version
|
74
|
-
hash:
|
72
|
+
hash: 1
|
75
73
|
segments:
|
76
74
|
- 1
|
77
|
-
|
78
|
-
version: "1.0"
|
75
|
+
version: "1"
|
79
76
|
type: :runtime
|
80
77
|
version_requirements: *id004
|
81
78
|
- !ruby/object:Gem::Dependency
|
82
|
-
name:
|
79
|
+
name: tiltout
|
83
80
|
prerelease: false
|
84
81
|
requirement: &id005 !ruby/object:Gem::Requirement
|
85
|
-
none: false
|
86
|
-
requirements:
|
87
|
-
- - ~>
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
hash: 9
|
90
|
-
segments:
|
91
|
-
- 1
|
92
|
-
- 3
|
93
|
-
version: "1.3"
|
94
|
-
type: :runtime
|
95
|
-
version_requirements: *id005
|
96
|
-
- !ruby/object:Gem::Dependency
|
97
|
-
name: pygments.rb
|
98
|
-
prerelease: false
|
99
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
|
-
requirements:
|
102
|
-
- - ~>
|
103
|
-
- !ruby/object:Gem::Version
|
104
|
-
hash: 15
|
105
|
-
segments:
|
106
|
-
- 0
|
107
|
-
- 2
|
108
|
-
version: "0.2"
|
109
|
-
type: :runtime
|
110
|
-
version_requirements: *id006
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: em_pessimistic
|
113
|
-
prerelease: false
|
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: json
|
204
|
-
prerelease: false
|
205
|
-
requirement: &id013 !ruby/object:Gem::Requirement
|
206
82
|
none: false
|
207
83
|
requirements:
|
208
84
|
- - ~>
|
@@ -210,29 +86,13 @@ dependencies:
|
|
210
86
|
hash: 1
|
211
87
|
segments:
|
212
88
|
- 1
|
213
|
-
|
214
|
-
version: "1.7"
|
89
|
+
version: "1"
|
215
90
|
type: :runtime
|
216
|
-
version_requirements: *
|
217
|
-
- !ruby/object:Gem::Dependency
|
218
|
-
name: mime-types
|
219
|
-
prerelease: false
|
220
|
-
requirement: &id014 !ruby/object:Gem::Requirement
|
221
|
-
none: false
|
222
|
-
requirements:
|
223
|
-
- - ~>
|
224
|
-
- !ruby/object:Gem::Version
|
225
|
-
hash: 41
|
226
|
-
segments:
|
227
|
-
- 1
|
228
|
-
- 19
|
229
|
-
version: "1.19"
|
230
|
-
type: :runtime
|
231
|
-
version_requirements: *id014
|
91
|
+
version_requirements: *id005
|
232
92
|
- !ruby/object:Gem::Dependency
|
233
93
|
name: minitest
|
234
94
|
prerelease: false
|
235
|
-
requirement: &
|
95
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
236
96
|
none: false
|
237
97
|
requirements:
|
238
98
|
- - ~>
|
@@ -243,11 +103,11 @@ dependencies:
|
|
243
103
|
- 0
|
244
104
|
version: "2.0"
|
245
105
|
type: :development
|
246
|
-
version_requirements: *
|
106
|
+
version_requirements: *id006
|
247
107
|
- !ruby/object:Gem::Dependency
|
248
108
|
name: em-minitest-spec
|
249
109
|
prerelease: false
|
250
|
-
requirement: &
|
110
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
251
111
|
none: false
|
252
112
|
requirements:
|
253
113
|
- - ~>
|
@@ -258,11 +118,11 @@ dependencies:
|
|
258
118
|
- 1
|
259
119
|
version: "1.1"
|
260
120
|
type: :development
|
261
|
-
version_requirements: *
|
121
|
+
version_requirements: *id007
|
262
122
|
- !ruby/object:Gem::Dependency
|
263
123
|
name: rake
|
264
124
|
prerelease: false
|
265
|
-
requirement: &
|
125
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
266
126
|
none: false
|
267
127
|
requirements:
|
268
128
|
- - ~>
|
@@ -273,25 +133,11 @@ dependencies:
|
|
273
133
|
- 9
|
274
134
|
version: "0.9"
|
275
135
|
type: :development
|
276
|
-
version_requirements: *
|
136
|
+
version_requirements: *id008
|
277
137
|
- !ruby/object:Gem::Dependency
|
278
138
|
name: mocha
|
279
139
|
prerelease: false
|
280
|
-
requirement: &
|
281
|
-
none: false
|
282
|
-
requirements:
|
283
|
-
- - ">="
|
284
|
-
- !ruby/object:Gem::Version
|
285
|
-
hash: 3
|
286
|
-
segments:
|
287
|
-
- 0
|
288
|
-
version: "0"
|
289
|
-
type: :development
|
290
|
-
version_requirements: *id018
|
291
|
-
- !ruby/object:Gem::Dependency
|
292
|
-
name: redcarpet
|
293
|
-
prerelease: false
|
294
|
-
requirement: &id019 !ruby/object:Gem::Requirement
|
140
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
295
141
|
none: false
|
296
142
|
requirements:
|
297
143
|
- - ">="
|
@@ -301,7 +147,7 @@ dependencies:
|
|
301
147
|
- 0
|
302
148
|
version: "0"
|
303
149
|
type: :development
|
304
|
-
version_requirements: *
|
150
|
+
version_requirements: *id009
|
305
151
|
description: Dolt serves git trees and syntax highlighted blobs
|
306
152
|
email:
|
307
153
|
- christian@gitorious.org
|
@@ -319,74 +165,12 @@ files:
|
|
319
165
|
- ./Readme.md
|
320
166
|
- ./bin/dolt
|
321
167
|
- ./dolt.gemspec
|
322
|
-
- ./lib/dolt/async/when.rb
|
323
|
-
- ./lib/dolt/disk_repo_resolver.rb
|
324
|
-
- ./lib/dolt/git/blame.rb
|
325
|
-
- ./lib/dolt/git/commit.rb
|
326
|
-
- ./lib/dolt/git/repository.rb
|
327
|
-
- ./lib/dolt/git/submodule.rb
|
328
|
-
- ./lib/dolt/git/tree.rb
|
329
|
-
- ./lib/dolt/repo_actions.rb
|
330
168
|
- ./lib/dolt/sinatra/actions.rb
|
331
169
|
- ./lib/dolt/sinatra/base.rb
|
332
170
|
- ./lib/dolt/sinatra/multi_repo_browser.rb
|
333
171
|
- ./lib/dolt/sinatra/single_repo_browser.rb
|
334
|
-
- ./lib/dolt/template_renderer.rb
|
335
|
-
- ./lib/dolt/version.rb
|
336
|
-
- ./lib/dolt/view.rb
|
337
|
-
- ./lib/dolt/view/binary_blob_embedder.rb
|
338
|
-
- ./lib/dolt/view/blame.rb
|
339
|
-
- ./lib/dolt/view/blob.rb
|
340
|
-
- ./lib/dolt/view/breadcrumb.rb
|
341
|
-
- ./lib/dolt/view/commit.rb
|
342
|
-
- ./lib/dolt/view/gravatar.rb
|
343
|
-
- ./lib/dolt/view/markup.rb
|
344
|
-
- ./lib/dolt/view/multi_repository.rb
|
345
|
-
- ./lib/dolt/view/object.rb
|
346
|
-
- ./lib/dolt/view/single_repository.rb
|
347
|
-
- ./lib/dolt/view/smart_blob_renderer.rb
|
348
|
-
- ./lib/dolt/view/syntax_highlight.rb
|
349
|
-
- ./lib/dolt/view/tab_width.rb
|
350
|
-
- ./lib/dolt/view/tree.rb
|
351
|
-
- ./test/dolt/async/when_test.rb
|
352
|
-
- ./test/dolt/git/blame_test.rb
|
353
|
-
- ./test/dolt/git/commit_test.rb
|
354
|
-
- ./test/dolt/git/repository_test.rb
|
355
|
-
- ./test/dolt/repo_actions_test.rb
|
356
172
|
- ./test/dolt/sinatra/actions_test.rb
|
357
|
-
- ./test/dolt/template_renderer_test.rb
|
358
|
-
- ./test/dolt/templates/blame_test.rb
|
359
|
-
- ./test/dolt/templates/blob_test.rb
|
360
|
-
- ./test/dolt/templates/commits_test.rb
|
361
|
-
- ./test/dolt/templates/raw_test.rb
|
362
|
-
- ./test/dolt/templates/refs_test.rb
|
363
|
-
- ./test/dolt/templates/tree_history_test.rb
|
364
|
-
- ./test/dolt/templates/tree_test.rb
|
365
|
-
- ./test/dolt/view/binary_blob_embedder_test.rb
|
366
|
-
- ./test/dolt/view/blame_test.rb
|
367
|
-
- ./test/dolt/view/blob_test.rb
|
368
|
-
- ./test/dolt/view/breadcrumb_test.rb
|
369
|
-
- ./test/dolt/view/commit_test.rb
|
370
|
-
- ./test/dolt/view/gravatar_test.rb
|
371
|
-
- ./test/dolt/view/markup_test.rb
|
372
|
-
- ./test/dolt/view/multi_repository_test.rb
|
373
|
-
- ./test/dolt/view/object_test.rb
|
374
|
-
- ./test/dolt/view/single_repository_test.rb
|
375
|
-
- ./test/dolt/view/smart_blob_renderer_test.rb
|
376
|
-
- ./test/dolt/view/syntax_highlight_test.rb
|
377
|
-
- ./test/dolt/view/tab_width_test.rb
|
378
|
-
- ./test/dolt/view/tree_test.rb
|
379
173
|
- ./test/test_helper.rb
|
380
|
-
- ./views/500.erb
|
381
|
-
- ./views/blame.erb
|
382
|
-
- ./views/blob.erb
|
383
|
-
- ./views/commits.erb
|
384
|
-
- ./views/index.erb
|
385
|
-
- ./views/layout.erb
|
386
|
-
- ./views/raw.erb
|
387
|
-
- ./views/refs.erb
|
388
|
-
- ./views/tree.erb
|
389
|
-
- ./views/tree_history.erb
|
390
174
|
- vendor/ui/.gitignore
|
391
175
|
- vendor/ui/.gitmodules
|
392
176
|
- vendor/ui/build
|