fog-aws 3.6.2 → 3.6.3

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: 00fc42b895d14ab00b5e1f16425418ca937cfc3baef380f8b62b195eed0f712c
4
- data.tar.gz: 2659d7e60f0744a45d07bfdb7ae0799d019d1db32011e0226a65215c93dcedf3
3
+ metadata.gz: 9dea4e752400d125510799d22baef7ef0070ec79ca82ca0a69b486c9c70ad101
4
+ data.tar.gz: a114a750ceae8289eca40561c0f9ff287b22da510d1aad328e9691f5245b7a9d
5
5
  SHA512:
6
- metadata.gz: b0b5875cf43c3b3210ccd26330ad115a889e4802854200af17f57a4dc07a226141c3027cfe28f6d9310b451634a8a1d9cb7f817d47142e32b3af42266842a32a
7
- data.tar.gz: 3d2ce1c9051d9806ac452adcf8992b85c8b3fe9e154834ca46136f3ab8defeab07a79ca45b76991f4d2001dc7e9f6bcf6f49d534a2eaf17e53573501565ceed1
6
+ metadata.gz: 83ea3407d7642e2dec7ac3263be136bb573f6e5b9d7f41a57ea3f223a8037eebd7a8f41aaf310d4523ae814af4c20ec1069a40629df92870a245033730cb98c2
7
+ data.tar.gz: 48580b9cb5e5668ef9e7b8356b6efa58aa3391936222148a4cabbc5f45b08bf77334669877d57435b765cbf8a84218a79a01eac657cda73beda06b3382cafb33
@@ -1,5 +1,35 @@
1
1
  # Change Log
2
2
 
3
+ ## [v3.6.2](https://github.com/fog/fog-aws/tree/v3.6.2) (2020-03-24)
4
+ [Full Changelog](https://github.com/fog/fog-aws/compare/v3.5.2...v3.6.2)
5
+
6
+ **Closed issues:**
7
+
8
+ - config.assets.prefix is being looked at as a bucket name [\#551](https://github.com/fog/fog-aws/issues/551)
9
+ - Class name typo: AssumeRoleWithWithWebIdentity [\#548](https://github.com/fog/fog-aws/issues/548)
10
+ - filename too long [\#544](https://github.com/fog/fog-aws/issues/544)
11
+
12
+ **Merged pull requests:**
13
+
14
+ - Adding two missing regions to Fog::AWS.regions [\#552](https://github.com/fog/fog-aws/pull/552) ([lvangool](https://github.com/lvangool))
15
+ - Adds missing param WebIdentityToken for the request to the AWS api [\#550](https://github.com/fog/fog-aws/pull/550) ([dgoradia](https://github.com/dgoradia))
16
+ - Fixes type in class name for STS assume\_role\_with\_web\_identity parser [\#549](https://github.com/fog/fog-aws/pull/549) ([dgoradia](https://github.com/dgoradia))
17
+ - Add missing AWS flavors [\#547](https://github.com/fog/fog-aws/pull/547) ([ybart](https://github.com/ybart))
18
+ - Update elasticache mocking regions [\#545](https://github.com/fog/fog-aws/pull/545) ([yads](https://github.com/yads))
19
+ - Feature/elbv2 creation endpoint [\#542](https://github.com/fog/fog-aws/pull/542) ([KevinLoiseau](https://github.com/KevinLoiseau))
20
+ - Fix/sd 8581/retrieve provider snapshot status from provider [\#541](https://github.com/fog/fog-aws/pull/541) ([toubs13](https://github.com/toubs13))
21
+ - Fix/missing implementation in listener parser [\#540](https://github.com/fog/fog-aws/pull/540) ([KevinLoiseau](https://github.com/KevinLoiseau))
22
+ - Enhance/elbv2 tag endpoints [\#539](https://github.com/fog/fog-aws/pull/539) ([KevinLoiseau](https://github.com/KevinLoiseau))
23
+ - Improve documentation and development setup [\#538](https://github.com/fog/fog-aws/pull/538) ([gustavosobral](https://github.com/gustavosobral))
24
+ - Add object tagging [\#537](https://github.com/fog/fog-aws/pull/537) ([gustavosobral](https://github.com/gustavosobral))
25
+ - Fix load balancers parser to handle more than one availability zone with addresses [\#536](https://github.com/fog/fog-aws/pull/536) ([KevinLoiseau](https://github.com/KevinLoiseau))
26
+ - Remove useless attribute location from directory model [\#535](https://github.com/fog/fog-aws/pull/535) ([KevinLoiseau](https://github.com/KevinLoiseau))
27
+ - Create service ELBV2 to handle specificities of 2015-12-01 API version [\#534](https://github.com/fog/fog-aws/pull/534) ([KevinLoiseau](https://github.com/KevinLoiseau))
28
+ - Add missing m5a flavors [\#533](https://github.com/fog/fog-aws/pull/533) ([ybart](https://github.com/ybart))
29
+ - Enhance/add some attributes to hosted zone parsers [\#531](https://github.com/fog/fog-aws/pull/531) ([KevinLoiseau](https://github.com/KevinLoiseau))
30
+ - Fix VPC tenancy on creation [\#530](https://github.com/fog/fog-aws/pull/530) ([ramonpm](https://github.com/ramonpm))
31
+ - Fix subnet's parsings [\#529](https://github.com/fog/fog-aws/pull/529) ([KevinLoiseau](https://github.com/KevinLoiseau))
32
+
3
33
  ## [v3.5.2](https://github.com/fog/fog-aws/tree/v3.5.2) (2019-07-16)
4
34
  [Full Changelog](https://github.com/fog/fog-aws/compare/v3.5.1...v3.5.2)
5
35
 
@@ -12,7 +42,7 @@
12
42
 
13
43
  - Add ap-east-1 \(Hong Kong\) to Fog::AWS.regions [\#528](https://github.com/fog/fog-aws/pull/528) ([tisba](https://github.com/tisba))
14
44
  - Update shared\_mock\_methods.rb [\#526](https://github.com/fog/fog-aws/pull/526) ([MiWieczo](https://github.com/MiWieczo))
15
- - WIP: Make S3 Signature v4 streaming optional [\#525](https://github.com/fog/fog-aws/pull/525) ([stanhu](https://github.com/stanhu))
45
+ - Make S3 Signature v4 streaming optional [\#525](https://github.com/fog/fog-aws/pull/525) ([stanhu](https://github.com/stanhu))
16
46
 
17
47
  ## [v3.5.1](https://github.com/fog/fog-aws/tree/v3.5.1) (2019-06-10)
18
48
  [Full Changelog](https://github.com/fog/fog-aws/compare/v3.5.0...v3.5.1)
@@ -220,6 +220,7 @@ module Fog
220
220
 
221
221
  def self.regions
222
222
  @regions ||= [
223
+ 'af-south-1',
223
224
  'ap-east-1',
224
225
  'ap-northeast-1', 'ap-northeast-2', 'ap-northeast-3',
225
226
  'ap-south-1',
@@ -125,23 +125,26 @@ module Fog
125
125
  end
126
126
 
127
127
  class Mock
128
- def self.mutex
129
- @mutex ||= Mutex.new
130
- end
131
- def mutex; self.class.mutex; end
128
+ @mutex = Mutex.new
132
129
 
133
130
  def self.data
134
- @data ||= Hash.new do |hash, region|
135
- hash[region] = Hash.new do |region_hash, key|
136
- region_hash[key] = {
137
- :kinesis_streams => {}
138
- }
131
+ @mutex.synchronize do
132
+ @data ||= Hash.new do |hash, region|
133
+ hash[region] = Hash.new do |region_hash, key|
134
+ region_hash[key] = {
135
+ :kinesis_streams => {}
136
+ }
137
+ end
139
138
  end
139
+
140
+ yield @data if block_given?
140
141
  end
141
142
  end
142
143
 
143
144
  def self.reset
144
- @data = nil
145
+ @mutex.synchronize do
146
+ @data = nil
147
+ end
145
148
  end
146
149
 
147
150
  def initialize(options={})
@@ -153,31 +156,36 @@ module Fog
153
156
  end
154
157
 
155
158
  def data
156
- self.class.data[@region][@aws_access_key_id]
159
+ self.class.data do |data|
160
+ data[@region][@aws_access_key_id]
161
+ end
157
162
  end
158
163
 
159
164
  def reset_data
160
- self.class.data[@region].delete(@aws_access_key_id)
165
+ self.class.data do |data|
166
+ data[@region].delete(@aws_access_key_id)
167
+ end
161
168
  end
162
169
 
163
170
  def self.next_sequence_number
164
- mutex.synchronize do
171
+ @mutex.synchronize do
165
172
  @sequence_number ||= -1
166
173
  @sequence_number += 1
167
174
  @sequence_number.to_s
168
175
  end
169
176
  end
177
+
170
178
  def next_sequence_number; self.class.next_sequence_number; end
171
179
 
172
180
  def self.next_shard_id
173
- mutex.synchronize do
181
+ @mutex.synchronize do
174
182
  @shard_id ||= -1
175
183
  @shard_id += 1
176
184
  "shardId-#{@shard_id.to_s.rjust(12, "0")}"
177
185
  end
178
186
  end
187
+
179
188
  def next_shard_id; self.class.next_shard_id; end
180
-
181
189
  end
182
190
 
183
191
  end
@@ -1276,6 +1276,16 @@ module Fog
1276
1276
  :ebs_optimized_available => true,
1277
1277
  :instance_store_volumes => 0
1278
1278
  },
1279
+ {
1280
+ :id => 'r5.8xlarge',
1281
+ :name => 'R5 Eight Extra Large',
1282
+ :bits => 64,
1283
+ :cores => 32,
1284
+ :disk => 0,
1285
+ :ram => 274878,
1286
+ :ebs_optimized_available => true,
1287
+ :instance_store_volumes => 0
1288
+ },
1279
1289
  {
1280
1290
  :id => "r5.8xlarge",
1281
1291
  :name => "R5 Octuple Extra Large",
@@ -1296,6 +1306,16 @@ module Fog
1296
1306
  :ebs_optimized_available => true,
1297
1307
  :instance_store_volumes => 0
1298
1308
  },
1309
+ {
1310
+ :id => "r5.12xlarge",
1311
+ :name => "R5 Sixteen Extra Large",
1312
+ :bits => 64,
1313
+ :cores => 64,
1314
+ :ram => 549756,
1315
+ :disk => 0,
1316
+ :ebs_optimized_available => true,
1317
+ :instance_store_volumes => 0
1318
+ },
1299
1319
  {
1300
1320
  :id => "r5.16xlarge",
1301
1321
  :name => "R5 Sixteen Extra Large",
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module AWS
3
- VERSION = "3.6.2"
3
+ VERSION = "3.6.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fog-aws
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.6.2
4
+ version: 3.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Lane
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-03-24 00:00:00.000000000 Z
12
+ date: 2020-04-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler