gitlab_git 7.1.0 → 7.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/gitlab_git/commit.rb +2 -0
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e4a8a135eb5358dd1b869c7838ef929d86de4293
4
- data.tar.gz: 1f64c7ab0f98fcc4e5b0e93bb959d3b56d4cae08
3
+ metadata.gz: 2a7f3af0ec367493682672a6734034b9c21fd43c
4
+ data.tar.gz: 81911875403f2fc9ff131be7f631dfc27bac9910
5
5
  SHA512:
6
- metadata.gz: 2a1e73582ca20fa80bdb6d1c7b337864f9cdf412b751b4bc3f32f3982f0afc6e8f021f909b44fa6224f53a88d050d96086216036c5b66404f5f64c1ad226e48c
7
- data.tar.gz: 36a067ae07f4700f32a55216c51bd071f4047ddc95b7612222381e62dc1c05426c39e5a684bf89c0454542c2fb448aa9f8ccdd3cd5662a3880057c2820facbaa
6
+ metadata.gz: 2ed80d6efd104acdd420e275968043618ae775b4ae6a8970a3041ce7e81360b60711c456e0bfd1d3385fb95fd0522b18c6da3f25d50b5a75edfac5c174c3abe2
7
+ data.tar.gz: 0356774c9bf1d4aa673aaaa60234fc151e918afdf804000c6d16eab9b367883ef39e1a43f6387a5900a84a0d38d95c861a83a4d3c224abbaf025069610dd47a7
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.1.0
1
+ 7.1.1
@@ -55,6 +55,8 @@ module Gitlab
55
55
  return decorate(commit_id) if commit_id.is_a?(Rugged::Commit)
56
56
 
57
57
  obj = repo.rev_parse_target(commit_id)
58
+ return nil unless obj.is_a?(Rugged::Commit)
59
+
58
60
  decorate(obj)
59
61
  rescue Rugged::ReferenceError, Rugged::ObjectError
60
62
  nil
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: 7.1.0
4
+ version: 7.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Zaporozhets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-11 00:00:00.000000000 Z
11
+ date: 2015-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab-linguist