fog-aws 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +291 -0
- data/lib/fog/aws.rb +1 -1
- data/lib/fog/aws/requests/storage/put_bucket.rb +2 -2
- data/lib/fog/aws/version.rb +1 -1
- data/tests/requests/storage/bucket_tests.rb +12 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daae4cd317d3b006fd8a5673438f8714d1dbc701
|
4
|
+
data.tar.gz: 9e9fb35e71f5f20eb329ed20c7fc610bbc999b34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5edb10c809ca8d5b5e98ea65a9ee58a810bb13312cbb28c1358d4b2caa4104a1f9fab5cba1f310d480e3c9cc8911c398a6dbc107cf85d9fb5ed9d3479b92dacf
|
7
|
+
data.tar.gz: bf3b096a51f49366306adfb75a99699ee354ca2890b8ff2ef781bdce50d4516bcce633bb6d50fafe23899749a3c7fdb532d7e1ac4a6c298ec964885ed82fedfa
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,291 @@
|
|
1
|
+
# Change Log
|
2
|
+
|
3
|
+
## [v0.7.5](https://github.com/fog/fog-aws/tree/v0.7.5) (2015-08-24)
|
4
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.7.4...v0.7.5)
|
5
|
+
|
6
|
+
**Closed issues:**
|
7
|
+
|
8
|
+
- how to change filepath for html\_table\_reporter in reporter options [\#167](https://github.com/fog/fog-aws/issues/167)
|
9
|
+
- Access Key, etc still required for Storage access when using use\_iam\_profile [\#162](https://github.com/fog/fog-aws/issues/162)
|
10
|
+
- Support for KMS ID for EBS Volume [\#141](https://github.com/fog/fog-aws/issues/141)
|
11
|
+
|
12
|
+
**Merged pull requests:**
|
13
|
+
|
14
|
+
- validate rds server security group associations [\#173](https://github.com/fog/fog-aws/pull/173) ([lanej](https://github.com/lanej))
|
15
|
+
- format security groups when modifying db instance [\#171](https://github.com/fog/fog-aws/pull/171) ([michelleN](https://github.com/michelleN))
|
16
|
+
- standardize region validation [\#169](https://github.com/fog/fog-aws/pull/169) ([lanej](https://github.com/lanej))
|
17
|
+
- expose elb region [\#168](https://github.com/fog/fog-aws/pull/168) ([lanej](https://github.com/lanej))
|
18
|
+
- volume\#key\_id and encrypted tests [\#165](https://github.com/fog/fog-aws/pull/165) ([lanej](https://github.com/lanej))
|
19
|
+
- raise InvalidParameterCombination error [\#163](https://github.com/fog/fog-aws/pull/163) ([michelleN](https://github.com/michelleN))
|
20
|
+
- storage request bad xml schema for put bucket notification fix [\#161](https://github.com/fog/fog-aws/pull/161) ([bahchis](https://github.com/bahchis))
|
21
|
+
- Use regex instead of string matching to support redirect correctly when path\_style is set to true [\#159](https://github.com/fog/fog-aws/pull/159) ([drich10](https://github.com/drich10))
|
22
|
+
- update \#promote\_read\_replica mock [\#158](https://github.com/fog/fog-aws/pull/158) ([lanej](https://github.com/lanej))
|
23
|
+
|
24
|
+
## [v0.7.4](https://github.com/fog/fog-aws/tree/v0.7.4) (2015-07-30)
|
25
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.7.3...v0.7.4)
|
26
|
+
|
27
|
+
**Merged pull requests:**
|
28
|
+
|
29
|
+
- AutoScaling attach/detach ELB support + tests [\#156](https://github.com/fog/fog-aws/pull/156) ([nbfowler](https://github.com/nbfowler))
|
30
|
+
- Route53 zone listing fix and support for private hosted zones [\#154](https://github.com/fog/fog-aws/pull/154) ([solud](https://github.com/solud))
|
31
|
+
|
32
|
+
## [v0.7.3](https://github.com/fog/fog-aws/tree/v0.7.3) (2015-07-10)
|
33
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.7.2...v0.7.3)
|
34
|
+
|
35
|
+
**Closed issues:**
|
36
|
+
|
37
|
+
- "Error: The specified marker is not valid" after upgrade to 0.7.0 [\#148](https://github.com/fog/fog-aws/issues/148)
|
38
|
+
|
39
|
+
**Merged pull requests:**
|
40
|
+
|
41
|
+
- encrypted storage on rds [\#153](https://github.com/fog/fog-aws/pull/153) ([ehowe](https://github.com/ehowe))
|
42
|
+
|
43
|
+
## [v0.7.2](https://github.com/fog/fog-aws/tree/v0.7.2) (2015-07-08)
|
44
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.7.1...v0.7.2)
|
45
|
+
|
46
|
+
**Fixed bugs:**
|
47
|
+
|
48
|
+
- NoMethodError trying to create a new AWS Route53 entry using version 0.7.1 [\#150](https://github.com/fog/fog-aws/issues/150)
|
49
|
+
|
50
|
+
**Merged pull requests:**
|
51
|
+
|
52
|
+
- fix \#change\_resource\_record\_sets [\#151](https://github.com/fog/fog-aws/pull/151) ([lanej](https://github.com/lanej))
|
53
|
+
|
54
|
+
## [v0.7.1](https://github.com/fog/fog-aws/tree/v0.7.1) (2015-07-08)
|
55
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.7.0...v0.7.1)
|
56
|
+
|
57
|
+
**Merged pull requests:**
|
58
|
+
|
59
|
+
- Fix broken xmlns in DNS requests [\#149](https://github.com/fog/fog-aws/pull/149) ([decklin](https://github.com/decklin))
|
60
|
+
- Fix blank content-encoding headers [\#147](https://github.com/fog/fog-aws/pull/147) ([fcheung](https://github.com/fcheung))
|
61
|
+
|
62
|
+
## [v0.7.0](https://github.com/fog/fog-aws/tree/v0.7.0) (2015-07-07)
|
63
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.6.0...v0.7.0)
|
64
|
+
|
65
|
+
**Closed issues:**
|
66
|
+
|
67
|
+
- Add support for AWS Lambda [\#124](https://github.com/fog/fog-aws/issues/124)
|
68
|
+
|
69
|
+
**Merged pull requests:**
|
70
|
+
|
71
|
+
- Describe vpcPeeringConnectionId [\#146](https://github.com/fog/fog-aws/pull/146) ([fdr](https://github.com/fdr))
|
72
|
+
- Adds isDefault to parser for describe\_vpcs [\#144](https://github.com/fog/fog-aws/pull/144) ([gregburek](https://github.com/gregburek))
|
73
|
+
- Support kinesis [\#143](https://github.com/fog/fog-aws/pull/143) ([mikehale](https://github.com/mikehale))
|
74
|
+
- The :geo\_location attribute needs to be xml formatted before calling aws [\#142](https://github.com/fog/fog-aws/pull/142) ([carloslima](https://github.com/carloslima))
|
75
|
+
- Escape Lambda function name in request paths [\#140](https://github.com/fog/fog-aws/pull/140) ([nomadium](https://github.com/nomadium))
|
76
|
+
- list\_hosted\_zones expects that options to be hash with symbol as key [\#139](https://github.com/fog/fog-aws/pull/139) ([slashmili](https://github.com/slashmili))
|
77
|
+
|
78
|
+
## [v0.6.0](https://github.com/fog/fog-aws/tree/v0.6.0) (2015-06-23)
|
79
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.5.0...v0.6.0)
|
80
|
+
|
81
|
+
**Merged pull requests:**
|
82
|
+
|
83
|
+
- Add support for AWS Lambda service [\#123](https://github.com/fog/fog-aws/pull/123) ([nomadium](https://github.com/nomadium))
|
84
|
+
|
85
|
+
## [v0.5.0](https://github.com/fog/fog-aws/tree/v0.5.0) (2015-06-17)
|
86
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.4.1...v0.5.0)
|
87
|
+
|
88
|
+
**Merged pull requests:**
|
89
|
+
|
90
|
+
- add t2.large [\#137](https://github.com/fog/fog-aws/pull/137) ([lanej](https://github.com/lanej))
|
91
|
+
- Make Mock create\_vpc method arity match Real [\#135](https://github.com/fog/fog-aws/pull/135) ([fdr](https://github.com/fdr))
|
92
|
+
- Add support for EC2 Container Service [\#120](https://github.com/fog/fog-aws/pull/120) ([nomadium](https://github.com/nomadium))
|
93
|
+
|
94
|
+
## [v0.4.1](https://github.com/fog/fog-aws/tree/v0.4.1) (2015-06-15)
|
95
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.4.0...v0.4.1)
|
96
|
+
|
97
|
+
**Closed issues:**
|
98
|
+
|
99
|
+
- Fog doesn't support storage\_type or gp2 for RDS? [\#129](https://github.com/fog/fog-aws/issues/129)
|
100
|
+
- Fog-aws not working with Hitachi [\#122](https://github.com/fog/fog-aws/issues/122)
|
101
|
+
- "NoMethodError: undefined method `body' for \#\<Fog::DNS::AWS::Error:0x007f6c673e1720\>" [\#112](https://github.com/fog/fog-aws/issues/112)
|
102
|
+
- Add support for EC2 Container Service \(ECS\) [\#93](https://github.com/fog/fog-aws/issues/93)
|
103
|
+
|
104
|
+
**Merged pull requests:**
|
105
|
+
|
106
|
+
- Fix attributes of flavors [\#134](https://github.com/fog/fog-aws/pull/134) ([yumminhuang](https://github.com/yumminhuang))
|
107
|
+
- Fix S3 signature v4 signing [\#133](https://github.com/fog/fog-aws/pull/133) ([fcheung](https://github.com/fcheung))
|
108
|
+
- Add New M4 Instance Type [\#132](https://github.com/fog/fog-aws/pull/132) ([yumminhuang](https://github.com/yumminhuang))
|
109
|
+
- raise correct error when exceeding address limit [\#131](https://github.com/fog/fog-aws/pull/131) ([lanej](https://github.com/lanej))
|
110
|
+
- make elb/policies collection standalone [\#128](https://github.com/fog/fog-aws/pull/128) ([lanej](https://github.com/lanej))
|
111
|
+
- model managed policies [\#126](https://github.com/fog/fog-aws/pull/126) ([lanej](https://github.com/lanej))
|
112
|
+
|
113
|
+
## [v0.4.0](https://github.com/fog/fog-aws/tree/v0.4.0) (2015-05-27)
|
114
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.3.0...v0.4.0)
|
115
|
+
|
116
|
+
**Merged pull requests:**
|
117
|
+
|
118
|
+
- model iam groups [\#121](https://github.com/fog/fog-aws/pull/121) ([lanej](https://github.com/lanej))
|
119
|
+
|
120
|
+
## [v0.3.0](https://github.com/fog/fog-aws/tree/v0.3.0) (2015-05-21)
|
121
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.2.2...v0.3.0)
|
122
|
+
|
123
|
+
**Merged pull requests:**
|
124
|
+
|
125
|
+
- support iam/get\_user without username [\#114](https://github.com/fog/fog-aws/pull/114) ([lanej](https://github.com/lanej))
|
126
|
+
- Added a new request - describe\_instance\_attribute [\#110](https://github.com/fog/fog-aws/pull/110) ([nilroy](https://github.com/nilroy))
|
127
|
+
|
128
|
+
## [v0.2.2](https://github.com/fog/fog-aws/tree/v0.2.2) (2015-05-13)
|
129
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.2.1...v0.2.2)
|
130
|
+
|
131
|
+
## [v0.2.1](https://github.com/fog/fog-aws/tree/v0.2.1) (2015-05-13)
|
132
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.2.0...v0.2.1)
|
133
|
+
|
134
|
+
**Merged pull requests:**
|
135
|
+
|
136
|
+
- mocks for topic permissions [\#111](https://github.com/fog/fog-aws/pull/111) ([lanej](https://github.com/lanej))
|
137
|
+
|
138
|
+
## [v0.2.0](https://github.com/fog/fog-aws/tree/v0.2.0) (2015-05-13)
|
139
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.1.2...v0.2.0)
|
140
|
+
|
141
|
+
**Closed issues:**
|
142
|
+
|
143
|
+
- IAM authentication not compatible with GovCloud [\#100](https://github.com/fog/fog-aws/issues/100)
|
144
|
+
- Enabling termination protection [\#95](https://github.com/fog/fog-aws/issues/95)
|
145
|
+
- SSLv3 deprecation: action required? [\#88](https://github.com/fog/fog-aws/issues/88)
|
146
|
+
|
147
|
+
**Merged pull requests:**
|
148
|
+
|
149
|
+
- configure server attributes in mock [\#109](https://github.com/fog/fog-aws/pull/109) ([michelleN](https://github.com/michelleN))
|
150
|
+
- support aws kms [\#108](https://github.com/fog/fog-aws/pull/108) ([lanej](https://github.com/lanej))
|
151
|
+
- update RDS to 2014-10-31 version [\#107](https://github.com/fog/fog-aws/pull/107) ([lanej](https://github.com/lanej))
|
152
|
+
- Another attempt to solve content-encoding header issues [\#106](https://github.com/fog/fog-aws/pull/106) ([fcheung](https://github.com/fcheung))
|
153
|
+
- default replica AutoMinorVersionUpgrade to master [\#104](https://github.com/fog/fog-aws/pull/104) ([michelleN](https://github.com/michelleN))
|
154
|
+
- Refresh credentials if needed when signing S3 URL [\#103](https://github.com/fog/fog-aws/pull/103) ([matkam](https://github.com/matkam))
|
155
|
+
- Allow the IAM constructor to accept a region [\#102](https://github.com/fog/fog-aws/pull/102) ([benbalter](https://github.com/benbalter))
|
156
|
+
- configure auto\_minor\_version\_upgrade in mock [\#101](https://github.com/fog/fog-aws/pull/101) ([michelleN](https://github.com/michelleN))
|
157
|
+
- Adding instanceTenancy to reserved instance parser. [\#97](https://github.com/fog/fog-aws/pull/97) ([dmbrooking](https://github.com/dmbrooking))
|
158
|
+
- Parse elasticache configuration endpoint from response [\#96](https://github.com/fog/fog-aws/pull/96) ([fcheung](https://github.com/fcheung))
|
159
|
+
- Fix mock VPC ELB creation in regions other than us-east-1 [\#94](https://github.com/fog/fog-aws/pull/94) ([mrpoundsign](https://github.com/mrpoundsign))
|
160
|
+
- Fix repository URL in README.md [\#91](https://github.com/fog/fog-aws/pull/91) ([tricknotes](https://github.com/tricknotes))
|
161
|
+
- adding support for d2 instance type [\#90](https://github.com/fog/fog-aws/pull/90) ([yumminhuang](https://github.com/yumminhuang))
|
162
|
+
- Support weight round robin mock [\#89](https://github.com/fog/fog-aws/pull/89) ([freddy1666](https://github.com/freddy1666))
|
163
|
+
- Update README.md [\#87](https://github.com/fog/fog-aws/pull/87) ([nomadium](https://github.com/nomadium))
|
164
|
+
- Add mock for EC2 request\_spot\_instances API request [\#86](https://github.com/fog/fog-aws/pull/86) ([nomadium](https://github.com/nomadium))
|
165
|
+
- Move more requires to autoload [\#85](https://github.com/fog/fog-aws/pull/85) ([plribeiro3000](https://github.com/plribeiro3000))
|
166
|
+
- Add mock for EC2 describe\_spot\_price\_history API request [\#84](https://github.com/fog/fog-aws/pull/84) ([nomadium](https://github.com/nomadium))
|
167
|
+
|
168
|
+
## [v0.1.2](https://github.com/fog/fog-aws/tree/v0.1.2) (2015-04-07)
|
169
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.1.1...v0.1.2)
|
170
|
+
|
171
|
+
**Closed issues:**
|
172
|
+
|
173
|
+
- Ruby warnings Comparable & Return nil [\#81](https://github.com/fog/fog-aws/issues/81)
|
174
|
+
- CircleCI failing [\#80](https://github.com/fog/fog-aws/issues/80)
|
175
|
+
- Heroku error [\#77](https://github.com/fog/fog-aws/issues/77)
|
176
|
+
- Repeatable signed urls for the same expiry [\#65](https://github.com/fog/fog-aws/issues/65)
|
177
|
+
|
178
|
+
**Merged pull requests:**
|
179
|
+
|
180
|
+
- Handle missing parameters in describe\_spot\_price\_history request [\#82](https://github.com/fog/fog-aws/pull/82) ([nomadium](https://github.com/nomadium))
|
181
|
+
- create db instance in the correct region [\#79](https://github.com/fog/fog-aws/pull/79) ([lanej](https://github.com/lanej))
|
182
|
+
- Remove assignment within conditional in File\#body [\#78](https://github.com/fog/fog-aws/pull/78) ([greysteil](https://github.com/greysteil))
|
183
|
+
- mock DescribeDBEngineVersions [\#76](https://github.com/fog/fog-aws/pull/76) ([ehowe](https://github.com/ehowe))
|
184
|
+
- Fix blank content-encoding when none is supplied [\#75](https://github.com/fog/fog-aws/pull/75) ([fcheung](https://github.com/fcheung))
|
185
|
+
- \[rds\] prevent final snapshot on replicas [\#74](https://github.com/fog/fog-aws/pull/74) ([lanej](https://github.com/lanej))
|
186
|
+
- Fix for `undefined method `map' for nil:NilClass` [\#73](https://github.com/fog/fog-aws/pull/73) ([mattheworiordan](https://github.com/mattheworiordan))
|
187
|
+
- Resource record sets bug fix + support eu-central-1 [\#72](https://github.com/fog/fog-aws/pull/72) ([mattheworiordan](https://github.com/mattheworiordan))
|
188
|
+
- Fix EC2 security groups where SSH inbound rule isn't first [\#71](https://github.com/fog/fog-aws/pull/71) ([ayumi](https://github.com/ayumi))
|
189
|
+
- eu-central missing from Fog::Compute::AWS::Mock [\#70](https://github.com/fog/fog-aws/pull/70) ([wyhaines](https://github.com/wyhaines))
|
190
|
+
- Remove executable bit from files. [\#69](https://github.com/fog/fog-aws/pull/69) ([voxik](https://github.com/voxik))
|
191
|
+
- Remove Mac specific files. [\#68](https://github.com/fog/fog-aws/pull/68) ([voxik](https://github.com/voxik))
|
192
|
+
- Stringify keys for query parameters [\#67](https://github.com/fog/fog-aws/pull/67) ([jfmyers9](https://github.com/jfmyers9))
|
193
|
+
- Mock method for AWS S3 post\_object\_hidden\_fields [\#63](https://github.com/fog/fog-aws/pull/63) ([byterussian](https://github.com/byterussian))
|
194
|
+
- Add support for cname buckets [\#61](https://github.com/fog/fog-aws/pull/61) ([dsgh](https://github.com/dsgh))
|
195
|
+
|
196
|
+
## [v0.1.1](https://github.com/fog/fog-aws/tree/v0.1.1) (2015-02-25)
|
197
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.1.0...v0.1.1)
|
198
|
+
|
199
|
+
**Closed issues:**
|
200
|
+
|
201
|
+
- head\_url signed [\#47](https://github.com/fog/fog-aws/issues/47)
|
202
|
+
- AWS Credentials required when using IAM Profile [\#44](https://github.com/fog/fog-aws/issues/44)
|
203
|
+
|
204
|
+
**Merged pull requests:**
|
205
|
+
|
206
|
+
- Support for IAM managed policies [\#60](https://github.com/fog/fog-aws/pull/60) ([fcheung](https://github.com/fcheung))
|
207
|
+
- Fix for ScanFilter parameters [\#58](https://github.com/fog/fog-aws/pull/58) ([nawaidshamim](https://github.com/nawaidshamim))
|
208
|
+
- \[dns\] fix Records\#get, mock records and proper errors [\#57](https://github.com/fog/fog-aws/pull/57) ([lanej](https://github.com/lanej))
|
209
|
+
- \[aws|compute\] support c4.8xlarge flavor [\#56](https://github.com/fog/fog-aws/pull/56) ([ddoc](https://github.com/ddoc))
|
210
|
+
- \[aws|compute\] adding support for c4 instance class [\#55](https://github.com/fog/fog-aws/pull/55) ([ddoc](https://github.com/ddoc))
|
211
|
+
- not allowed to delete a "revoking" rds firewall [\#54](https://github.com/fog/fog-aws/pull/54) ([lanej](https://github.com/lanej))
|
212
|
+
- raise when destroying an ec2 firewall authorized to an rds firewall [\#53](https://github.com/fog/fog-aws/pull/53) ([lanej](https://github.com/lanej))
|
213
|
+
- Making it easier to get pre-signed head requests [\#51](https://github.com/fog/fog-aws/pull/51) ([mrloop](https://github.com/mrloop))
|
214
|
+
- Support customer encryption headers in multipart uploads [\#50](https://github.com/fog/fog-aws/pull/50) ([lautis](https://github.com/lautis))
|
215
|
+
- don't allow sg authorization to unknown sgs [\#49](https://github.com/fog/fog-aws/pull/49) ([lanej](https://github.com/lanej))
|
216
|
+
|
217
|
+
## [v0.1.0](https://github.com/fog/fog-aws/tree/v0.1.0) (2015-02-03)
|
218
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.0.8...v0.1.0)
|
219
|
+
|
220
|
+
**Closed issues:**
|
221
|
+
|
222
|
+
- AWS Launch Configuration missing Ebs.Volume\_Type [\#18](https://github.com/fog/fog-aws/issues/18)
|
223
|
+
|
224
|
+
**Merged pull requests:**
|
225
|
+
|
226
|
+
- Fix v4 signature when path has repeated slashes in the middle [\#46](https://github.com/fog/fog-aws/pull/46) ([fcheung](https://github.com/fcheung))
|
227
|
+
- get signin token for federation [\#45](https://github.com/fog/fog-aws/pull/45) ([ehowe](https://github.com/ehowe))
|
228
|
+
- add 'volumeType' and 'encrypted' to blockDeviceMapping parser [\#43](https://github.com/fog/fog-aws/pull/43) ([ichii386](https://github.com/ichii386))
|
229
|
+
- default namespace and evaluation period on alarm [\#37](https://github.com/fog/fog-aws/pull/37) ([michelleN](https://github.com/michelleN))
|
230
|
+
|
231
|
+
## [v0.0.8](https://github.com/fog/fog-aws/tree/v0.0.8) (2015-01-27)
|
232
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.0.7...v0.0.8)
|
233
|
+
|
234
|
+
**Closed issues:**
|
235
|
+
|
236
|
+
- NoMethodError - undefined method `signature\_parameters' for nil:NilClass [\#28](https://github.com/fog/fog-aws/issues/28)
|
237
|
+
|
238
|
+
**Merged pull requests:**
|
239
|
+
|
240
|
+
- add missing mocks [\#41](https://github.com/fog/fog-aws/pull/41) ([michelleN](https://github.com/michelleN))
|
241
|
+
- Add idempotent excon option to some route53 API calls [\#40](https://github.com/fog/fog-aws/pull/40) ([josacar](https://github.com/josacar))
|
242
|
+
- Allow for AWS errors not specifying region [\#39](https://github.com/fog/fog-aws/pull/39) ([greysteil](https://github.com/greysteil))
|
243
|
+
- correct engine version param on rds replicas [\#38](https://github.com/fog/fog-aws/pull/38) ([lanej](https://github.com/lanej))
|
244
|
+
- \[AWS|Autoscaling\] Add missing ebs attributes to describe\_launch\_configurations [\#35](https://github.com/fog/fog-aws/pull/35) ([fcheung](https://github.com/fcheung))
|
245
|
+
- \[AWS|Storage\] signed\_url should use v2 signature when aws\_signature\_version is 2 [\#34](https://github.com/fog/fog-aws/pull/34) ([fcheung](https://github.com/fcheung))
|
246
|
+
- BUGFIX: When fog\_credentials endpoint is set @region defaults to nil [\#33](https://github.com/fog/fog-aws/pull/33) ([nicholasklick](https://github.com/nicholasklick))
|
247
|
+
- \[AWS|Autoscaling\] Support classic link related properties for launch configurations [\#32](https://github.com/fog/fog-aws/pull/32) ([fcheung](https://github.com/fcheung))
|
248
|
+
- fix autoscaling activities collection setup [\#31](https://github.com/fog/fog-aws/pull/31) ([fcheung](https://github.com/fcheung))
|
249
|
+
- Add PlacementTenancy to launch configuration parser and test case [\#29](https://github.com/fog/fog-aws/pull/29) ([benpillet](https://github.com/benpillet))
|
250
|
+
- Use Fog::Formatador [\#27](https://github.com/fog/fog-aws/pull/27) ([starbelly](https://github.com/starbelly))
|
251
|
+
|
252
|
+
## [v0.0.7](https://github.com/fog/fog-aws/tree/v0.0.7) (2015-01-23)
|
253
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.0.6...v0.0.7)
|
254
|
+
|
255
|
+
**Closed issues:**
|
256
|
+
|
257
|
+
- SSL Error on S3 connection [\#9](https://github.com/fog/fog-aws/issues/9)
|
258
|
+
|
259
|
+
**Merged pull requests:**
|
260
|
+
|
261
|
+
- simulate sns confirmation message [\#36](https://github.com/fog/fog-aws/pull/36) ([lanej](https://github.com/lanej))
|
262
|
+
- Support for VPC Classic Link [\#3](https://github.com/fog/fog-aws/pull/3) ([fcheung](https://github.com/fcheung))
|
263
|
+
|
264
|
+
## [v0.0.6](https://github.com/fog/fog-aws/tree/v0.0.6) (2015-01-12)
|
265
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.0.5...v0.0.6)
|
266
|
+
|
267
|
+
**Closed issues:**
|
268
|
+
|
269
|
+
- missed files [\#1](https://github.com/fog/fog-aws/issues/1)
|
270
|
+
|
271
|
+
**Merged pull requests:**
|
272
|
+
|
273
|
+
- \[AWS|Core\] Fix signature v4 non canonicalising header case properly [\#4](https://github.com/fog/fog-aws/pull/4) ([fcheung](https://github.com/fcheung))
|
274
|
+
- another attempt at s3 region redirecting [\#2](https://github.com/fog/fog-aws/pull/2) ([geemus](https://github.com/geemus))
|
275
|
+
|
276
|
+
## [v0.0.5](https://github.com/fog/fog-aws/tree/v0.0.5) (2015-01-06)
|
277
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.0.4...v0.0.5)
|
278
|
+
|
279
|
+
## [v0.0.4](https://github.com/fog/fog-aws/tree/v0.0.4) (2015-01-04)
|
280
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.0.3...v0.0.4)
|
281
|
+
|
282
|
+
## [v0.0.3](https://github.com/fog/fog-aws/tree/v0.0.3) (2015-01-02)
|
283
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.0.2...v0.0.3)
|
284
|
+
|
285
|
+
## [v0.0.2](https://github.com/fog/fog-aws/tree/v0.0.2) (2015-01-02)
|
286
|
+
[Full Changelog](https://github.com/fog/fog-aws/compare/v0.0.1...v0.0.2)
|
287
|
+
|
288
|
+
## [v0.0.1](https://github.com/fog/fog-aws/tree/v0.0.1) (2015-01-02)
|
289
|
+
|
290
|
+
|
291
|
+
\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
|
data/lib/fog/aws.rb
CHANGED
@@ -224,7 +224,7 @@ module Fog
|
|
224
224
|
end
|
225
225
|
|
226
226
|
def self.regions
|
227
|
-
@regions ||= ['ap-northeast-1', 'ap-southeast-1', 'ap-southeast-2', 'eu-central-1', 'eu-west-1', 'us-east-1', 'us-west-1', 'us-west-2', 'sa-east-1', 'cn-north-1']
|
227
|
+
@regions ||= ['ap-northeast-1', 'ap-southeast-1', 'ap-southeast-2', 'eu-central-1', 'eu-west-1', 'us-east-1', 'us-west-1', 'us-west-2', 'sa-east-1', 'cn-north-1', 'us-gov-west-1']
|
228
228
|
end
|
229
229
|
|
230
230
|
def self.validate_region!(region, host=nil)
|
@@ -59,9 +59,9 @@ DATA
|
|
59
59
|
else
|
60
60
|
bucket['LocationConstraint'] = nil
|
61
61
|
end
|
62
|
-
if !self.data[:buckets][bucket_name]
|
62
|
+
if !self.data[:buckets][bucket_name]
|
63
63
|
self.data[:buckets][bucket_name] = bucket
|
64
|
-
|
64
|
+
elsif self.region != 'us-east-1'
|
65
65
|
response.status = 409
|
66
66
|
raise(Excon::Errors.status_error({:expects => 200}, response))
|
67
67
|
end
|
data/lib/fog/aws/version.rb
CHANGED
@@ -56,6 +56,18 @@ Shindo.tests('Fog::Storage[:aws] | bucket requests', ["aws"]) do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
+
tests('put existing bucket - default region - preserves files') do
|
60
|
+
Fog::Storage[:aws].put_bucket(@aws_bucket_name)
|
61
|
+
test_key = Fog::Storage[:aws].directories.get(@aws_bucket_name).files.create(:body => 'test', :key => 'test/key')
|
62
|
+
Fog::Storage[:aws].put_bucket(@aws_bucket_name)
|
63
|
+
|
64
|
+
tests(".body['Contents'].first['Key']").returns('test/key') do
|
65
|
+
Fog::Storage[:aws].get_bucket(@aws_bucket_name).body['Contents'].first['Key']
|
66
|
+
end
|
67
|
+
|
68
|
+
test_key.destroy
|
69
|
+
end
|
70
|
+
|
59
71
|
tests("#get_service").formats(@service_format) do
|
60
72
|
Fog::Storage[:aws].get_service.body
|
61
73
|
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: 0.7.
|
4
|
+
version: 0.7.6
|
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: 2015-08-
|
12
|
+
date: 2015-08-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -135,6 +135,7 @@ extra_rdoc_files: []
|
|
135
135
|
files:
|
136
136
|
- ".gitignore"
|
137
137
|
- ".travis.yml"
|
138
|
+
- CHANGELOG.md
|
138
139
|
- CONTRIBUTING.md
|
139
140
|
- CONTRIBUTORS.md
|
140
141
|
- Gemfile
|