libdolt 0.21.0 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- libdolt (0.20.0)
4
+ libdolt (0.21.0)
5
5
  htmlentities (~> 4.3)
6
6
  json (~> 1.7)
7
7
  makeup (~> 0.2)
@@ -39,7 +39,9 @@ module Dolt
39
39
  repository = resolve_repository(repo)
40
40
  result = repository.tree_entry(ref, path)
41
41
  key = result.class.to_s.match(/Blob/) ? :blob : :tree
42
- tpl_data(repository, ref, path, { key => result, :type => key })
42
+ hash = tpl_data(repository, ref, path, { key => result, :type => key })
43
+ hash[:readme] = readme(repo, ref, path) if key == :tree
44
+ hash
43
45
  end
44
46
 
45
47
  def blame(repo, ref, path)
@@ -17,5 +17,5 @@
17
17
  #++
18
18
 
19
19
  module Dolt
20
- VERSION = "0.21.0"
20
+ VERSION = "0.22.0"
21
21
  end
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.21.0
4
+ version: 0.22.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-18 00:00:00.000000000 Z
12
+ date: 2013-06-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rugged