rjgit 4.3.1.0 → 4.4.0.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c331fff3f476b0bb50366e00849af22d70d8d5af
|
4
|
+
data.tar.gz: efae0e0d85d5dc9c88f5355de5cf51fdcdf438a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b23f117ca99cc490e37e2528d0b23582439e9b271c4fb9e296f2fca5d64a711ff23d9abd8f1929caf0dcb51594b68ae439707e7434f870bed4db847ad1b6ed4e
|
7
|
+
data.tar.gz: 17d71dc01d70c4e8d6c18038016770f87e5e8126a312ce5d4c900f143ce6bef1214fb45efc9c3fded42e7bcb9cfb5a815d2f3958cd7fde20faf88d0dc5c178e3
|
data/lib/blob.rb
CHANGED
@@ -83,7 +83,7 @@ module RJGit
|
|
83
83
|
treewalk.set_recursive(true)
|
84
84
|
treewalk.set_filter(PathFilter.create(file_path))
|
85
85
|
if treewalk.next
|
86
|
-
jblob = walk.lookup_blob(treewalk.
|
86
|
+
jblob = walk.lookup_blob(treewalk.get_object_id(0))
|
87
87
|
if jblob
|
88
88
|
mode = RJGit.get_file_mode_with_path(jrepo, file_path, jtree)
|
89
89
|
Blob.new(jrepo, mode, file_path, jblob)
|
Binary file
|
data/lib/rjgit_helpers.rb
CHANGED
@@ -31,7 +31,7 @@ module RJGit
|
|
31
31
|
treewalk.add_tree(jtree)
|
32
32
|
treewalk.set_recursive(true)
|
33
33
|
while treewalk.next
|
34
|
-
jblob_lookup = walk.lookup_blob(treewalk.
|
34
|
+
jblob_lookup = walk.lookup_blob(treewalk.get_object_id(0))
|
35
35
|
if jblob_lookup.get_name == jblob.get_name
|
36
36
|
mode = treewalk.get_file_mode(0).get_bits
|
37
37
|
return mode
|
@@ -122,4 +122,4 @@ module RJGit
|
|
122
122
|
end
|
123
123
|
end
|
124
124
|
|
125
|
-
end
|
125
|
+
end
|
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: 4.
|
4
|
+
version: 4.4.0.0
|
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: 2016-
|
15
|
+
date: 2016-07-12 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: mime-types
|
@@ -45,7 +45,7 @@ files:
|
|
45
45
|
- lib/constants.rb
|
46
46
|
- lib/git.rb
|
47
47
|
- lib/java/jars/jsch-0.1.49.jar
|
48
|
-
- lib/java/jars/org.eclipse.jgit-4.
|
48
|
+
- lib/java/jars/org.eclipse.jgit-4.4.0.201606070830-r.jar
|
49
49
|
- lib/java/jars/slf4j-api-1.7.2.jar
|
50
50
|
- lib/java/jars/slf4j-simple-1.7.12.jar
|
51
51
|
- lib/repo.rb
|
Binary file
|