gitlab_git 10.0.2 → 10.1.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 +7 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1e0b7b512d65afe759c4e3ac989de5d5a02fbe1
|
4
|
+
data.tar.gz: d393fad7aa2e185bb8703719ead0b0674b079002
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6199199c09ee9add48e28134ffda0785751600b3ac39952d2c3c5269a78b57a17a072cec700685d91e22df7f356df76f192ae9ada89b9bdbf428a0ba3f14de4c
|
7
|
+
data.tar.gz: 95a69fd5dd13b27788ec28486f9896ad27eb3ad8df76d81a4ce11b3b94d8e1600cefcd269ce7d4ce71c677ec8c740d35d6942581bedab8cbe0179f5ca931fc0d
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
10.0
|
1
|
+
10.1.0
|
@@ -103,6 +103,13 @@ module Gitlab
|
|
103
103
|
end.sort_by(&:name)
|
104
104
|
end
|
105
105
|
|
106
|
+
# Returns true if the given tag exists
|
107
|
+
#
|
108
|
+
# name - The name of the tag as a String.
|
109
|
+
def tag_exists?(name)
|
110
|
+
!!rugged.tags[name]
|
111
|
+
end
|
112
|
+
|
106
113
|
# Returns an Array of branch and tag names
|
107
114
|
def ref_names
|
108
115
|
branch_names + tag_names
|
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: 10.0
|
4
|
+
version: 10.1.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: 2016-04
|
11
|
+
date: 2016-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: github-linguist
|
@@ -125,8 +125,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
125
125
|
version: '0'
|
126
126
|
requirements: []
|
127
127
|
rubyforge_project:
|
128
|
-
rubygems_version: 2.
|
128
|
+
rubygems_version: 2.5.1
|
129
129
|
signing_key:
|
130
130
|
specification_version: 4
|
131
131
|
summary: Gitlab::Git library
|
132
132
|
test_files: []
|
133
|
+
has_rdoc:
|