azure-armrest 0.3.6 → 0.3.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: d581e8606ff8fb662506a034bd0ba4dca0d5ce02
4
- data.tar.gz: f5b4a1c3e4b474db88bab04a40a5b73e395ee2e2
3
+ metadata.gz: 7d9f6d582f68c38666f0904db56732b7cdad8f90
4
+ data.tar.gz: e4f320a935c370248d70f24b8365b68fcee4f4eb
5
5
  SHA512:
6
- metadata.gz: b2a57e5c9b36b7c1bf9d28525cd4d3b3be4772c89b1b9d1342d6773b434846634b458fa8efefbc6f3549f6b6aac469dea7489c9ca44f0b80d45d4f5263cd5863
7
- data.tar.gz: 411f85036c00fea64f13ff0c494e2d27172f6fcf67ad029e98b4a3f705f61966179485034c982de7598a6f642c24edd2e4429fbd13f0457ec80ac4d70f556f70
6
+ metadata.gz: 77434cab50f1c0834bf422a5b66f48d9ed9a641ac29ffbac671d83100e0c65b6a94fc0ad13efa6d802d29532c5133a90b4d080b55efcb01389bc3bc1603faa76
7
+ data.tar.gz: c2807304de56ded6362984e23c899fd92c6c59315261ebf33aa11d75df27c6082e8f0c57a47559823333d0de1da3150b6d56c9e10793b01a69c38666a93fc85d
data/CHANGES CHANGED
@@ -1,3 +1,7 @@
1
+ = 0.3.7 - 15-Sep-2016
2
+ * Modified the private image listing code in the StorageAccountService class
3
+ to skip over storage accounts when we cannot get a key.
4
+
1
5
  = 0.3.6 - 13-Sep-2016
2
6
  * Added the poll and wait methods to the ArmrestService base class. These
3
7
  are meant for use with asynchronous operations, e.g. create and delete.
@@ -64,6 +68,12 @@
64
68
  * StorageAccountService no longer does account type validation.
65
69
  * Added the StorageAccountService#list_all_private_images method.
66
70
 
71
+ = 0.2.10 - 15-Sep-2016
72
+ * Backported PR #213 (skip over storage accounts that don't have keys).
73
+
74
+ = 0.2.9 - 25-Aug-2016
75
+ * Backported PR #211 (exception class updates and specs).
76
+
67
77
  = 0.2.8 - 22-Jul-2016
68
78
  * Backported PR #188 (add list_all_private_images method).
69
79
  * Backported PR #194 (updated .travis.yml).
@@ -249,7 +249,11 @@ module Azure
249
249
  mutex = Mutex.new
250
250
 
251
251
  Parallel.each(storage_accounts, :in_threads => configuration.max_threads) do |storage_account|
252
- key = get_account_key(storage_account)
252
+ begin
253
+ key = get_account_key(storage_account)
254
+ rescue Azure::Armrest::ApiException
255
+ next # Most likely due to incomplete or failed provisioning.
256
+ end
253
257
 
254
258
  storage_account.all_blobs(key, configuration.max_threads).each do |blob|
255
259
  next unless File.extname(blob.name).casecmp('.vhd') == 0
@@ -1,5 +1,5 @@
1
1
  module Azure
2
2
  module Armrest
3
- VERSION = '0.3.6'.freeze
3
+ VERSION = '0.3.7'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: azure-armrest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel J. Berger
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-09-13 00:00:00.000000000 Z
14
+ date: 2016-09-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json