gitlab_git 8.0.0 → 8.1.0
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/repository.rb +5 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 53c43094f89b1fadc210c6f91726fb88533b21d2
|
4
|
+
data.tar.gz: 2161e261fd15d36830f5af0e150fe400da80f0bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 699c71de9fc85ccc20e9a9c0d272edcf77e1a8a0c06f165c657d1125bbeb8158f730f4ce432a145120b488e99e82fa1cd43747b40ca63ac1408ba66bbda4e735
|
7
|
+
data.tar.gz: db0aa600ae413d547392f42731bac4d0cae7081128f0d516d93a0e473f5be959df188f80abeebc00922d71a70d7e4f36850613c08b37e5baab82d9e929dba12c
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
8.
|
1
|
+
8.1.0
|
@@ -305,6 +305,11 @@ module Gitlab
|
|
305
305
|
commits
|
306
306
|
end
|
307
307
|
|
308
|
+
# Counts the amount of commits between `from` and `to`.
|
309
|
+
def count_commits_between(from, to)
|
310
|
+
commits_between(from, to).size
|
311
|
+
end
|
312
|
+
|
308
313
|
# Returns the SHA of the most recent common ancestor of +from+ and +to+
|
309
314
|
def merge_base_commit(from, to)
|
310
315
|
rugged.merge_base(from, to)
|
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: 8.
|
4
|
+
version: 8.1.0
|
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-02-
|
11
|
+
date: 2016-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-linguist
|
@@ -109,8 +109,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
109
|
version: '0'
|
110
110
|
requirements: []
|
111
111
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
112
|
+
rubygems_version: 2.5.1
|
113
113
|
signing_key:
|
114
114
|
specification_version: 4
|
115
115
|
summary: Gitlab::Git library
|
116
116
|
test_files: []
|
117
|
+
has_rdoc:
|