quiverstaskrunner 0.1.2477923 → 0.1.2477936

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
  SHA256:
3
- metadata.gz: 0bbfbf105d0c1640b775e05648f114f9387e9abd5aa0250062d21757cc3637a8
4
- data.tar.gz: b686b093ec1a6017aa7e4ed2a9dfb93062cb24ef3c426221c52b92f4d9a59976
3
+ metadata.gz: c6a7d64ca406d6cc9881f88b532f1feba513279088c2efe3465666b2c7f1c460
4
+ data.tar.gz: bee1d857ae3ef94f39dcd691e015bd498400d1cc79f4cbe22f76f90f9e5e9b3a
5
5
  SHA512:
6
- metadata.gz: 4f83d4f3d3083e8f395822ae265d295586cf9d5026a2ee80fd97286bfe6054f80054c3de6915c64778b0894191ef31c3eedfbed6777c6b262956f7b0137e52ac
7
- data.tar.gz: '08345797a6cf32b77e08da454c7ae72c7896b0d85be7045ef1ed3405792dd5017955e7c1b03db6b8bf60a89fc98d853ff3561830d9d3513e3772137ab219f9de'
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quiverstaskrunner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2477923
4
+ version: 0.1.2477936
5
5
  platform: ruby
6
6
  authors:
7
7
  - ndao