From bbf5c5f602a5de68b18e8c50b7c73625c5db6c42 Mon Sep 17 00:00:00 2001 From: Jacob Burkhart Date: Mon, 25 Jan 2016 10:57:14 -0800 Subject: [PATCH] fix spec, listen to geemus --- fog-aws.gemspec | 1 - lib/fog/aws/dns.rb | 12 ------------ .../rds/restore_db_instance_from_db_snapshot.rb | 2 +- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/fog-aws.gemspec b/fog-aws.gemspec index 3c689310e..427712870 100644 --- a/fog-aws.gemspec +++ b/fog-aws.gemspec @@ -28,5 +28,4 @@ Gem::Specification.new do |spec| spec.add_dependency 'fog-json', '~> 1.0' spec.add_dependency 'fog-xml', '~> 0.1' spec.add_dependency 'ipaddress', '~> 0.8' - spec.add_dependency 'mime-types' end diff --git a/lib/fog/aws/dns.rb b/lib/fog/aws/dns.rb index c3c26d9e0..3418d778a 100644 --- a/lib/fog/aws/dns.rb +++ b/lib/fog/aws/dns.rb @@ -3,18 +3,6 @@ module Fog class AWS < Fog::Service extend Fog::AWS::CredentialFetcher::ServiceMethods - require 'fog/aws/requests/dns/change_resource_record_sets' - require 'fog/aws/requests/dns/create_health_check' - require 'fog/aws/requests/dns/create_hosted_zone' - require 'fog/aws/requests/dns/delete_health_check' - require 'fog/aws/requests/dns/delete_hosted_zone' - require 'fog/aws/requests/dns/get_change' - require 'fog/aws/requests/dns/get_health_check' - require 'fog/aws/requests/dns/get_hosted_zone' - require 'fog/aws/requests/dns/list_health_checks' - require 'fog/aws/requests/dns/list_hosted_zones' - require 'fog/aws/requests/dns/list_resource_record_sets' - requires :aws_access_key_id, :aws_secret_access_key recognizes :host, :path, :port, :scheme, :version, :persistent, :use_iam_profile, :aws_session_token, :aws_credentials_expire_at, :instrumentor, :instrumentor_name diff --git a/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb b/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb index 22b9151c0..48ff40592 100644 --- a/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb +++ b/lib/fog/aws/requests/rds/restore_db_instance_from_db_snapshot.rb @@ -62,7 +62,7 @@ module Fog "Iops" => options['Iops'], "LicenseModel" => options['LicenseModel'] || snapshot['LicenseModel'] || 'general-public-license', "MasterUsername" => options['MasterUsername'] || snapshot['MasterUsername'], - "MultiAZ" => options['MultiAZ'], + "MultiAZ" => !!options['MultiAZ'], "OptiongroupMemberships" => option_group_membership, "PendingModifiedValues" => { 'MasterUserPassword' => '****' }, # This clears when is available "PreferredBackupWindow" => '08:00-08:30',