gitlab_git 8.0.0 → 8.1.0

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
  SHA1:
3
- metadata.gz: d950876f8ec96a748af722a6415f180df67145e3
4
- data.tar.gz: ba58a4d6062538028df751d1f4c1d5ecc753c588
3
+ metadata.gz: 53c43094f89b1fadc210c6f91726fb88533b21d2
4
+ data.tar.gz: 2161e261fd15d36830f5af0e150fe400da80f0bb
5
5
  SHA512:
6
- metadata.gz: e99e08238b47ce5b23a715c7578fe98d2f29cf755e5cff28b688bcf5195447577354d14fd9a895530bde7b5959943906b93429bf331a4c7ad5be4616ea505083
7
- data.tar.gz: 0b39c79a5f3f723509a26d81fd7b8370de336a0487caacc3147588eb8c95268843e2e93fe00ef2abad6cb3841666d4a6ef6e9a4c402851ced7ecd36449e5ea9b
6
+ metadata.gz: 699c71de9fc85ccc20e9a9c0d272edcf77e1a8a0c06f165c657d1125bbeb8158f730f4ce432a145120b488e99e82fa1cd43747b40ca63ac1408ba66bbda4e735
7
+ data.tar.gz: db0aa600ae413d547392f42731bac4d0cae7081128f0d516d93a0e473f5be959df188f80abeebc00922d71a70d7e4f36850613c08b37e5baab82d9e929dba12c
data/VERSION CHANGED
@@ -1 +1 @@
1
- 8.0.0
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.0.0
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-02 00:00:00.000000000 Z
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.4.5.1
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: