gitlab_git 10.0.2 → 10.1.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff3b25f848c88c1a2fa6e9249f32152c4e770b7a
4
- data.tar.gz: 8e911f71f1b6212a93426205b1d4a6fdc0916e01
3
+ metadata.gz: d1e0b7b512d65afe759c4e3ac989de5d5a02fbe1
4
+ data.tar.gz: d393fad7aa2e185bb8703719ead0b0674b079002
5
5
  SHA512:
6
- metadata.gz: 37e8e94113d74a81fbbd12d2ea34c128a86f85afafdf92ce2514d43e3d1bc70f3c0c29951447f3274c45f25da3a5cc9d342f736eed8252e2b917ff35f1b3d091
7
- data.tar.gz: 4a07fb48b3416c136dbc1c2934c8e3be559946c99cfb9b47880b695994a6644d789560faacf4823be303013da3b22862372d52ca978d524e6acfbaeb20e8a29d
6
+ metadata.gz: 6199199c09ee9add48e28134ffda0785751600b3ac39952d2c3c5269a78b57a17a072cec700685d91e22df7f356df76f192ae9ada89b9bdbf428a0ba3f14de4c
7
+ data.tar.gz: 95a69fd5dd13b27788ec28486f9896ad27eb3ad8df76d81a4ce11b3b94d8e1600cefcd269ce7d4ce71c677ec8c740d35d6942581bedab8cbe0179f5ca931fc0d
data/VERSION CHANGED
@@ -1 +1 @@
1
- 10.0.2
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.2
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-27 00:00:00.000000000 Z
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.4.8
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: