rjgit 0.3.10 → 0.3.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/git.rb +2 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b618e23467772955fc0403d3cb1b8803dde3dc13
|
4
|
+
data.tar.gz: 151b1b9c439651f3708dda40d643b59056380ec8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5ac8b3d2e8a94b48217f8ec578318c868bdc40a86c3efbbd771ed9858aa6cee44ec1ffba6736e224bdbe355fa34da6f7f1b63205d907278814dca134470e26f
|
7
|
+
data.tar.gz: e26d7a4a004976cb18ca906d045b2896a42a221727b41ac5fd6a5d3448fabab085ad3e17824f4d3e42d37112cf5059a7474a8154734d060194d2118f9f5ac7b1
|
data/lib/git.rb
CHANGED
@@ -29,6 +29,7 @@ module RJGit
|
|
29
29
|
|
30
30
|
def log(path = nil, revstring = Constants::HEAD, options = {})
|
31
31
|
ref = jrepo.resolve(revstring)
|
32
|
+
return [] unless ref
|
32
33
|
jcommits = Array.new
|
33
34
|
|
34
35
|
if path && options[:follow]
|
@@ -41,7 +42,7 @@ module RJGit
|
|
41
42
|
jcommits << jcommit
|
42
43
|
start = jcommit
|
43
44
|
end
|
44
|
-
current_path = follow_renames(start, current_path)
|
45
|
+
current_path = follow_renames(start, current_path) if start
|
45
46
|
break if current_path.nil?
|
46
47
|
end
|
47
48
|
|
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rjgit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maarten Engelen
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-04-
|
15
|
+
date: 2015-04-11 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: mime-types
|