gitlab_git 5.4.0 → 5.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/gitlab_git/repository.rb +6 -0
- data/lib/gitlab_git/tree.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e09f5ea62298e7f5184297ea96095cddda0eecef
|
4
|
+
data.tar.gz: 2eb6a3b09ea354f93b83e71a28ce83ebdd848ee2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 990714fcab5060cc22d8ad2c0fa3f40efac968b1cec8959e11de179ef46a9cadb184d07486de111fab7e713ed37acc0584af9f4e0fa899a917ac9b45c48e8163
|
7
|
+
data.tar.gz: 7b6ac386fb5d663060c504e51c806fd2e3abba765629ad4490aade68bc23e78e2b64bfa84d20b1ca6f84227c6d8b2b2e4469d4c8ec8218f9122d0e9137aceddc
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
5.
|
1
|
+
5.5.0
|
@@ -1,6 +1,8 @@
|
|
1
1
|
# Gitlab::Git::Commit is a wrapper around native Grit::Repository object
|
2
2
|
# We dont want to use grit objects inside app/
|
3
3
|
# It helps us easily migrate to rugged in future
|
4
|
+
require_relative 'encoding_herlper'
|
5
|
+
|
4
6
|
module Gitlab
|
5
7
|
module Git
|
6
8
|
class Repository
|
@@ -295,6 +297,10 @@ module Gitlab
|
|
295
297
|
#
|
296
298
|
def branch_names_contains(commit)
|
297
299
|
output = grit.git.native(:branch, {contains: true}, commit)
|
300
|
+
|
301
|
+
# Fix encoding issue
|
302
|
+
output = EncodingHelper::encode!(output)
|
303
|
+
|
298
304
|
# The output is expected as follow
|
299
305
|
# fix-aaa
|
300
306
|
# fix-bbb
|
data/lib/gitlab_git/tree.rb
CHANGED
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: 5.
|
4
|
+
version: 5.5.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: 2014-02-
|
11
|
+
date: 2014-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab-linguist
|