fog-aws 0.9.1 → 0.9.2
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/CHANGELOG.md +90 -2
- data/lib/fog/aws/rds.rb +1 -1
- data/lib/fog/aws/requests/rds/create_db_snapshot.rb +1 -1
- data/lib/fog/aws/requests/rds/delete_db_instance.rb +3 -1
- data/lib/fog/aws/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a09e250e89872f3a54bbcd60d26b3b58b631f72b
|
|
4
|
+
data.tar.gz: 0d4dedf9b4345907c009af9a86b07d0def4be0fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6ef0319dc943903d6b8ed4ef1266804b53b5d51ec1bf5185d8512a1b8a862123e45349de417da02452819270247aa86a16abed3c63ab908182cc165b1607f429
|
|
7
|
+
data.tar.gz: c5dd5eac9938df274f8fe955dd69dadf8530484c0eca70a95ff2323410cffa2c53f6ceb13caf65f9a15198f099aa36bfc67ec8d60654b0bb813a1a636e651711
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,82 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## [v0.9.1](https://github.com/fog/fog-aws/tree/v0.9.1) (2016-03-04)
|
|
4
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.8.2...v0.9.1)
|
|
5
|
+
|
|
6
|
+
## [v0.8.2](https://github.com/fog/fog-aws/tree/v0.8.2) (2016-03-04)
|
|
7
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.9.0...v0.8.2)
|
|
8
|
+
|
|
9
|
+
**Merged pull requests:**
|
|
10
|
+
|
|
11
|
+
- autoscaler attach/detatch [\#229](https://github.com/fog/fog-aws/pull/229) ([shaiguitar](https://github.com/shaiguitar))
|
|
12
|
+
|
|
13
|
+
## [v0.9.0](https://github.com/fog/fog-aws/tree/v0.9.0) (2016-03-03)
|
|
14
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.8.1...v0.9.0)
|
|
15
|
+
|
|
16
|
+
**Closed issues:**
|
|
17
|
+
|
|
18
|
+
- Fog::Storage::AWS::File\#save deprecation warning without alternative [\#226](https://github.com/fog/fog-aws/issues/226)
|
|
19
|
+
- Long format of aws resources [\#216](https://github.com/fog/fog-aws/issues/216)
|
|
20
|
+
|
|
21
|
+
**Merged pull requests:**
|
|
22
|
+
|
|
23
|
+
- Update README.md [\#233](https://github.com/fog/fog-aws/pull/233) ([h0lyalg0rithm](https://github.com/h0lyalg0rithm))
|
|
24
|
+
- fix mime-types CI issues, add 2.3.0 testing [\#231](https://github.com/fog/fog-aws/pull/231) ([lanej](https://github.com/lanej))
|
|
25
|
+
- support for rds clusters and aurora [\#230](https://github.com/fog/fog-aws/pull/230) ([ehowe](https://github.com/ehowe))
|
|
26
|
+
- Correct default DescribeAvailabilityZone filter to zone-name [\#225](https://github.com/fog/fog-aws/pull/225) ([gregburek](https://github.com/gregburek))
|
|
27
|
+
- Security Group perms of FromPort 0 and ToPort -1 [\#223](https://github.com/fog/fog-aws/pull/223) ([jacobo](https://github.com/jacobo))
|
|
28
|
+
- Page default parameters [\#222](https://github.com/fog/fog-aws/pull/222) ([ehowe](https://github.com/ehowe))
|
|
29
|
+
- rds enhancements [\#220](https://github.com/fog/fog-aws/pull/220) ([ehowe](https://github.com/ehowe))
|
|
30
|
+
- Added ap-northeast-2 to the fog mocks. [\#219](https://github.com/fog/fog-aws/pull/219) ([wyhaines](https://github.com/wyhaines))
|
|
31
|
+
- restore db instance fom db snapshot [\#217](https://github.com/fog/fog-aws/pull/217) ([ehowe](https://github.com/ehowe))
|
|
32
|
+
|
|
33
|
+
## [v0.8.1](https://github.com/fog/fog-aws/tree/v0.8.1) (2016-01-08)
|
|
34
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.8.0...v0.8.1)
|
|
35
|
+
|
|
36
|
+
**Merged pull requests:**
|
|
37
|
+
|
|
38
|
+
- Add new aws regions [\#213](https://github.com/fog/fog-aws/pull/213) ([atmos](https://github.com/atmos))
|
|
39
|
+
|
|
40
|
+
## [v0.8.0](https://github.com/fog/fog-aws/tree/v0.8.0) (2016-01-04)
|
|
41
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.7.6...v0.8.0)
|
|
42
|
+
|
|
43
|
+
**Fixed bugs:**
|
|
44
|
+
|
|
45
|
+
- IAM roles.all should paginate [\#176](https://github.com/fog/fog-aws/issues/176)
|
|
46
|
+
|
|
47
|
+
**Closed issues:**
|
|
48
|
+
|
|
49
|
+
- Fog gives wrong location for buckets when connected via non-default region [\#208](https://github.com/fog/fog-aws/issues/208)
|
|
50
|
+
- Is there any way to skip object level `acl` setting while `public` option is true [\#207](https://github.com/fog/fog-aws/issues/207)
|
|
51
|
+
- using/testing on ruby 1.9 [\#203](https://github.com/fog/fog-aws/issues/203)
|
|
52
|
+
- S3 KMS encryption support [\#196](https://github.com/fog/fog-aws/issues/196)
|
|
53
|
+
- Support S3 auto-expiring files? [\#194](https://github.com/fog/fog-aws/issues/194)
|
|
54
|
+
- Fog::AWS::ELB::InvalidConfigurationRequest: policy cannot be enabled [\#193](https://github.com/fog/fog-aws/issues/193)
|
|
55
|
+
- get\_https\_url generating negative expiry [\#188](https://github.com/fog/fog-aws/issues/188)
|
|
56
|
+
- Streaming requests shouldn't be idempotent [\#181](https://github.com/fog/fog-aws/issues/181)
|
|
57
|
+
- S3 connection hangs; does Fog support timeout? [\#180](https://github.com/fog/fog-aws/issues/180)
|
|
58
|
+
- Doesn't work after upgrading to 0.1.2 [\#83](https://github.com/fog/fog-aws/issues/83)
|
|
59
|
+
|
|
60
|
+
**Merged pull requests:**
|
|
61
|
+
|
|
62
|
+
- When not specified, region for a bucket should be DEFAULT\_REGION. [\#211](https://github.com/fog/fog-aws/pull/211) ([jamesremuscat](https://github.com/jamesremuscat))
|
|
63
|
+
- Support NoncurrentVersion\[Expiration,Transition\] for s3 lifecycle. [\#210](https://github.com/fog/fog-aws/pull/210) ([xtoddx](https://github.com/xtoddx))
|
|
64
|
+
- Update dynamodb to use the latest API version [\#209](https://github.com/fog/fog-aws/pull/209) ([dmathieu](https://github.com/dmathieu))
|
|
65
|
+
- Make sure to send the KmsKeyId when creating an RDS cluster [\#206](https://github.com/fog/fog-aws/pull/206) ([drcapulet](https://github.com/drcapulet))
|
|
66
|
+
- Reset 'finished' when rewinding S3Streamer [\#205](https://github.com/fog/fog-aws/pull/205) ([jschneiderhan](https://github.com/jschneiderhan))
|
|
67
|
+
- Add mime-types to test section in Gemfile [\#204](https://github.com/fog/fog-aws/pull/204) ([kitofr](https://github.com/kitofr))
|
|
68
|
+
- filters on tags can pass an array [\#202](https://github.com/fog/fog-aws/pull/202) ([craiggenner](https://github.com/craiggenner))
|
|
69
|
+
- Document options for S3 server-side encryption [\#199](https://github.com/fog/fog-aws/pull/199) ([shuhei](https://github.com/shuhei))
|
|
70
|
+
- make net/ssh require optional [\#197](https://github.com/fog/fog-aws/pull/197) ([geemus](https://github.com/geemus))
|
|
71
|
+
- Cache cluster security group parser [\#190](https://github.com/fog/fog-aws/pull/190) ([eherot](https://github.com/eherot))
|
|
72
|
+
- Allow region to be set for STS [\#189](https://github.com/fog/fog-aws/pull/189) ([fcheung](https://github.com/fcheung))
|
|
73
|
+
- add cn support for s3 [\#187](https://github.com/fog/fog-aws/pull/187) ([ming-relax](https://github.com/ming-relax))
|
|
74
|
+
- mock instance stop and start properly [\#184](https://github.com/fog/fog-aws/pull/184) ([ehowe](https://github.com/ehowe))
|
|
75
|
+
- Disable idempotent option when block is passed to get\_object [\#183](https://github.com/fog/fog-aws/pull/183) ([wangteji](https://github.com/wangteji))
|
|
76
|
+
- Yield arguments to Mock\#get\_object block more similar to Excon [\#182](https://github.com/fog/fog-aws/pull/182) ([tdg5](https://github.com/tdg5))
|
|
77
|
+
- add IAM role paging [\#178](https://github.com/fog/fog-aws/pull/178) ([lanej](https://github.com/lanej))
|
|
78
|
+
- properly mock rds name update [\#170](https://github.com/fog/fog-aws/pull/170) ([ehowe](https://github.com/ehowe))
|
|
79
|
+
|
|
3
80
|
## [v0.7.6](https://github.com/fog/fog-aws/tree/v0.7.6) (2015-08-26)
|
|
4
81
|
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.7.5...v0.7.6)
|
|
5
82
|
|
|
@@ -36,10 +113,13 @@
|
|
|
36
113
|
## [v0.7.4](https://github.com/fog/fog-aws/tree/v0.7.4) (2015-07-30)
|
|
37
114
|
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.7.3...v0.7.4)
|
|
38
115
|
|
|
116
|
+
**Fixed bugs:**
|
|
117
|
+
|
|
118
|
+
- Route53 zone listing fix and support for private hosted zones [\#154](https://github.com/fog/fog-aws/pull/154) ([solud](https://github.com/solud))
|
|
119
|
+
|
|
39
120
|
**Merged pull requests:**
|
|
40
121
|
|
|
41
122
|
- AutoScaling attach/detach ELB support + tests [\#156](https://github.com/fog/fog-aws/pull/156) ([nbfowler](https://github.com/nbfowler))
|
|
42
|
-
- Route53 zone listing fix and support for private hosted zones [\#154](https://github.com/fog/fog-aws/pull/154) ([solud](https://github.com/solud))
|
|
43
123
|
|
|
44
124
|
## [v0.7.3](https://github.com/fog/fog-aws/tree/v0.7.3) (2015-07-10)
|
|
45
125
|
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.7.2...v0.7.3)
|
|
@@ -132,6 +212,10 @@
|
|
|
132
212
|
## [v0.3.0](https://github.com/fog/fog-aws/tree/v0.3.0) (2015-05-21)
|
|
133
213
|
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.2.2...v0.3.0)
|
|
134
214
|
|
|
215
|
+
**Closed issues:**
|
|
216
|
+
|
|
217
|
+
- How to determine the disableApiTermination attribute value [\#98](https://github.com/fog/fog-aws/issues/98)
|
|
218
|
+
|
|
135
219
|
**Merged pull requests:**
|
|
136
220
|
|
|
137
221
|
- support iam/get\_user without username [\#114](https://github.com/fog/fog-aws/pull/114) ([lanej](https://github.com/lanej))
|
|
@@ -150,6 +234,10 @@
|
|
|
150
234
|
## [v0.2.0](https://github.com/fog/fog-aws/tree/v0.2.0) (2015-05-13)
|
|
151
235
|
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.1.2...v0.2.0)
|
|
152
236
|
|
|
237
|
+
**Implemented enhancements:**
|
|
238
|
+
|
|
239
|
+
- update RDS to 2014-10-31 version [\#107](https://github.com/fog/fog-aws/pull/107) ([lanej](https://github.com/lanej))
|
|
240
|
+
|
|
153
241
|
**Closed issues:**
|
|
154
242
|
|
|
155
243
|
- IAM authentication not compatible with GovCloud [\#100](https://github.com/fog/fog-aws/issues/100)
|
|
@@ -160,7 +248,6 @@
|
|
|
160
248
|
|
|
161
249
|
- configure server attributes in mock [\#109](https://github.com/fog/fog-aws/pull/109) ([michelleN](https://github.com/michelleN))
|
|
162
250
|
- support aws kms [\#108](https://github.com/fog/fog-aws/pull/108) ([lanej](https://github.com/lanej))
|
|
163
|
-
- update RDS to 2014-10-31 version [\#107](https://github.com/fog/fog-aws/pull/107) ([lanej](https://github.com/lanej))
|
|
164
251
|
- Another attempt to solve content-encoding header issues [\#106](https://github.com/fog/fog-aws/pull/106) ([fcheung](https://github.com/fcheung))
|
|
165
252
|
- default replica AutoMinorVersionUpgrade to master [\#104](https://github.com/fog/fog-aws/pull/104) ([michelleN](https://github.com/michelleN))
|
|
166
253
|
- Refresh credentials if needed when signing S3 URL [\#103](https://github.com/fog/fog-aws/pull/103) ([matkam](https://github.com/matkam))
|
|
@@ -203,6 +290,7 @@
|
|
|
203
290
|
- Remove Mac specific files. [\#68](https://github.com/fog/fog-aws/pull/68) ([voxik](https://github.com/voxik))
|
|
204
291
|
- Stringify keys for query parameters [\#67](https://github.com/fog/fog-aws/pull/67) ([jfmyers9](https://github.com/jfmyers9))
|
|
205
292
|
- Mock method for AWS S3 post\_object\_hidden\_fields [\#63](https://github.com/fog/fog-aws/pull/63) ([byterussian](https://github.com/byterussian))
|
|
293
|
+
- Reduce loading time [\#62](https://github.com/fog/fog-aws/pull/62) ([plribeiro3000](https://github.com/plribeiro3000))
|
|
206
294
|
- Add support for cname buckets [\#61](https://github.com/fog/fog-aws/pull/61) ([dsgh](https://github.com/dsgh))
|
|
207
295
|
|
|
208
296
|
## [v0.1.1](https://github.com/fog/fog-aws/tree/v0.1.1) (2015-02-25)
|
data/lib/fog/aws/rds.rb
CHANGED
|
@@ -294,7 +294,7 @@ module Fog
|
|
|
294
294
|
end
|
|
295
295
|
else
|
|
296
296
|
raise case match[:code]
|
|
297
|
-
when 'DBInstanceNotFound', 'DBParameterGroupNotFound', 'DBSnapshotNotFound', 'DBSecurityGroupNotFound', 'SubscriptionNotFound'
|
|
297
|
+
when 'DBInstanceNotFound', 'DBParameterGroupNotFound', 'DBSnapshotNotFound', 'DBSecurityGroupNotFound', 'SubscriptionNotFound', 'DBClusterNotFoundFault'
|
|
298
298
|
Fog::AWS::RDS::NotFound.slurp(error, match[:message])
|
|
299
299
|
when 'DBParameterGroupAlreadyExists'
|
|
300
300
|
Fog::AWS::RDS::IdentifierTaken.slurp(error, match[:message])
|
|
@@ -26,7 +26,7 @@ module Fog
|
|
|
26
26
|
def create_db_snapshot(identifier, name)
|
|
27
27
|
response = Excon::Response.new
|
|
28
28
|
if data[:snapshots][name]
|
|
29
|
-
raise Fog::AWS::RDS::
|
|
29
|
+
raise Fog::AWS::RDS::IdentifierTaken.new
|
|
30
30
|
end
|
|
31
31
|
|
|
32
32
|
server_data = data[:servers][identifier]
|
|
@@ -37,8 +37,10 @@ module Fog
|
|
|
37
37
|
unless skip_snapshot
|
|
38
38
|
if server_set["ReadReplicaSourceDBInstanceIdentifier"]
|
|
39
39
|
raise Fog::AWS::RDS::Error.new("InvalidParameterCombination => FinalDBSnapshotIdentifier can not be specified when deleting a replica instance")
|
|
40
|
-
elsif server_set["DBClusterIdentifier"]
|
|
40
|
+
elsif server_set["DBClusterIdentifier"] && snapshot_identifier # for cluster instances, you must pass in skip_snapshot = false, but not specify a snapshot identifier
|
|
41
41
|
raise Fog::AWS::RDS::Error.new("InvalidParameterCombination => FinalDBSnapshotIdentifier can not be specified when deleting a cluster instance")
|
|
42
|
+
elsif server_set["DBClusterIdentifier"] && !snapshot_identifier && !skip_snapshot
|
|
43
|
+
#no-op
|
|
42
44
|
else
|
|
43
45
|
create_db_snapshot(identifier, snapshot_identifier)
|
|
44
46
|
end
|
data/lib/fog/aws/version.rb
CHANGED
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: 0.9.
|
|
4
|
+
version: 0.9.2
|
|
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: 2016-03-
|
|
12
|
+
date: 2016-03-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: bundler
|