gitlab_git 7.0.0.rc4 → 7.0.0.rc5

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: ac5cbe56279c663c2bbff8af444c61da6f004056
4
- data.tar.gz: ab6cb0ba7984203a57ca8112e3538a2525237fc8
3
+ metadata.gz: f7db00525fddc76b32ad267db48527dee19b000f
4
+ data.tar.gz: c74e46648690f2c15cd85f3a662dab49df13e57f
5
5
  SHA512:
6
- metadata.gz: 9595dccf43da4638106dd90aead029a5d33b1a51684ae83cab7591a4b9a0943d4f6ab4412e613c1c06e7d959dfefad323414ea48a66ded7c84d83ffe75b02450
7
- data.tar.gz: 17a0b75f441a6c10a26a3ce05049613b250ef0adf7d1682f84dfd4845fa43808a979360047e863edd759cb8d0abd99a57a0d01a83e5e01596d446154de5a71f3
6
+ metadata.gz: 089b53afb3805583081bc3116812613a856a22adf2f3b2f47281e1b1ef68fb7ceb361728f7b116b8b5f880a01878e3834386de904cc7ae66890dc78e9bd487df
7
+ data.tar.gz: d38dd0fb08845d15d3ea31e8f0b8f2ca209e64bb8c33ab45588ce4b3a11c0e273923f37136f41a9293f6a1c9f3369999d0ed362e1946d008eacac700463d9d79
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.0.0.rc4
1
+ 7.0.0.rc5
@@ -153,6 +153,10 @@ module Gitlab
153
153
  file_name = self.name.gsub("\.git", "") + "-" + commit.id.to_s + extension
154
154
  file_path = File.join(storage_path, self.name, file_name)
155
155
 
156
+ # Create dir for archive file
157
+ parent_path = File.join(storage_path, self.name)
158
+ FileUtils.mkdir_p(parent_path) unless File.directory?(parent_path)
159
+
156
160
  # Create file if not exists
157
161
  create_archive(ref, pipe_cmd, file_path) unless File.exist?(file_path)
158
162
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab_git
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0.rc4
4
+ version: 7.0.0.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Zaporozhets