gitlab_git 7.1.6 → 7.1.7

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: 876fc2290959ea669523a5676c9e0ff36e2a1130
4
- data.tar.gz: dbb0695e4149473cf7e69f6bb859d1fc4cfc140d
3
+ metadata.gz: d9c53a46ae33ee6f655b65987767c0e10bfdbba4
4
+ data.tar.gz: 6d0e4cb591acbf85a8e7617eed53eda0bd65c50d
5
5
  SHA512:
6
- metadata.gz: 6ea3ec749ab8649d5159780b9602807f80af6a20941da3b161b3b35c015d8c2f573c3d9061df33368dd3a6c36dc44a9a75cc91312233dbda4632c694e4b280fb
7
- data.tar.gz: 90d41d795b8e221d2b162394c8fb5d29b78cdb3fb2b0d986091ed31938de48506fbbdf8cd72546d2bc3abf0f89004e6229428bedc796fcc183f76671a8ccfd40
6
+ metadata.gz: 7b6947ae5e1d3dbeaee8bb0b2d4c8309fbae0c75a1336d92cb67e175be31f623191e1266904b016784289d953a9d24996661c7ddd1a7a57e940966174143d242
7
+ data.tar.gz: 636a23d8b39216f6528f19f876b279ce10f3253d273834b361943e83e3093d6bacfa13d2f5b27e695b284e99f8f30f7199abbf2ea1f4d5432d06109a97ecdd79
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.1.6
1
+ 7.1.7
@@ -99,6 +99,10 @@ module Gitlab
99
99
  rugged.empty?
100
100
  end
101
101
 
102
+ def bare?
103
+ rugged.bare?
104
+ end
105
+
102
106
  def repo_exists?
103
107
  !!rugged
104
108
  end
@@ -159,7 +163,7 @@ module Gitlab
159
163
 
160
164
  pid_file_path = archive_pid_file_path(ref, storage_path, format)
161
165
  return file_path if File.exist?(pid_file_path)
162
-
166
+
163
167
  File.open(pid_file_path, "w") do |file|
164
168
  file.puts Process.pid
165
169
  end
@@ -189,7 +193,7 @@ module Gitlab
189
193
  commit = Gitlab::Git::Commit.find(self, ref)
190
194
  return nil unless commit
191
195
 
192
- extension =
196
+ extension =
193
197
  case format
194
198
  when "tar.bz2", "tbz", "tbz2", "tb2", "bz2"
195
199
  ".tar.bz2"
@@ -957,7 +961,7 @@ module Gitlab
957
961
  def nice_process(pid)
958
962
  niced_process = %W(renice -n 20 -p #{pid})
959
963
 
960
- unless RUBY_PLATFORM.include?('darwin')
964
+ unless RUBY_PLATFORM.include?('darwin') || RUBY_PLATFORM.include?('freebsd')
961
965
  niced_process = %W(ionice -c 2 -n 7 -p #{pid}) + niced_process
962
966
  end
963
967
 
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: 7.1.6
4
+ version: 7.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Zaporozhets
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-31 00:00:00.000000000 Z
11
+ date: 2015-04-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gitlab-linguist