rjgit 4.5.0.0 → 4.6.1.0
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 -0
- data/lib/java/jars/org.eclipse.jgit-4.6.1.201703071140-r.jar +0 -0
- data/lib/rjgit.rb +1 -0
- data/lib/tree.rb +2 -2
- data/lib/version.rb +1 -1
- metadata +8 -8
- data/lib/java/jars/org.eclipse.jgit-4.5.0.201609210915-r.jar +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5785e5b9211481daa2245eb42098d26e3c6a85da
|
4
|
+
data.tar.gz: 3d648738cee23f05a32b53cad524194ef0848aed
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4e8eed279e99335e23362c56e8883e81e09bf1cc9eb0ac40eb109c53d5961cd12d3d30c27defd87f0eb336860e54625f80a98bbb693b5503b7627adbaf1ce638
|
7
|
+
data.tar.gz: 45298510738aeea096ff95916b83ebe1f80e1e44e78ffba01dd0c372a6f9936daf94d3a2226a101c678f39d586f270e9bcd2f5d27d596f980e28ab075c316142
|
data/lib/git.rb
CHANGED
@@ -338,6 +338,7 @@ module RJGit
|
|
338
338
|
def push_all(remote, options = {})
|
339
339
|
push_command = @jgit.push
|
340
340
|
push_command.set_dry_run(true) if options[:dryrun]
|
341
|
+
push_command.set_force(true) if options[:force]
|
341
342
|
push_command.set_remote(remote)
|
342
343
|
push_command.set_push_all
|
343
344
|
push_command.set_push_tags
|
@@ -349,6 +350,7 @@ module RJGit
|
|
349
350
|
def push(remote = nil, refs = [], options = {})
|
350
351
|
push_command = @jgit.push
|
351
352
|
push_command.set_dry_run(true) if options[:dryrun]
|
353
|
+
push_command.set_force(true) if options[:force]
|
352
354
|
push_command.set_remote(remote) if remote
|
353
355
|
if(refs.to_a.size > 0)
|
354
356
|
refs.map!{|ref| RefSpec.new(ref)}
|
Binary file
|
data/lib/rjgit.rb
CHANGED
data/lib/tree.rb
CHANGED
@@ -92,7 +92,7 @@ module RJGit
|
|
92
92
|
treewalk.add_tree(jtree)
|
93
93
|
treewalk.set_filter(PathFilter.create(file_path))
|
94
94
|
if treewalk.next
|
95
|
-
jsubtree = walk.lookup_tree(treewalk.
|
95
|
+
jsubtree = walk.lookup_tree(treewalk.get_object_id(0))
|
96
96
|
if jsubtree
|
97
97
|
mode = RJGit.get_file_mode_with_path(jrepo, file_path, jtree)
|
98
98
|
Tree.new(jrepo, mode, file_path, jsubtree)
|
@@ -124,4 +124,4 @@ module RJGit
|
|
124
124
|
|
125
125
|
end
|
126
126
|
|
127
|
-
end
|
127
|
+
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.6.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maarten Engelen
|
@@ -12,22 +12,22 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date:
|
15
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
|
-
|
19
|
-
version_requirements: !ruby/object:Gem::Requirement
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
20
19
|
requirements:
|
21
20
|
- - ~>
|
22
21
|
- !ruby/object:Gem::Version
|
23
22
|
version: '1.15'
|
24
|
-
|
23
|
+
name: mime-types
|
24
|
+
prerelease: false
|
25
|
+
type: :runtime
|
26
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
27
|
requirements:
|
26
28
|
- - ~>
|
27
29
|
- !ruby/object:Gem::Version
|
28
30
|
version: '1.15'
|
29
|
-
prerelease: false
|
30
|
-
type: :runtime
|
31
31
|
description: JRuby wrapper around the JGit library for manipulating git repositories in code.
|
32
32
|
email: repotag-dev@googlegroups.com
|
33
33
|
executables: []
|
@@ -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.6.1.201703071140-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
|