quiverstaskrunner 0.1.2477923 → 0.1.2477936
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/lib/quiverstaskrunner/azuresetup.rb +3 -2
- data/lib/quiverstaskrunner/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6a7d64ca406d6cc9881f88b532f1feba513279088c2efe3465666b2c7f1c460
|
4
|
+
data.tar.gz: bee1d857ae3ef94f39dcd691e015bd498400d1cc79f4cbe22f76f90f9e5e9b3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68c1d2156bc155df48a5509d9ca424807d02bb2a769ab928af90fb9fcf72e8197f7439317db6db0f733c19eb13ad06ce406dbf7efc3fdd72bb16d8d3b9aa62d6
|
7
|
+
data.tar.gz: b641099a0c40af5cb77f30a88476ac131cff068c1a8536066489014a6c435d98ea4bd0a89d4e67522384510f0e1dab30820617bff12cf6f003d4712ecdcdbee4
|
@@ -158,6 +158,8 @@ module QuiversTaskrunner
|
|
158
158
|
block_list = []
|
159
159
|
counter = 1
|
160
160
|
|
161
|
+
start_time = Time.now
|
162
|
+
|
161
163
|
File.open(File.join(pkg_dir, pkg_name), "rb") do |f|
|
162
164
|
f.each_chunk {|chunk|
|
163
165
|
block_id = counter.to_s.rjust(5, '0')
|
@@ -168,14 +170,13 @@ module QuiversTaskrunner
|
|
168
170
|
:content_type => "application/octet-stream",
|
169
171
|
:timeout => timeout
|
170
172
|
}
|
171
|
-
|
173
|
+
|
172
174
|
md5 = blob_srv.create_blob_block(blob_container, blob_name, block_id, chunk, blob_options)
|
173
175
|
counter += 1
|
174
176
|
}
|
175
177
|
end
|
176
178
|
|
177
179
|
# 2. Upload the blob object to the blob storage
|
178
|
-
start_time = Time.now
|
179
180
|
uploaded_package_name = nil
|
180
181
|
no_error = true
|
181
182
|
begin
|
@@ -1 +1 @@
|
|
1
|
-
module QuiversTaskrunner
|
1
|
+
module QuiversTaskrunner
|