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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a55120d34d9e9b2087ebb986213e27d01d1fe76b
4
- data.tar.gz: fa165fd88b30db8cdfe33b0d9525088b0f505993
3
+ metadata.gz: e09f5ea62298e7f5184297ea96095cddda0eecef
4
+ data.tar.gz: 2eb6a3b09ea354f93b83e71a28ce83ebdd848ee2
5
5
  SHA512:
6
- metadata.gz: a271874e14e54fca6437a92709b0249383983f80f2d49439f11ff12b4e195ca347f8c3de8b46523b01f3225241859eae00b8695d85d4fefb7fe839814eda9aed
7
- data.tar.gz: e5445e97d57aaf696886791a17aba0e1e1e1dd177d8e68cc9b7aa68d4915b50f9697c7d5d9d4e504778665f1eb7111895b721a306e1739b05d06f06d2b9d250d
6
+ metadata.gz: 990714fcab5060cc22d8ad2c0fa3f40efac968b1cec8959e11de179ef46a9cadb184d07486de111fab7e713ed37acc0584af9f4e0fa899a917ac9b45c48e8163
7
+ data.tar.gz: 7b6ac386fb5d663060c504e51c806fd2e3abba765629ad4490aade68bc23e78e2b64bfa84d20b1ca6f84227c6d8b2b2e4469d4c8ec8218f9122d0e9137aceddc
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.4.0
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
@@ -89,6 +89,10 @@ module Gitlab
89
89
  def readme?
90
90
  name =~ /^readme/i
91
91
  end
92
+
93
+ def contribution?
94
+ name =~ /^contribution/i
95
+ end
92
96
  end
93
97
  end
94
98
  end
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.0
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-12 00:00:00.000000000 Z
11
+ date: 2014-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab-linguist