gollum-rjgit_adapter 0.5.0-java → 0.5.1-java

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
  SHA256:
3
- metadata.gz: 990890491aaf6f67cea7b915636cf5346dc97815abf5ab7c315917b6c386cb05
4
- data.tar.gz: ea5e119cd032b83cd197fbb5f26cc71cc2a0bf6b15a58ef3bf474d03bf6efb02
3
+ metadata.gz: 03b68e2ede9ed835e8a1def23723989fc64f31c27af4832ec511b11a84c39dba
4
+ data.tar.gz: 4e1bfe36d582285f5f6bce01b90475fa04da679bd65fe9511c9f620ead1b8e23
5
5
  SHA512:
6
- metadata.gz: e7353616a00e50f1559748140e31011a6d3b0c1bb359a937a0da16d98ba6998f54930b0617470cd2d7cf8688fca0518175f45efa31211564de90588c620c37f9
7
- data.tar.gz: 75869270b21ee57554b89979a3ad72ad39e63cadcd5dc53445b3a6e3cb17286e18df2fd1c0d3489d133da02cc5209732d4bf9de71fd45ce7d741e814ce840970
6
+ metadata.gz: '08fdf4e47f4fc2298783124830126638e584a81a156098878e9488ea37f8e994f67bf0dc2e92939adacd9bed5fce40e2f956dff177274604504c84bb2c7bfe03'
7
+ data.tar.gz: b5a3fceba9dc761d5581e44a7b8900d8174b981f18134ab79bc93c9032f153c8b951929a18e5f9f19af91404fcb55ee5854172498593e3e3ce4a1850f11d32a4
@@ -419,7 +419,7 @@ module Gollum
419
419
  end
420
420
 
421
421
  def diff(sha1, sha2, path = nil)
422
- RJGit::Porcelain.diff(@repo, {:old_rev => sha1, :new_rev => sha2, :file_path => path, :patch => true}).map {|d| Diff.new(d)}
422
+ RJGit::Porcelain.diff(@repo, {:old_rev => sha1, :new_rev => sha2, :file_path => path, :patch => true}).inject("") {|result, diff| result << diff[:patch]}
423
423
  end
424
424
 
425
425
  end
@@ -1,7 +1,7 @@
1
1
  module Gollum
2
2
  module Lib
3
3
  module Git
4
- VERSION = '0.5.0'
4
+ VERSION = '0.5.1'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum-rjgit_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: java
6
6
  authors:
7
7
  - Bart Kamphorst, Dawa Ometto
@@ -78,7 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  requirements: []
80
80
  rubyforge_project:
81
- rubygems_version: 2.7.6
81
+ rubygems_version: 2.7.10
82
82
  signing_key:
83
83
  specification_version: 4
84
84
  summary: Adapter for Gollum to use RJGit at the backend.