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 +1 -1
- data/lib/libdolt/repo_actions.rb +3 -1
- data/lib/libdolt/version.rb +1 -1
- metadata +2 -2
data/Gemfile.lock
CHANGED
data/lib/libdolt/repo_actions.rb
CHANGED
@@ -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)
|
data/lib/libdolt/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2013-06-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rugged
|