libdolt 0.22.0 → 0.23.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,12 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- libdolt (0.21.0)
4
+ libdolt (0.23.0)
5
5
  htmlentities (~> 4.3)
6
6
  json (~> 1.7)
7
7
  makeup (~> 0.2)
8
8
  mime-types (~> 1.19)
9
- rugged (= 0.17.0.b6)
9
+ rugged (= 0.18.0.gh.de28323)
10
10
  tzinfo (~> 0.3)
11
11
 
12
12
  GEM
@@ -25,12 +25,12 @@ GEM
25
25
  mocha (0.14.0)
26
26
  metaclass (~> 0.0.1)
27
27
  posix-spawn (0.3.6)
28
- pygments.rb (0.5.0)
28
+ pygments.rb (0.5.1)
29
29
  posix-spawn (~> 0.3.6)
30
30
  yajl-ruby (~> 1.1.0)
31
31
  rake (0.9.6)
32
32
  redcarpet (2.2.0)
33
- rugged (0.17.0.b6)
33
+ rugged (0.18.0.gh.de28323)
34
34
  tilt (1.4.1)
35
35
  tiltout (1.4.0)
36
36
  tilt (~> 1.3)
@@ -39,7 +39,7 @@ module Dolt
39
39
  def submodules(ref)
40
40
  config = rev_parse("#{ref}:.gitmodules")
41
41
  Dolt::Git::Submodule.parse_config(config.content)
42
- rescue Rugged::IndexerError => err
42
+ rescue Rugged::TreeError => err
43
43
  # Raised if .gitmodules cannot be found, which means no submodules
44
44
  []
45
45
  end
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Dolt
20
- VERSION = "0.22.0"
20
+ VERSION = "0.23.0"
21
21
  end
data/libdolt.gemspec CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
13
13
 
14
14
  s.rubyforge_project = "libdolt"
15
15
 
16
- s.add_dependency "rugged", "0.17.0.b6"
16
+ s.add_dependency "rugged", "0.18.0.gh.de28323"
17
17
  s.add_dependency "tzinfo", "~> 0.3"
18
18
  s.add_dependency "makeup", "~>0.2"
19
19
  s.add_dependency "htmlentities", "~> 4.3"
@@ -117,7 +117,7 @@ describe Dolt::Git::Repository do
117
117
  begin
118
118
  tree = @repository.tree_history("fc5f5fb", "test")
119
119
  raise "Should've raised an Rugged::IndexerError"
120
- rescue Rugged::IndexerError => err
120
+ rescue Rugged::TreeError => err
121
121
  assert_match /does not exist/, err.message
122
122
  end
123
123
  end
data/views/empty.erb ADDED
@@ -0,0 +1,27 @@
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
+ <div class="container gts-body">
21
+ <h1><%= @title = "Empty repository" %></h1>
22
+ <p>
23
+ This repository has no HEAD revision, which most likely means you haven't
24
+ commited to it yet. If you expected to see something here, your repository
25
+ may be damaged.
26
+ </p>
27
+ </div>
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.22.0
4
+ version: 0.23.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-06-20 00:00:00.000000000 Z
12
+ date: 2013-07-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rugged
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - '='
20
20
  - !ruby/object:Gem::Version
21
- version: 0.17.0.b6
21
+ version: 0.18.0.gh.de28323
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - '='
28
28
  - !ruby/object:Gem::Version
29
- version: 0.17.0.b6
29
+ version: 0.18.0.gh.de28323
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: tzinfo
32
32
  requirement: !ruby/object:Gem::Requirement
@@ -282,6 +282,7 @@ files:
282
282
  - views/blame.erb
283
283
  - views/blob.erb
284
284
  - views/commits.erb
285
+ - views/empty.erb
285
286
  - views/index.erb
286
287
  - views/layout.erb
287
288
  - views/raw.erb
@@ -308,7 +309,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
308
309
  version: '0'
309
310
  requirements: []
310
311
  rubyforge_project: libdolt
311
- rubygems_version: 1.8.24
312
+ rubygems_version: 1.8.25
312
313
  signing_key:
313
314
  specification_version: 3
314
315
  summary: Dolt API for serving git trees and syntax highlighted blobs