gitlab_git 6.2.0 → 6.2.1
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/ref.rb +8 -1
- 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: b2b10551ec24fdb125d2ace7adf4fd627448d71a
|
4
|
+
data.tar.gz: c73a01497cf58cf9366f4fefef3d0034905a3417
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adef193ca425170825d13871279c951ad5497c271cd50e3e8eb62089469285ef822632ae0330824e695b018b0a2e73841ce46d0605c324eedb8cc0a1b0ea12ee
|
7
|
+
data.tar.gz: 72df752ad01c48cf7de289afbb582061b993cc0492266c301ef2ee097871654387bcea468f39862bcc8fc2bdba861140b8958fef1c3dbf2519c532188e398286
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
6.2.
|
1
|
+
6.2.1
|
data/lib/gitlab_git/ref.rb
CHANGED
@@ -19,7 +19,14 @@ module Gitlab
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def initialize(name, target)
|
22
|
-
@name
|
22
|
+
@name = name.gsub(/\Arefs\/(tags|heads)\//, '')
|
23
|
+
@target = if target.respond_to?(:oid)
|
24
|
+
target.oid
|
25
|
+
elsif target.respond_to?(:name)
|
26
|
+
target.name
|
27
|
+
else
|
28
|
+
nil
|
29
|
+
end
|
23
30
|
end
|
24
31
|
end
|
25
32
|
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: 6.2.
|
4
|
+
version: 6.2.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: 2014-08-
|
11
|
+
date: 2014-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gitlab-linguist
|