libdolt 0.16.0 → 0.17.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- libdolt (0.15.0)
4
+ libdolt (0.17.0)
5
5
  htmlentities (~> 4.3)
6
6
  json (~> 1.7)
7
7
  makeup (~> 0.2)
@@ -14,18 +14,18 @@ GEM
14
14
  specs:
15
15
  github-markup (0.7.5)
16
16
  htmlentities (4.3.1)
17
- json (1.7.7)
17
+ json (1.8.0)
18
18
  makeup (0.3.0)
19
19
  github-markup (~> 0.7)
20
20
  htmlentities (~> 4.3)
21
21
  pygments.rb (~> 0.2)
22
22
  metaclass (0.0.1)
23
- mime-types (1.21)
23
+ mime-types (1.23)
24
24
  minitest (2.12.1)
25
25
  mocha (0.13.1)
26
26
  metaclass (~> 0.0.1)
27
27
  posix-spawn (0.3.6)
28
- pygments.rb (0.3.7)
28
+ pygments.rb (0.5.0)
29
29
  posix-spawn (~> 0.3.6)
30
30
  yajl-ruby (~> 1.1.0)
31
31
  rake (0.9.2.2)
@@ -34,7 +34,7 @@ GEM
34
34
  tilt (1.3.3)
35
35
  tiltout (1.4.0)
36
36
  tilt (~> 1.3)
37
- tzinfo (0.3.35)
37
+ tzinfo (0.3.37)
38
38
  yajl-ruby (1.1.0)
39
39
 
40
40
  PLATFORMS
@@ -32,6 +32,9 @@ module Dolt
32
32
  def bare?; @repo.bare?; end
33
33
  def path; @repo.path; end
34
34
  def rev_parse(*args); @repo.rev_parse(*args); end
35
+ def rev_parse_oid(*args); @repo.rev_parse_oid(*args); end
36
+ def refs(*args); @repo.refs(*args); end
37
+ def lookup(*args); @repo.lookup(*args); end
35
38
 
36
39
  def submodules(ref)
37
40
  config = rev_parse("#{ref}:.gitmodules")
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Dolt
20
- VERSION = "0.16.0"
20
+ VERSION = "0.17.0"
21
21
  end
data/views/404.erb ADDED
@@ -0,0 +1,22 @@
1
+ <%#
2
+ # encoding: utf-8
3
+ #--
4
+ # Copyright (C) 2013 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 = "No such path" %></h1>
21
+ <h2><%= CGI::escapeElement(error.respond_to?(:message) ? error.message : error).gsub(/</, "&lt;") %></h2>
22
+ <p><a href="<%= tree_url(repository_slug, ref, "") %>">Go back</a></p>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libdolt
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-28 00:00:00.000000000 Z
12
+ date: 2013-05-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rugged
@@ -257,6 +257,7 @@ files:
257
257
  - test/libdolt/view/tree_test.rb
258
258
  - test/libdolt/view/urls_test.rb
259
259
  - test/test_helper.rb
260
+ - views/404.erb
260
261
  - views/500.erb
261
262
  - views/blame.erb
262
263
  - views/blob.erb