gitlab_git 6.1.0 → 6.2.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 +4 -4
- data/VERSION +1 -1
- data/lib/gitlab_git/ref.rb +1 -1
- data/lib/gitlab_git/repository.rb +2 -3
- data/lib/gitlab_git/tree.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f2ebe12b24e272322287b0a8997ab416403beda6
|
|
4
|
+
data.tar.gz: dca6e6d5eae4d42ddf3df99a64f914fdc19c02b6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 414353bd7d4a45d6891dbc926a3446bf8bf9550fd09e296eebcc77ced74dcc0021c3c498bc14a8e0d0d1928451a543ad76c3d2dd0ddeb42160cd977d27f166ce
|
|
7
|
+
data.tar.gz: 86a6001b752b38b10335a14a0894137abef2b08e32a6ae6a15a0571f7e15e60d91e75114de0d71872fc8a636c372de119eae703425c287e2d9c9604ae8ea8002
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
6.
|
|
1
|
+
6.2.0
|
data/lib/gitlab_git/ref.rb
CHANGED
|
@@ -64,8 +64,7 @@ module Gitlab
|
|
|
64
64
|
|
|
65
65
|
# Returns an Array of tag names
|
|
66
66
|
def tag_names
|
|
67
|
-
|
|
68
|
-
rugged.tags.to_a
|
|
67
|
+
rugged.tags.map { |t| t.name }
|
|
69
68
|
end
|
|
70
69
|
|
|
71
70
|
# Returns an Array of Tags
|
|
@@ -166,7 +165,7 @@ module Gitlab
|
|
|
166
165
|
# Create file if not exists
|
|
167
166
|
unless File.exists?(file_path)
|
|
168
167
|
# create archive in temp file
|
|
169
|
-
tmp_file = Tempfile.new('gitlab-archive-repo')
|
|
168
|
+
tmp_file = Tempfile.new('gitlab-archive-repo', storage_path)
|
|
170
169
|
self.grit.archive_to_file(ref, prefix, tmp_file.path, git_archive_format, pipe_cmd)
|
|
171
170
|
|
|
172
171
|
# move temp file to persisted location
|
data/lib/gitlab_git/tree.rb
CHANGED
|
@@ -30,7 +30,7 @@ module Gitlab
|
|
|
30
30
|
id: entry[:oid],
|
|
31
31
|
root_id: root_tree.oid,
|
|
32
32
|
name: entry[:name],
|
|
33
|
-
type: entry[:type]
|
|
33
|
+
type: entry[:type],
|
|
34
34
|
mode: entry[:filemode],
|
|
35
35
|
path: path ? File.join(path, entry[:name]) : entry[:name],
|
|
36
36
|
commit_id: sha,
|
|
@@ -83,7 +83,7 @@ module Gitlab
|
|
|
83
83
|
end
|
|
84
84
|
|
|
85
85
|
def submodule?
|
|
86
|
-
type == :
|
|
86
|
+
type == :commit
|
|
87
87
|
end
|
|
88
88
|
|
|
89
89
|
def readme?
|
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.
|
|
4
|
+
version: 6.2.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-
|
|
11
|
+
date: 2014-08-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gitlab-linguist
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: 0.
|
|
61
|
+
version: 0.21.0
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: 0.
|
|
68
|
+
version: 0.21.0
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: charlock_holmes
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|