fog-aws 0.7.2 → 0.7.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
  SHA1:
3
- metadata.gz: 84e01817c525f630628cc5228b64c4887fe88936
4
- data.tar.gz: 54c9b3172b779d70f2a3ac3b373762b805dbee1e
3
+ metadata.gz: bf9e61d32774df1fdd1785f95486b29df3d65a9a
4
+ data.tar.gz: 47262cd3dcf0219cad7bed796fe50eb73ec79512
5
5
  SHA512:
6
- metadata.gz: 96d2bf8959b64f8b25c48082b620234f6c9a02d447f26266b93f2ee74dacda96f3f62aab5937aca0504b0addb80a4abbcf736463b6aef9bf4dd13c1b8b7dd356
7
- data.tar.gz: 4a03a295b335373298ff9ddb808d31c5d49a1772f3cbab159b123613c0cc10b74ea61805491f78f9c70879364ce2dae35b9a3d2e8ab4ea06f5ddc88a56df8276
6
+ metadata.gz: 67554241896742b1773e330c13faca2378dc98c73d30973595728d53a17ed15733b4c85d15008ccd907973782eb1f01494c70443248ff6488ebdb89dc5711fe6
7
+ data.tar.gz: e6d5bc4029b927ac549bbc5fb26474ea059c667653f1293673f9e4702cef4e35a7f67ddc1aaf5d5594d2543817142cc6bab9f3e938478c17db1ba598ee698ee6
@@ -116,27 +116,28 @@ module Fog
116
116
  options = {
117
117
  'AllocatedStorage' => allocated_storage,
118
118
  'AutoMinorVersionUpgrade' => auto_minor_version_upgrade,
119
+ 'AvailabilityZone' => availability_zone,
119
120
  'BackupRetentionPeriod' => backup_retention_period,
121
+ 'DBInstanceClass' => flavor_id,
122
+ 'DBInstanceIdentifier' => id,
120
123
  'DBName' => db_name,
121
124
  'DBParameterGroupName' => parameter_group_name || attributes['DBParameterGroupName'],
122
125
  'DBSecurityGroups' => security_group_names,
123
- 'DBInstanceIdentifier' => id,
124
- 'AvailabilityZone' => availability_zone,
125
- 'DBInstanceClass' => flavor_id,
126
- 'Port' => port || attributes['Port'],
126
+ 'DBSubnetGroupName' => db_subnet_group_name,
127
127
  'Engine' => engine,
128
128
  'EngineVersion' => engine_version,
129
+ 'StorageEncrypted' => storage_encrypted,
129
130
  'Iops' => iops,
130
- 'MasterUsername' => master_username,
131
+ 'LicenseModel' => license_model,
131
132
  'MasterUserPassword' => password || attributes['MasterUserPassword'],
132
- 'PreferredMaintenanceWindow' => preferred_maintenance_window,
133
- 'PreferredBackupWindow' => preferred_backup_window,
133
+ 'MasterUsername' => master_username,
134
134
  'MultiAZ' => multi_az,
135
- 'LicenseModel' => license_model,
136
- 'DBSubnetGroupName' => db_subnet_group_name,
135
+ 'Port' => port || attributes['Port'],
136
+ 'PreferredBackupWindow' => preferred_backup_window,
137
+ 'PreferredMaintenanceWindow' => preferred_maintenance_window,
137
138
  'PubliclyAccessible' => publicly_accessible,
138
- 'VpcSecurityGroups' => vpc_security_groups,
139
139
  'StorageType' => storage_type,
140
+ 'VpcSecurityGroups' => vpc_security_groups,
140
141
  }
141
142
 
142
143
  options.delete_if {|key, value| value.nil?}
@@ -104,7 +104,7 @@ module Fog
104
104
  "PreferredMaintenanceWindow" => options["PreferredMaintenanceWindow"] || "mon:04:30-mon:05:00",
105
105
  "PubliclyAccessible" => !!options["PubliclyAccessible"],
106
106
  "ReadReplicaDBInstanceIdentifiers" => [],
107
- "StorageEncrypted" => false,
107
+ "StorageEncrypted" => options["StorageEncrypted"] || false,
108
108
  "StorageType" => options["StorageType"] || "standard",
109
109
  "VpcSecurityGroups" => options["VpcSecurityGroups"],
110
110
  }
@@ -1,5 +1,5 @@
1
1
  module Fog
2
2
  module AWS
3
- VERSION = "0.7.2"
3
+ VERSION = "0.7.3"
4
4
  end
5
5
  end
@@ -2,8 +2,14 @@ Shindo.tests("AWS::RDS | server", ['aws', 'rds']) do
2
2
  model_tests(Fog::AWS[:rds].servers, rds_default_server_params) do
3
3
  # We'll need this later; create it early to avoid waiting
4
4
  @instance_with_final_snapshot = Fog::AWS[:rds].servers.create(rds_default_server_params.merge(:id => uniq_id("fog-snapshot-test"), :backup_retention_period => 1))
5
+ @instance_with_encrypted_storage = Fog::AWS[:rds].servers.create(rds_default_server_params.merge(:storage_encrypted => true))
5
6
 
6
7
  @instance.wait_for(20*60) { ready? }
8
+ @instance_with_encrypted_storage.wait_for(20*60) { ready? }
9
+
10
+ tests("#storage_encrypted") do
11
+ returns(true) { @instance_with_encrypted_storage.storage_encrypted }
12
+ end
7
13
 
8
14
  test('#read_replica_identifiers is []') do
9
15
  returns([]) { @instance.read_replica_identifiers }
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.2
4
+ version: 0.7.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: 2015-07-08 00:00:00.000000000 Z
12
+ date: 2015-07-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler