gitlab_git 10.4.5 → 10.4.6
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 +4 -4
- data/VERSION +1 -1
- data/lib/gitlab_git/commit.rb +9 -6
- data/lib/gitlab_git/repository.rb +1 -0
- metadata +3 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88ca93647d3ec3b901eb406d48f7a0a82a117b73
|
|
4
|
+
data.tar.gz: e7c4a680134fecdd2c8fe43fc38b5d214737ac8c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b305657df19fa137a7396a0752d05e9a501ca87fa8a7290e51e37b610ed4f50e3c06e869377d50e241d15fe8dcf61024ca25445d5e3bc0f2cba9a0f6fb12cad0
|
|
7
|
+
data.tar.gz: 0c9017062c70470954b1142313e3efe0cdcdebd36f12231029539a4e91b86ffb842cf138804e59e6e1531a0cde8fb0e20167f86439b809af7176583d7cdbeb0c
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
10.4.
|
|
1
|
+
10.4.6
|
data/lib/gitlab_git/commit.rb
CHANGED
|
@@ -287,15 +287,18 @@ module Gitlab
|
|
|
287
287
|
end
|
|
288
288
|
|
|
289
289
|
def init_from_rugged(commit)
|
|
290
|
+
author = commit.author
|
|
291
|
+
committer = commit.committer
|
|
292
|
+
|
|
290
293
|
@raw_commit = commit
|
|
291
294
|
@id = commit.oid
|
|
292
295
|
@message = commit.message
|
|
293
|
-
@authored_date =
|
|
294
|
-
@committed_date =
|
|
295
|
-
@author_name =
|
|
296
|
-
@author_email =
|
|
297
|
-
@committer_name =
|
|
298
|
-
@committer_email =
|
|
296
|
+
@authored_date = author[:time]
|
|
297
|
+
@committed_date = committer[:time]
|
|
298
|
+
@author_name = author[:name]
|
|
299
|
+
@author_email = author[:email]
|
|
300
|
+
@committer_name = committer[:name]
|
|
301
|
+
@committer_email = committer[:email]
|
|
299
302
|
@parent_ids = commit.parents.map(&:oid)
|
|
300
303
|
end
|
|
301
304
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab_git
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 10.4.
|
|
4
|
+
version: 10.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dmitriy Zaporozhets
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-08-
|
|
11
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: github-linguist
|
|
@@ -125,9 +125,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
125
125
|
version: '0'
|
|
126
126
|
requirements: []
|
|
127
127
|
rubyforge_project:
|
|
128
|
-
rubygems_version: 2.
|
|
128
|
+
rubygems_version: 2.4.8
|
|
129
129
|
signing_key:
|
|
130
130
|
specification_version: 4
|
|
131
131
|
summary: Gitlab::Git library
|
|
132
132
|
test_files: []
|
|
133
|
-
has_rdoc:
|