gitlab_git 7.2.12 → 7.2.13

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/gitlab_git/blob.rb +5 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3dfe1adc18e236f4674a8a9444280bad676a7813
4
- data.tar.gz: 8071dc50122e79328543e6a14965141d58450914
3
+ metadata.gz: 952e2863d141545939ecfef1aea77a91c4bfbdf3
4
+ data.tar.gz: 3a37e09ab8b050825f5700a419a90f8c742c8d13
5
5
  SHA512:
6
- metadata.gz: ed619af4decb82283bd18af7842d0abd3fb6433b3999ae395cd85d99eba84f8fcbb77305676aac13d387ceadfd81dfe800c7821e3b36c31fc779c8a198fa8f65
7
- data.tar.gz: dc1bc45f26596917a2adc26bab5e94a0ee64655ca84f407259049f8f5ec65fbf29155d8d04b92cb95cdab5f3b2378665ad5c47d65457d93f6af2093ac04ec6ac
6
+ metadata.gz: 46f3cb2c2039e4dad740fdb5fa9b4b3b4e25887d06bf40d4112c6304f4ba9bd980ab096dd9172f97fe6af303058a8622051ef148115776d90c4338493ae66152
7
+ data.tar.gz: 8615e089a40d3a29f0011048e8089ef27e5fdfc88c8af75ff923ae2677ce2fbb75c914fc331ef2cddf88a88721548e31b41bffff9d48dbddfd34ac2bbd443e81
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.2.12
1
+ 7.2.13
@@ -112,9 +112,13 @@ module Gitlab
112
112
  committer = options[:committer]
113
113
  commit = options[:commit]
114
114
  repo = repository.rugged
115
- ref = 'refs/heads/' + commit[:branch]
115
+ ref = commit[:branch]
116
116
  parents = []
117
117
 
118
+ unless ref.start_with?('refs/')
119
+ ref = 'refs/heads/' + ref
120
+ end
121
+
118
122
  index = repo.index
119
123
 
120
124
  unless repo.empty?
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.2.12
4
+ version: 7.2.13
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-08-11 00:00:00.000000000 Z
11
+ date: 2015-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab-linguist
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
108
108
  version: '0'
109
109
  requirements: []
110
110
  rubyforge_project:
111
- rubygems_version: 2.4.3
111
+ rubygems_version: 2.2.2
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: Gitlab::Git library