gollum-rjgit_adapter 0.5.2-java → 0.5.3-java

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '080e0ef65562d099bf4329cdcbd4b5cbcd836c5ab824a78dc83d36d304d84e9a'
4
- data.tar.gz: c52b219245b51392b67bdd584783d6e7a0e8c01a29b784a1db7d5d30bf755591
3
+ metadata.gz: d9ff74bb6a027b4e1b941925b0780753a30e2d0deaa35175a9df9ca357802b94
4
+ data.tar.gz: e35fabf456425305e3f68f8816d74799183702d22084f2228238ca2409ef2eb9
5
5
  SHA512:
6
- metadata.gz: 4ea7c45963da70a699c7fd814022069a220419a803e86f9285180e81189272a0cad1d14c2b2925c6058d38890ad4c3dec66654fd3d14ea4ec88f12fd564d901e
7
- data.tar.gz: 6c8c61734fc7459a8d7cce14abeaefdc16d1da964920c68b8855af121b24fa11c0bb17702b02aa5c5bc3645c6c44507b6d040e988914940d0905075e519bf074
6
+ metadata.gz: 32d95811a81047a0dda868278ef1f661ee0f21d1b709483f0d49bd0e15e4d1fdd87631280fbc23da83ce89ae54d84ca1ff91bee128069e2b2254dbed766cd3f1
7
+ data.tar.gz: c58a41ebaa8b97881ea384a47b22635b71380cbf85941481e67afdd1853a773dbd8afa5b96a2e200f0a5a7b1e4148663046b908614c7065c786ff76e96eb653a
@@ -132,6 +132,10 @@ module Gollum
132
132
  Gollum::Git::Tree.new(@commit.tree)
133
133
  end
134
134
 
135
+ def parent
136
+ @commit.parents.empty? ? nil : Gollum::Git::Commit.new(@commit.parents.first)
137
+ end
138
+
135
139
  def stats
136
140
  return @stats unless @stats.nil?
137
141
  rjgit_stats = @commit.stats
@@ -1,7 +1,7 @@
1
1
  module Gollum
2
2
  module Lib
3
3
  module Git
4
- VERSION = '0.5.2'
4
+ VERSION = '0.5.3'
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gollum-rjgit_adapter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: java
6
6
  authors:
7
7
  - Bart Kamphorst, Dawa Ometto
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-15 00:00:00.000000000 Z
11
+ date: 2020-04-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement