diff --git a/lib/fog/aws/elasticache.rb b/lib/fog/aws/elasticache.rb index dd73e59161..b23b5d0228 100644 --- a/lib/fog/aws/elasticache.rb +++ b/lib/fog/aws/elasticache.rb @@ -195,7 +195,7 @@ def setup_credentials(options) @aws_access_key_id = options[:aws_access_key_id] end - # returns an Array of (Mock) elasticache nodes, representated as Hashes + # returns an Array of (Mock) elasticache nodes, represented as Hashes def create_cache_nodes(cluster_id, num_nodes = 1, port = '11211') (1..num_nodes).map do |node_number| node_id = "%04d" % node_number diff --git a/lib/fog/aws/models/compute/dhcp_option.rb b/lib/fog/aws/models/compute/dhcp_option.rb index b1f70d87d9..3040afafa6 100644 --- a/lib/fog/aws/models/compute/dhcp_option.rb +++ b/lib/fog/aws/models/compute/dhcp_option.rb @@ -10,7 +10,7 @@ def initialize(attributes={}) super end - # Associates an existing dhcp configration set with a VPC + # Associates an existing dhcp configuration set with a VPC # # dhcp_option.attach(dopt-id, vpc-id) # diff --git a/lib/fog/aws/models/compute/flavors.rb b/lib/fog/aws/models/compute/flavors.rb index fa59f23908..f698a6df7d 100644 --- a/lib/fog/aws/models/compute/flavors.rb +++ b/lib/fog/aws/models/compute/flavors.rb @@ -288,7 +288,7 @@ class Compute }, { :id => 't4g.nano', - :name => 'T4G Nano Instace', + :name => 'T4G Nano Instance', :bits => 64, :cores => 2, :disk => 0, @@ -318,7 +318,7 @@ class Compute }, { :id => 't4g.medium', - :name => 'T4G Medium Instace', + :name => 'T4G Medium Instance', :bits => 64, :cores => 2, :disk => 0, @@ -3558,7 +3558,7 @@ class Compute }, { :id => "m6a.48xlarge", - :name => "m6a Fourty Eight Extra Large", + :name => "m6a Forty Eight Extra Large", :bits => 64, :cores => 192, :ram => 824634, diff --git a/lib/fog/aws/models/compute/network_interfaces.rb b/lib/fog/aws/models/compute/network_interfaces.rb index f6b68660b0..49f307a67d 100644 --- a/lib/fog/aws/models/compute/network_interfaces.rb +++ b/lib/fog/aws/models/compute/network_interfaces.rb @@ -54,7 +54,7 @@ def initialize(attributes) # # Returns an array of all network interfaces # - #>> AWS.network_interfaves.all + #>> AWS.network_interfaces.all # engine_version, :notification_topic_arn => notification_config['TopicArn'], :port => port, - :preferred_availablility_zone => zone, + :preferred_availability_zone => zone, :preferred_maintenance_window => maintenance_window, :s3_snapshot_location => s3_snapshot_location, :parameter_group_name => parameter_group_name || parameter_group['CacheParameterGroupName'], diff --git a/lib/fog/aws/models/storage/file.rb b/lib/fog/aws/models/storage/file.rb index f4827c9e71..4711bcbed8 100644 --- a/lib/fog/aws/models/storage/file.rb +++ b/lib/fog/aws/models/storage/file.rb @@ -246,7 +246,7 @@ def public_url # @param [Hash] options # @option options [String] acl sets x-amz-acl HTTP header. Valid values include, private | public-read | public-read-write | authenticated-read | bucket-owner-read | bucket-owner-full-control # @option options [String] cache_control sets Cache-Control header. For example, 'No-cache' - # @option options [String] content_disposition sets Content-Disposition HTTP header. For exampple, 'attachment; filename=testing.txt' + # @option options [String] content_disposition sets Content-Disposition HTTP header. For example, 'attachment; filename=testing.txt' # @option options [String] content_encoding sets Content-Encoding HTTP header. For example, 'x-gzip' # @option options [String] content_md5 sets Content-MD5. For example, '79054025255fb1a26e4bc422aef54eb4' # @option options [String] content_type Content-Type. For example, 'text/plain' diff --git a/lib/fog/aws/parsers/iam/list_server_certificates.rb b/lib/fog/aws/parsers/iam/list_server_certificates.rb index 1810a78c0a..7b76275d61 100644 --- a/lib/fog/aws/parsers/iam/list_server_certificates.rb +++ b/lib/fog/aws/parsers/iam/list_server_certificates.rb @@ -21,7 +21,7 @@ def end_element(name) when 'member' @response['Certificates'] << @certificate reset_certificate - when 'IsTrunctated' + when 'IsTruncated' @response[name] = !!value when 'Marker' @response[name] = value diff --git a/lib/fog/aws/parsers/rds/db_cluster_parser.rb b/lib/fog/aws/parsers/rds/db_cluster_parser.rb index 7ccfbc08c9..b3791a237a 100644 --- a/lib/fog/aws/parsers/rds/db_cluster_parser.rb +++ b/lib/fog/aws/parsers/rds/db_cluster_parser.rb @@ -42,7 +42,7 @@ def end_element(name) when 'VpcSecurityGroupId' @vpc_security_group[name] = value when 'Status' - # Unfortunately, status is used in VpcSecurityGroupMemebership and + # Unfortunately, status is used in VpcSecurityGroupMembership and # DBSecurityGroups if @in_db_security_groups @db_security_group[name]=value diff --git a/lib/fog/aws/parsers/rds/db_parser.rb b/lib/fog/aws/parsers/rds/db_parser.rb index 156800f438..ad1d5d79d4 100644 --- a/lib/fog/aws/parsers/rds/db_parser.rb +++ b/lib/fog/aws/parsers/rds/db_parser.rb @@ -105,7 +105,7 @@ def end_element(name) when 'VpcSecurityGroupId' @vpc_security_group[name] = value when 'Status' - # Unfortunately, status is used in VpcSecurityGroupMemebership and + # Unfortunately, status is used in VpcSecurityGroupMembership and # DBSecurityGroups if @in_db_security_groups @db_security_group[name]=value diff --git a/lib/fog/aws/parsers/rds/modify_db_subnet_group.rb b/lib/fog/aws/parsers/rds/modify_db_subnet_group.rb index 785c83cc78..5e1e8a43dc 100644 --- a/lib/fog/aws/parsers/rds/modify_db_subnet_group.rb +++ b/lib/fog/aws/parsers/rds/modify_db_subnet_group.rb @@ -4,7 +4,7 @@ module AWS module RDS class ModifyDBSubnetGroup < Fog::Parsers::Base def reset - @response = { 'ModifyDBSubnetGrouptAttributeResult' => {}, 'ResponseMetadata' => {} } + @response = { 'ModifyDBSubnetGroupAttributeResult' => {}, 'ResponseMetadata' => {} } end def start_element(name, attrs = []) diff --git a/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb b/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb index 7374013e16..3d3c667ff8 100644 --- a/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb +++ b/lib/fog/aws/parsers/redshift/cluster_subnet_group_parser.rb @@ -32,7 +32,7 @@ def start_element(name, attrs = []) def end_element(name) super case name - when 'ClusterSubnetGroupName', 'Desciption', 'VpcId', 'SubnetGroupStatus' + when 'ClusterSubnetGroupName', 'Description', 'VpcId', 'SubnetGroupStatus' @response[name] = value when 'SubnetIdentifier', 'SubnetStatus' @subnet[name] = value diff --git a/lib/fog/aws/requests/auto_scaling/attach_load_balancer_target_groups.rb b/lib/fog/aws/requests/auto_scaling/attach_load_balancer_target_groups.rb index b71f3127f7..fab85b9030 100644 --- a/lib/fog/aws/requests/auto_scaling/attach_load_balancer_target_groups.rb +++ b/lib/fog/aws/requests/auto_scaling/attach_load_balancer_target_groups.rb @@ -11,7 +11,7 @@ class Real # * auto_scaling_group_name<~String> - The name of the Auto Scaling # group. # * options<~Hash>: - # 'TagetGroupARNs'<~Array> - A list of target group arns to use. + # 'TargetGroupARNs'<~Array> - A list of target group arns to use. # # ==== See Also # http://docs.amazonwebservices.com/AutoScaling/latest/APIReference/API_AttachLoadBalancerTargetGroups.html diff --git a/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb b/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb index 1673dd2c32..071203b2d3 100644 --- a/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb +++ b/lib/fog/aws/requests/auto_scaling/describe_scaling_activities.rb @@ -40,7 +40,7 @@ class Real # * 'ActivityId'<~String> - Specifies the ID of the activity. # * 'AutoScalingGroupName'<~String> - The name of the Auto # Scaling group. - # * 'Cause'<~String> - Contins the reason the activity was + # * 'Cause'<~String> - Contains the reason the activity was # begun. # * 'Description'<~String> - Contains a friendly, more verbose # description of the scaling activity. diff --git a/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb b/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb index b9be811fb3..5e5f3a27f8 100644 --- a/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb +++ b/lib/fog/aws/requests/auto_scaling/put_scheduled_update_group_action.rb @@ -39,7 +39,7 @@ class Real # http://docs.amazonwebservices.com/AutoScaling/latest/APIReference/API_PutScheduledUpdateGroupAction.html # def put_scheduled_update_group_action(auto_scaling_group_name, scheduled_action_name, time=nil, options = {}) - # The 'Time' paramenter is now an alias for StartTime and needs to be identical if specified. + # The 'Time' parameter is now an alias for StartTime and needs to be identical if specified. time = options['StartTime'].nil? ? time : options['StartTime'] if !time.nil? time = time.class == Time ? time.utc.iso8601 : Time.parse(time).utc.iso8601 diff --git a/lib/fog/aws/requests/cloud_formation/create_change_set.rb b/lib/fog/aws/requests/cloud_formation/create_change_set.rb index ca4439900a..30d22795da 100644 --- a/lib/fog/aws/requests/cloud_formation/create_change_set.rb +++ b/lib/fog/aws/requests/cloud_formation/create_change_set.rb @@ -16,7 +16,7 @@ class Real # * UsePreviousTemplate [Boolean] Reuse the template that is associated with the stack to create the change set. # * NotificationARNs [Array] List of SNS topics to publish events to. # * Parameters [Hash] Hash of providers to supply to template. - # * Capabilities [Array] List of capabilties the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources. + # * Capabilities [Array] List of capabilities the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources. # # @return [Excon::Response]: # * body [Hash: diff --git a/lib/fog/aws/requests/cloud_formation/create_stack.rb b/lib/fog/aws/requests/cloud_formation/create_stack.rb index 5afbd8f918..bf238a6cdf 100644 --- a/lib/fog/aws/requests/cloud_formation/create_stack.rb +++ b/lib/fog/aws/requests/cloud_formation/create_stack.rb @@ -16,7 +16,7 @@ class Real # * NotificationARNs [Array] List of SNS topics to publish events to. # * Parameters [Hash] Hash of providers to supply to template # * TimeoutInMinutes [Integer] Minutes to wait before status is set to CREATE_FAILED - # * Capabilities [Array] List of capabilties the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources + # * Capabilities [Array] List of capabilities the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources # * StackPolicyBody [String] Structure containing the stack policy body. # * StackPolicyURL [String] URL of file containing the stack policy. # * Tags [Array] Key-value pairs to associate with this stack. diff --git a/lib/fog/aws/requests/cloud_formation/get_template_summary.rb b/lib/fog/aws/requests/cloud_formation/get_template_summary.rb index 00552c6bc0..02a9fd0ac2 100644 --- a/lib/fog/aws/requests/cloud_formation/get_template_summary.rb +++ b/lib/fog/aws/requests/cloud_formation/get_template_summary.rb @@ -15,7 +15,7 @@ class Real # # @return [Excon::Response]: # * body [Hash: - # * Capabilities [Array] List of capabilties in the template. + # * Capabilities [Array] List of capabilities in the template. # * CapabilitiesReason [String] The list of resources that generated the values in the Capabilities response element. # * Description [String] Template Description. # * Metadata [String] Template Metadata. diff --git a/lib/fog/aws/requests/cloud_formation/update_stack.rb b/lib/fog/aws/requests/cloud_formation/update_stack.rb index decd9cae16..b137e46b0e 100644 --- a/lib/fog/aws/requests/cloud_formation/update_stack.rb +++ b/lib/fog/aws/requests/cloud_formation/update_stack.rb @@ -12,7 +12,7 @@ class Real # or (one of the two Template parameters is required) # * TemplateURL [String] URL of file containing the template body. # * Parameters [Hash] Hash of providers to supply to template. - # * Capabilities [Array] List of capabilties the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources. + # * Capabilities [Array] List of capabilities the stack is granted. Currently CAPABILITY_IAM for allowing the creation of IAM resources. # * NotificationARNs [Array] List of SNS topics to publish events to. # * ResourceTypes [Array] The template resource types that you have permissions to work. # * StackPolicyBody [String] Structure containing the stack policy body. diff --git a/lib/fog/aws/requests/cloud_watch/list_metrics.rb b/lib/fog/aws/requests/cloud_watch/list_metrics.rb index de78214fb3..a1def73590 100644 --- a/lib/fog/aws/requests/cloud_watch/list_metrics.rb +++ b/lib/fog/aws/requests/cloud_watch/list_metrics.rb @@ -4,7 +4,7 @@ class CloudWatch class Real require 'fog/aws/parsers/cloud_watch/list_metrics' - # List availabe metrics + # List available metrics # # ==== Options # * Dimensions<~Array>: a list of dimensions to filter against, diff --git a/lib/fog/aws/requests/compute/authorize_security_group_egress.rb b/lib/fog/aws/requests/compute/authorize_security_group_egress.rb index ced6078883..4ab8513595 100644 --- a/lib/fog/aws/requests/compute/authorize_security_group_egress.rb +++ b/lib/fog/aws/requests/compute/authorize_security_group_egress.rb @@ -7,7 +7,7 @@ class Real # Add permissions to a security group # # ==== Parameters - # * group_name<~String> - Name of group, optional (can also be specifed as GroupName in options) + # * group_name<~String> - Name of group, optional (can also be specified as GroupName in options) # * options<~Hash>: # * 'GroupName'<~String> - Name of security group to modify # * 'GroupId'<~String> - Id of security group to modify diff --git a/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb b/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb index deeb814c5b..7d9146c182 100644 --- a/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb +++ b/lib/fog/aws/requests/compute/authorize_security_group_ingress.rb @@ -7,7 +7,7 @@ class Real # Add permissions to a security group # # ==== Parameters - # * group_name<~String> - Name of group, optional (can also be specifed as GroupName in options) + # * group_name<~String> - Name of group, optional (can also be specified as GroupName in options) # * options<~Hash>: # * 'GroupName'<~String> - Name of security group to modify # * 'GroupId'<~String> - Id of security group to modify diff --git a/lib/fog/aws/requests/compute/create_network_interface.rb b/lib/fog/aws/requests/compute/create_network_interface.rb index ab7bcd9ac9..b8d1858252 100644 --- a/lib/fog/aws/requests/compute/create_network_interface.rb +++ b/lib/fog/aws/requests/compute/create_network_interface.rb @@ -25,7 +25,7 @@ class Real # * 'availabilityZone'<~String> - The availability zone # * 'description'<~String> - The description # * 'ownerId'<~String> - The ID of the person who created the interface - # * 'requesterId'<~String> - The ID ot teh entity requesting this interface + # * 'requesterId'<~String> - The ID or the entity requesting this interface # * 'requesterManaged'<~String> - # * 'status'<~String> - "available" or "in-use" # * 'macAddress'<~String> - diff --git a/lib/fog/aws/requests/compute/create_vpc.rb b/lib/fog/aws/requests/compute/create_vpc.rb index 44b940a608..e0426b82c9 100644 --- a/lib/fog/aws/requests/compute/create_vpc.rb +++ b/lib/fog/aws/requests/compute/create_vpc.rb @@ -67,7 +67,7 @@ def create_vpc(cidrBlock, options = {}) route_table = self.data[:route_tables].find { |routetable| routetable["routeTableId"].eql? default_route.id } # This pushes a main route to the associationSet - # add_route_association(routeTableId, subnetId, main=false) is declared in assocate_route_table.rb + # add_route_association(routeTableId, subnetId, main=false) is declared in associate_route_table.rb assoc = add_route_association(default_route.id, nil, true) route_table["associationSet"].push(assoc) diff --git a/lib/fog/aws/requests/compute/describe_network_interfaces.rb b/lib/fog/aws/requests/compute/describe_network_interfaces.rb index e0219d18e4..aaefbde850 100644 --- a/lib/fog/aws/requests/compute/describe_network_interfaces.rb +++ b/lib/fog/aws/requests/compute/describe_network_interfaces.rb @@ -20,7 +20,7 @@ class Real # * 'availabilityZone'<~String> - The availability zone # * 'description'<~String> - The description # * 'ownerId'<~String> - The ID of the person who created the interface - # * 'requesterId'<~String> - The ID ot teh entity requesting this interface + # * 'requesterId'<~String> - The ID of the entity requesting this interface # * 'requesterManaged'<~String> - # * 'status'<~String> - "available" or "in-use" # * 'macAddress'<~String> - @@ -49,7 +49,7 @@ class Real # * 'privateIpAddresses' <~Array>: # * 'privateIpAddress'<~String> - One of the additional private ip address # * 'privateDnsName'<~String> - The private DNS associate to the ip address - # * 'primay'<~String> - Whether main ip associate with NIC true of false + # * 'primary'<~String> - Whether main ip associate with NIC true of false # # {Amazon API Reference}[http://docs.amazonwebservices.com/AWSEC2/2012-03-01/APIReference/index.html?ApiReference-query-DescribeNetworkInterfaces.html] def describe_network_interfaces(filters = {}) diff --git a/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb b/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb index 158ab4bc39..af6e949c49 100644 --- a/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb +++ b/lib/fog/aws/requests/compute/modify_network_interface_attribute.rb @@ -9,7 +9,7 @@ class Real # ==== Parameters # * network_interface_id<~String> - The ID of the network interface you want to describe an attribute of # * attribute<~String> - The attribute to modify, must be one of 'description', 'groupSet', 'sourceDestCheck' or 'attachment' - # * value<~Object> - New value of attribute, the actual tyep depends on teh attribute: + # * value<~Object> - New value of attribute, the actual type depends on the attribute: # description - a string # groupSet - a list of group id's # sourceDestCheck - a boolean value diff --git a/lib/fog/aws/requests/compute/modify_volume.rb b/lib/fog/aws/requests/compute/modify_volume.rb index 0e9e179e55..cda9468b32 100644 --- a/lib/fog/aws/requests/compute/modify_volume.rb +++ b/lib/fog/aws/requests/compute/modify_volume.rb @@ -10,7 +10,7 @@ class Real # * volume_id<~String> - The ID of the volume # * options<~Hash>: # * 'VolumeType'<~String> - Type of volume - # * 'Size'<~Integer> - Size in GiBs fo the volume + # * 'Size'<~Integer> - Size in GiBs of the volume # * 'Iops'<~Integer> - Number of IOPS the volume supports # # ==== Response diff --git a/lib/fog/aws/requests/compute/revoke_security_group_egress.rb b/lib/fog/aws/requests/compute/revoke_security_group_egress.rb index 9fbb502c1b..aba24ea4fb 100644 --- a/lib/fog/aws/requests/compute/revoke_security_group_egress.rb +++ b/lib/fog/aws/requests/compute/revoke_security_group_egress.rb @@ -7,7 +7,7 @@ class Real # Remove permissions from a security group # # ==== Parameters - # * group_name<~String> - Name of group, optional (can also be specifed as GroupName in options) + # * group_name<~String> - Name of group, optional (can also be specified as GroupName in options) # * options<~Hash>: # * 'GroupName'<~String> - Name of security group to modify # * 'GroupId'<~String> - Id of security group to modify diff --git a/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb b/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb index 5eb948cc3d..224934a2bd 100644 --- a/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb +++ b/lib/fog/aws/requests/compute/revoke_security_group_ingress.rb @@ -7,7 +7,7 @@ class Real # Remove permissions from a security group # # ==== Parameters - # * group_name<~String> - Name of group, optional (can also be specifed as GroupName in options) + # * group_name<~String> - Name of group, optional (can also be specified as GroupName in options) # * options<~Hash>: # * 'GroupName'<~String> - Name of security group to modify # * 'GroupId'<~String> - Id of security group to modify diff --git a/lib/fog/aws/requests/compute/run_instances.rb b/lib/fog/aws/requests/compute/run_instances.rb index 0461f723cf..49fe39eab3 100644 --- a/lib/fog/aws/requests/compute/run_instances.rb +++ b/lib/fog/aws/requests/compute/run_instances.rb @@ -31,7 +31,7 @@ class Real # * 'Ebs.VolumeType'<~String> - Type of EBS volue. Valid options in ['standard', 'io1'] default is 'standard'. # * 'Ebs.Iops'<~String> - The number of I/O operations per second (IOPS) that the volume supports. Required when VolumeType is 'io1' # * 'HibernationOptions'<~Array>: array of hashes - # * 'Configured'<~Boolean> - specifies whether or not the instance is configued for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. + # * 'Configured'<~Boolean> - specifies whether or not the instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites. # * 'NetworkInterfaces'<~Array>: array of hashes # * 'NetworkInterfaceId'<~String> - An existing interface to attach to a single instance # * 'DeviceIndex'<~String> - The device index. Applies both to attaching an existing network interface and creating a network interface @@ -46,7 +46,7 @@ class Real # * 'AssociatePublicIpAddress'<~String> - Indicates whether to assign a public IP address to an instance in a VPC. The public IP address is assigned to a specific network interface # * 'TagSpecifications'<~Array>: array of hashes # * 'ResourceType'<~String> - Type of resource to apply tags on, e.g: instance or volume - # * 'Tags'<~Array> - List of hashs reprensenting tag to be set + # * 'Tags'<~Array> - List of hashes reprensenting tag to be set # * 'Key'<~String> - Tag name # * 'Value'<~String> - Tag value # * 'ClientToken'<~String> - unique case-sensitive token for ensuring idempotency diff --git a/lib/fog/aws/requests/data_pipeline/deactivate_pipeline.rb b/lib/fog/aws/requests/data_pipeline/deactivate_pipeline.rb index b85bf916e0..3c4d8cb011 100644 --- a/lib/fog/aws/requests/data_pipeline/deactivate_pipeline.rb +++ b/lib/fog/aws/requests/data_pipeline/deactivate_pipeline.rb @@ -15,7 +15,7 @@ def deactivate_pipeline(id, cancel_active=true) response = request({ :body => Fog::JSON.encode(params), - :headers => { 'X-Amz-Target' => 'DataPipeline.DectivatePipeline' } + :headers => { 'X-Amz-Target' => 'DataPipeline.DeactivatePipeline' } }) end end diff --git a/lib/fog/aws/requests/ecs/list_task_definitions.rb b/lib/fog/aws/requests/ecs/list_task_definitions.rb index 974e4936d0..05bd7536b8 100644 --- a/lib/fog/aws/requests/ecs/list_task_definitions.rb +++ b/lib/fog/aws/requests/ecs/list_task_definitions.rb @@ -13,7 +13,7 @@ class Real # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: - # * 'TaskDefinitionArns' <~Array> - list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefintions request. + # * 'TaskDefinitionArns' <~Array> - list of task definition Amazon Resource Name (ARN) entries for the ListTaskDefinitions request. # * 'NextToken' <~String> - nextToken value to include in a future ListTaskDefinitions request def list_task_definitions(params={}) request({ diff --git a/lib/fog/aws/requests/efs/create_file_system.rb b/lib/fog/aws/requests/efs/create_file_system.rb index 752feaa002..440fe67430 100644 --- a/lib/fog/aws/requests/efs/create_file_system.rb +++ b/lib/fog/aws/requests/efs/create_file_system.rb @@ -23,7 +23,7 @@ def create_file_system(creation_token, options={}) :method => 'POST', :expects => 201, 'CreationToken' => creation_token, - 'PerformanceMode' => options[:peformance_mode] || 'generalPurpose', + 'PerformanceMode' => options[:performance_mode] || 'generalPurpose', 'Encrypted' => options[:encrypted] || false } params[:kms_key_id] = options[:kms_key_id] if options.key?(:kms_key_id) diff --git a/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb b/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb index bf0567c94a..5b4efb8944 100644 --- a/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb +++ b/lib/fog/aws/requests/elasticache/authorize_cache_security_group_ingress.rb @@ -34,7 +34,7 @@ def authorize_cache_security_group_ingress(name, ec2_name, ec2_owner_id) if sec_group = self.data[:security_groups][name] if sec_group['EC2SecurityGroups'].find{|h| h['EC2SecurityGroupName'] == opts['EC2SecurityGroupName']} - raise Fog::AWS::Elasticache::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['EC2SecurityGroupName']} is alreay defined") + raise Fog::AWS::Elasticache::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['EC2SecurityGroupName']} is already defined") end sec_group['EC2SecurityGroups'] << opts.merge({'Status' => 'authorizing'}) diff --git a/lib/fog/aws/requests/elasticache/create_cache_cluster.rb b/lib/fog/aws/requests/elasticache/create_cache_cluster.rb index db085ccbb1..24c19d2a1d 100644 --- a/lib/fog/aws/requests/elasticache/create_cache_cluster.rb +++ b/lib/fog/aws/requests/elasticache/create_cache_cluster.rb @@ -19,7 +19,7 @@ class Real # * :engine_version <~String> - The Cluster's caching software version # * :notification_topic_arn <~String> - Amazon SNS Resource Name # * :port <~Integer> - The memcached port number - # * :preferred_availablility_zone <~String> + # * :preferred_availability_zone <~String> # * :preferred_maintenance_window <~String> # * :cache_subnet_group_name <~String> # * :s3_snapshot_location <~String> - Amazon resource location for snapshot @@ -39,7 +39,7 @@ def create_cache_cluster(id, options = {}) 'EngineVersion' => options[:engine_version], 'NotificationTopicArn' => options[:notification_topic_arn], 'Port' => options[:port], - 'PreferredAvailabilityZone' => options[:preferred_availablility_zone], + 'PreferredAvailabilityZone' => options[:preferred_availability_zone], 'PreferredMaintenanceWindow' => options[:preferred_maintenance_window], :parser => Fog::Parsers::AWS::Elasticache::SingleCacheCluster.new } diff --git a/lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb b/lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb index bea25614bf..4e3c5943b0 100644 --- a/lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb +++ b/lib/fog/aws/requests/elasticache/describe_engine_default_parameters.rb @@ -24,7 +24,7 @@ def describe_engine_default_parameters(options = {}) end class Mock - def describe_engine_defalut_parameters(options = {}) + def describe_engine_default_parameters(options = {}) Fog::Mock.not_implemented end end diff --git a/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb b/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb index e8bc8f37ae..2198716c2e 100644 --- a/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb +++ b/lib/fog/aws/requests/elb/delete_load_balancer_listeners.rb @@ -4,7 +4,7 @@ class ELB class Real require 'fog/aws/parsers/elb/empty' - # Delet Elastic Load Balancer Listeners + # Delete Elastic Load Balancer Listeners # # ==== Parameters # * lb_name<~String> - Name for the new ELB -- must be unique diff --git a/lib/fog/aws/requests/elbv2/describe_tags.rb b/lib/fog/aws/requests/elbv2/describe_tags.rb index c4b3144da6..1418d7de28 100644 --- a/lib/fog/aws/requests/elbv2/describe_tags.rb +++ b/lib/fog/aws/requests/elbv2/describe_tags.rb @@ -25,7 +25,7 @@ def describe_tags(resource_arns) response = Excon::Response.new resource_arns = [*resource_arns] - tag_describtions = resource_arns.map do |resource_arn| + tag_descriptions = resource_arns.map do |resource_arn| if self.data[:load_balancers_v2][resource_arn] { "Tags"=>self.data[:tags][resource_arn], @@ -39,7 +39,7 @@ def describe_tags(resource_arns) response.status = 200 response.body = { "ResponseMetadata"=>{"RequestId"=> Fog::AWS::Mock.request_id }, - "DescribeTagsResult"=>{"TagDescriptions"=> tag_describtions} + "DescribeTagsResult"=>{"TagDescriptions"=> tag_descriptions} } response diff --git a/lib/fog/aws/requests/glacier/initiate_job.rb b/lib/fog/aws/requests/glacier/initiate_job.rb index 3f4edc5c54..d077522b29 100644 --- a/lib/fog/aws/requests/glacier/initiate_job.rb +++ b/lib/fog/aws/requests/glacier/initiate_job.rb @@ -2,7 +2,7 @@ module Fog module AWS class Glacier class Real - # This operation initates a multipart upload of an archive to a vault + # This operation initiates a multipart upload of an archive to a vault # # ==== Parameters # * name<~String> The vault name diff --git a/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb b/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb index cf545d4669..50446bc94a 100644 --- a/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb +++ b/lib/fog/aws/requests/glacier/initiate_multipart_upload.rb @@ -2,7 +2,7 @@ module Fog module AWS class Glacier class Real - # This operation initates a multipart upload of an archive to a vault + # This operation initiates a multipart upload of an archive to a vault # # ==== Parameters # * name<~String> The vault name diff --git a/lib/fog/aws/requests/kinesis/list_streams.rb b/lib/fog/aws/requests/kinesis/list_streams.rb index 23240fdcdc..31465cabdf 100644 --- a/lib/fog/aws/requests/kinesis/list_streams.rb +++ b/lib/fog/aws/requests/kinesis/list_streams.rb @@ -2,7 +2,7 @@ module Fog module AWS class Kinesis class Real - # List availabe streams + # List available streams # # ==== Options # * ExclusiveStartStreamName<~String>: The name of the stream to start the list with. diff --git a/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb b/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb index 42ed8d2aed..b17f7800fc 100644 --- a/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb +++ b/lib/fog/aws/requests/rds/authorize_db_security_group_ingress.rb @@ -43,12 +43,12 @@ def authorize_db_security_group_ingress(name, opts = {}) if sec_group = self.data[:security_groups][name] if opts.key?('CIDRIP') if sec_group['IPRanges'].find{|h| h['CIDRIP'] == opts['CIDRIP']} - raise Fog::AWS::RDS::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['CIDRIP']} is alreay defined") + raise Fog::AWS::RDS::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['CIDRIP']} is already defined") end sec_group['IPRanges'] << opts.merge({"Status" => 'authorizing'}) else if sec_group['EC2SecurityGroups'].find{|h| h['EC2SecurityGroupName'] == opts['EC2SecurityGroupName'] || h['EC2SecurityGroupId'] == opts['EC2SecurityGroupId']} - raise Fog::AWS::RDS::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['EC2SecurityGroupName']} is alreay defined") + raise Fog::AWS::RDS::AuthorizationAlreadyExists.new("AuthorizationAlreadyExists => #{opts['EC2SecurityGroupName']} is already defined") end sec_group['EC2SecurityGroups'] << opts.merge({"Status" => 'authorizing'}) end diff --git a/lib/fog/aws/requests/rds/create_db_cluster.rb b/lib/fog/aws/requests/rds/create_db_cluster.rb index 3d6d2f3760..35c6334579 100644 --- a/lib/fog/aws/requests/rds/create_db_cluster.rb +++ b/lib/fog/aws/requests/rds/create_db_cluster.rb @@ -12,7 +12,7 @@ class Real # * AvailabilityZones<~Array> - A list of EC2 Availability Zones that instances in the DB cluster can be created in # * BackupRetentionPeriod<~String> - The number of days for which automated backups are retained # * CharacterSetName<~String> - A value that indicates that the DB cluster should be associated with the specified CharacterSet - # * DatabaseName<~String> - The name for your database of up to 8 alpha-numeric characters. If you do not provide a name, Amazon RDS will not create a database in the DB cluster you are creating + # * DatabaseName<~String> - The name for your database of up to 8 alphanumeric characters. If you do not provide a name, Amazon RDS will not create a database in the DB cluster you are creating # * DBClusterIdentifier<~String> - The DB cluster identifier. This parameter is stored as a lowercase string # * DBClusterParameterGroupName<~String> - The name of the DB cluster parameter group to associate with this DB cluster # * DBSubnetGroupName<~String> - A DB subnet group to associate with this DB cluster diff --git a/lib/fog/aws/requests/rds/describe_db_snapshots.rb b/lib/fog/aws/requests/rds/describe_db_snapshots.rb index 8988cc33ad..76ae7230d4 100644 --- a/lib/fog/aws/requests/rds/describe_db_snapshots.rb +++ b/lib/fog/aws/requests/rds/describe_db_snapshots.rb @@ -9,7 +9,7 @@ class Real # ==== Parameters # * DBInstanceIdentifier <~String> - ID of instance to retrieve information for. if absent information for all instances is returned # * DBSnapshotIdentifier <~String> - ID of snapshot to retrieve information for. if absent information for all snapshots is returned - # * SnapshotType <~String> - type of snapshot to retrive (automated|manual) + # * SnapshotType <~String> - type of snapshot to retrieve (automated|manual) # * Marker <~String> - An optional marker provided in the previous DescribeDBInstances request # * MaxRecords <~Integer> - Max number of records to return (between 20 and 100) # Only one of DBInstanceIdentifier or DBSnapshotIdentifier can be specified diff --git a/lib/fog/aws/requests/rds/modify_db_instance.rb b/lib/fog/aws/requests/rds/modify_db_instance.rb index e4197e6467..1876c9a73f 100644 --- a/lib/fog/aws/requests/rds/modify_db_instance.rb +++ b/lib/fog/aws/requests/rds/modify_db_instance.rb @@ -56,7 +56,7 @@ def modify_db_instance(db_name, apply_immediately, _options={}) self.data[:modify_time] = Time.now # TODO verify the params options # if apply_immediately is false, all the options go to pending_modified_values and then apply and clear after either - # a reboot or the maintainance window + # a reboot or the maintenance window #if apply_immediately # modified_server = server.merge(options) #else diff --git a/lib/fog/aws/requests/rds/modify_db_parameter_group.rb b/lib/fog/aws/requests/rds/modify_db_parameter_group.rb index 3e9827172e..6f7a13eea0 100644 --- a/lib/fog/aws/requests/rds/modify_db_parameter_group.rb +++ b/lib/fog/aws/requests/rds/modify_db_parameter_group.rb @@ -10,7 +10,7 @@ class Real # * DBParameterGroupName <~String> - name of the parameter group # * Parameters<~Array> - Array of up to 20 Hashes describing parameters to set # * 'ParameterName'<~String> - parameter name. - # * 'ParameterValue'<~String> - new paremeter value + # * 'ParameterValue'<~String> - new parameter value # * 'ApplyMethod'<~String> - immediate | pending-reboot whether to set the parameter immediately or not (may require an instance restart) # # ==== Returns diff --git a/lib/fog/aws/requests/ses/send_raw_email.rb b/lib/fog/aws/requests/ses/send_raw_email.rb index 1a9265471d..9ac3466d92 100644 --- a/lib/fog/aws/requests/ses/send_raw_email.rb +++ b/lib/fog/aws/requests/ses/send_raw_email.rb @@ -9,7 +9,7 @@ class Real # ==== Parameters # * RawMessage <~String> - The message to be sent. # * Options <~Hash> - # * Source <~String> - The sender's email address. Takes precenence over Return-Path if specified in RawMessage + # * Source <~String> - The sender's email address. Takes precedence over Return-Path if specified in RawMessage # * Destinations <~Array> - All destinations for this email. # # ==== Returns diff --git a/lib/fog/aws/requests/sqs/change_message_visibility.rb b/lib/fog/aws/requests/sqs/change_message_visibility.rb index c748067955..acebdf12f5 100644 --- a/lib/fog/aws/requests/sqs/change_message_visibility.rb +++ b/lib/fog/aws/requests/sqs/change_message_visibility.rb @@ -8,7 +8,7 @@ class Real # # ==== Parameters # * queue_url<~String> - Url of queue for message to update - # * receipt_handle<~String> - Token from previous recieve message + # * receipt_handle<~String> - Token from previous receive message # * visibility_timeout<~Integer> - New visibility timeout in 0..43200 # # ==== See Also diff --git a/lib/fog/aws/requests/sqs/delete_message.rb b/lib/fog/aws/requests/sqs/delete_message.rb index e1a2b873e1..eb474a569f 100644 --- a/lib/fog/aws/requests/sqs/delete_message.rb +++ b/lib/fog/aws/requests/sqs/delete_message.rb @@ -8,7 +8,7 @@ class Real # # ==== Parameters # * queue_url<~String> - Url of queue to delete message from - # * receipt_handle<~String> - Token from previous recieve message + # * receipt_handle<~String> - Token from previous receive message # # ==== See Also # http://docs.amazonwebservices.com/AWSSimpleQueueService/latest/APIReference/Query_QueryDeleteMessage.html diff --git a/lib/fog/aws/requests/storage/copy_object.rb b/lib/fog/aws/requests/storage/copy_object.rb index d7c2c4c9e8..f1b0a5f33c 100644 --- a/lib/fog/aws/requests/storage/copy_object.rb +++ b/lib/fog/aws/requests/storage/copy_object.rb @@ -17,7 +17,7 @@ class Real # @option options [Time] x-amz-copy_source-if-modified_since Copies object it it has been modified since this time # @option options [String] x-amz-copy_source-if-none-match Copies object if its etag does not match this value # @option options [Time] x-amz-copy_source-if-unmodified-since Copies object it it has not been modified since this time - # @option options [String] x-amz-storage-class Default is 'STANDARD', set to 'REDUCED_REDUNDANCY' for non-critical, reproducable data + # @option options [String] x-amz-storage-class Default is 'STANDARD', set to 'REDUCED_REDUNDANCY' for non-critical, reproducible data # # # @return [Excon::Response] diff --git a/lib/fog/aws/requests/storage/get_bucket.rb b/lib/fog/aws/requests/storage/get_bucket.rb index 5f4ab5095f..631f036b1b 100644 --- a/lib/fog/aws/requests/storage/get_bucket.rb +++ b/lib/fog/aws/requests/storage/get_bucket.rb @@ -9,7 +9,7 @@ class Real # @param bucket_name [String] name of bucket to list object keys from # @param options [Hash] config arguments for list. Defaults to {}. # @option options delimiter [String] causes keys with the same string between the prefix - # value and the first occurence of delimiter to be rolled up + # value and the first occurrence of delimiter to be rolled up # @option options marker [String] limits object keys to only those that appear # lexicographically after its value. # @option options max-keys [Integer] limits number of object keys returned @@ -17,7 +17,7 @@ class Real # # @return [Excon::Response] response: # * body [Hash]: - # * Delimeter [String] - Delimiter specified for query + # * Delimiter [String] - Delimiter specified for query # * IsTruncated [Boolean] - Whether or not the listing is truncated # * Marker [String]- Marker specified for query # * MaxKeys [Integer] - Maximum number of keys specified for query diff --git a/lib/fog/aws/requests/storage/get_bucket_object_versions.rb b/lib/fog/aws/requests/storage/get_bucket_object_versions.rb index 466c698df1..eca0314b45 100644 --- a/lib/fog/aws/requests/storage/get_bucket_object_versions.rb +++ b/lib/fog/aws/requests/storage/get_bucket_object_versions.rb @@ -8,7 +8,7 @@ class Real # # @param bucket_name [String] name of bucket to list object keys from # @param options [Hash] config arguments for list - # @option options delimiter [String] causes keys with the same string between the prefix value and the first occurence of delimiter to be rolled up + # @option options delimiter [String] causes keys with the same string between the prefix value and the first occurrence of delimiter to be rolled up # @option options key-marker [String] limits object keys to only those that appear lexicographically after its value. # @option options max-keys [Integer] limits number of object keys returned # @option options prefix [String] limits object keys to those beginning with its value. @@ -16,7 +16,7 @@ class Real # # @return [Excon::Response] response: # * body [Hash]: - # * Delimeter [String] - Delimiter specified for query + # * Delimiter [String] - Delimiter specified for query # * KeyMarker [String] - Key marker specified for query # * MaxKeys [Integer] - Maximum number of keys specified for query # * Name [String] - Name of the bucket diff --git a/lib/fog/aws/requests/storage/list_parts.rb b/lib/fog/aws/requests/storage/list_parts.rb index 326f222f99..98a8dd73f1 100644 --- a/lib/fog/aws/requests/storage/list_parts.rb +++ b/lib/fog/aws/requests/storage/list_parts.rb @@ -21,7 +21,7 @@ class Real # * ID [String] Id of upload initiator # * IsTruncated [Boolean] Whether or not the listing is truncated # * Key [String] Key where multipart upload was initiated - # * MaxParts [String] maximum number of replies alllowed in response + # * MaxParts [String] maximum number of replies allowed in response # * NextPartNumberMarker [String] last item in list, for further pagination # * Part [Array]: # * ETag [String] ETag of part diff --git a/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb b/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb index 6da814b6d7..7d11aad631 100644 --- a/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb +++ b/lib/fog/aws/requests/storage/put_bucket_lifecycle.rb @@ -47,7 +47,7 @@ def put_bucket_lifecycle(bucket_name, lifecycle) if rule['NoncurrentVersionExpiration']['NoncurrentDays'] NoncurrentVersionExpiration { NoncurrentDays rule['NoncurrentVersionExpiration']['NoncurrentDays'] } elsif rule['NoncurrentVersionExpiration']['Date'] - NoncurrentVersoinExpiration { + NoncurrentVersionExpiration { if Date rule['NoncurrentVersionExpiration']['Date'].is_a?(Time) rule['NoncurrentVersionExpiration']['Date'].utc.iso8601 else diff --git a/lib/fog/aws/requests/storage/put_bucket_notification.rb b/lib/fog/aws/requests/storage/put_bucket_notification.rb index 70f6e99102..abf007de5e 100644 --- a/lib/fog/aws/requests/storage/put_bucket_notification.rb +++ b/lib/fog/aws/requests/storage/put_bucket_notification.rb @@ -5,7 +5,7 @@ class Real # Change notification configuration for an S3 bucket # # @param bucket_name [String] name of bucket to set notification configuration for - # * notications [Hash]: + # * notifications [Hash]: # * Topics [Array] SNS topic configurations for the notification # * ID [String] Unique identifier for the configuration # * Topic [String] Amazon SNS topic ARN to which Amazon S3 will publish a message when it detects events of specified type diff --git a/lib/fog/aws/requests/storage/put_object.rb b/lib/fog/aws/requests/storage/put_object.rb index 767dfc4b85..f712b72d7e 100644 --- a/lib/fog/aws/requests/storage/put_object.rb +++ b/lib/fog/aws/requests/storage/put_object.rb @@ -16,7 +16,7 @@ class Real # @option options Content-Type [String] Standard MIME type describing contents (defaults to MIME::Types.of.first) # @option options Expires [String] Cache expiry # @option options x-amz-acl [String] Permissions, must be in ['private', 'public-read', 'public-read-write', 'authenticated-read'] - # @option options x-amz-storage-class [String] Default is 'STANDARD', set to 'REDUCED_REDUNDANCY' for non-critical, reproducable data + # @option options x-amz-storage-class [String] Default is 'STANDARD', set to 'REDUCED_REDUNDANCY' for non-critical, reproducible data # @option options x-amz-meta-#{name} Headers to be returned with object, note total size of request without body must be less than 8 KB. Each name, value pair must conform to US-ASCII. # @option options x-amz-server-side-encryption [String] Sets HTTP header for server-side encryption. Set to 'AES256' for SSE-S3 and SSE-C. Set to 'aws:kms' for SSE-KMS # @option options x-amz-server-side​-encryption​-customer-algorithm [String] Algorithm to use to when encrypting the object for SSE-C. diff --git a/lib/fog/aws/requests/storage/upload_part_copy.rb b/lib/fog/aws/requests/storage/upload_part_copy.rb index 81998430eb..d902566b55 100644 --- a/lib/fog/aws/requests/storage/upload_part_copy.rb +++ b/lib/fog/aws/requests/storage/upload_part_copy.rb @@ -35,7 +35,7 @@ class Real # @option options [Time] x-amz-copy_source-if-modified_since Copies object it it has been modified since this time # @option options [String] x-amz-copy_source-if-none-match Copies object if its etag does not match this value # @option options [Time] x-amz-copy_source-if-unmodified-since Copies object it it has not been modified since this time - # @option options [Time] x-amz-copy-source-range Specifes the range of bytes to copy from the source object + # @option options [Time] x-amz-copy-source-range Specifies the range of bytes to copy from the source object # # @return [Excon::Response] # * body [Hash]: diff --git a/tests/helpers/model_helper.rb b/tests/helpers/model_helper.rb index 5e1d74eef8..85d8f4980b 100644 --- a/tests/helpers/model_helper.rb +++ b/tests/helpers/model_helper.rb @@ -21,7 +21,7 @@ def model_tests(collection, params = {}, mocks_implemented = true) # Generates a unique identifier with a random differentiator. # Useful when rapidly re-running tests, so we don't have to wait -# serveral minutes for deleted objects to disappear from the API +# several minutes for deleted objects to disappear from the API # E.g. 'fog-test-1234' def uniq_id(base_name = 'fog-test') # random_differentiator diff --git a/tests/models/elasticache/subnet_groups_tests.rb b/tests/models/elasticache/subnet_groups_tests.rb index 82afcc044a..49cc1f6dc9 100644 --- a/tests/models/elasticache/subnet_groups_tests.rb +++ b/tests/models/elasticache/subnet_groups_tests.rb @@ -1,7 +1,7 @@ Shindo.tests('AWS::Elasticache | subnet group', ['aws', 'elasticache']) do # random_differentiator # Useful when rapidly re-running tests, so we don't have to wait - # serveral minutes for deleted VPCs/subnets to disappear + # several minutes for deleted VPCs/subnets to disappear suffix = rand(65536).to_s(16) @subnet_group_name = "fog-test-#{suffix}" diff --git a/tests/requests/cdn/cdn_tests.rb b/tests/requests/cdn/cdn_tests.rb index 708f4c637e..daff152225 100644 --- a/tests/requests/cdn/cdn_tests.rb +++ b/tests/requests/cdn/cdn_tests.rb @@ -4,7 +4,7 @@ tests('distributions success') do - test('get current ditribution list count') do + test('get current distribution list count') do @count= 0 response = @cf_connection.get_distribution_list @@ -148,7 +148,7 @@ tests('streaming distributions success') do - test('get current streaming ditribution list count') do + test('get current streaming distribution list count') do @count= 0 response = @cf_connection.get_streaming_distribution_list diff --git a/tests/requests/compute/address_tests.rb b/tests/requests/compute/address_tests.rb index bc54be9b4c..be9598bd5c 100644 --- a/tests/requests/compute/address_tests.rb +++ b/tests/requests/compute/address_tests.rb @@ -59,7 +59,7 @@ compute.associate_address({:instance_id=>@server.identity,:public_ip=> @public_ip}).body end - tests("#dissassociate_address('#{@public_ip}')").formats(AWS::Compute::Formats::BASIC) do + tests("#disassociate_address('#{@public_ip}')").formats(AWS::Compute::Formats::BASIC) do compute.disassociate_address(@public_ip).body end diff --git a/tests/requests/compute/route_tests.rb b/tests/requests/compute/route_tests.rb index 450315d04d..0dff229c14 100644 --- a/tests/requests/compute/route_tests.rb +++ b/tests/requests/compute/route_tests.rb @@ -195,11 +195,11 @@ # Tests create_route # - no parameters - # - passing a nonexisiting route table and an exisiting internet gateway + # - passing a nonexisiting route table and an existing internet gateway # - passing a nonexisiting internet gateway - # - passing a nonexisting route table and an exisiting instance + # - passing a nonexisting route table and an existing instance # - passing a nonexisiting instance - # - passing a nonexsiting route table and an exisiting network interface + # - passing a nonexsiting route table and an existing network interface # - passing a nonexisiting network interface # - attempting to add a route at the same destination cidr block as another # - attempting to add a route at a less specific destination cidr block @@ -238,11 +238,11 @@ # Tests replace_route # - no parameters - # - passing a nonexisiting route table and an exisiting internet gateway + # - passing a nonexisiting route table and an existing internet gateway # - passing a nonexisiting route table - # - passing a nonexisting route table and an exisiting instance + # - passing a nonexisting route table and an existing instance # - passing a nonexisiting instance - # - passing a nonexsiting route table and an exisiting network interface + # - passing a nonexsiting route table and an existing network interface # - passing a nonexisiting network interface # - attempting to add a route at a less specific destination cidr block # diff --git a/tests/requests/elasticache/cache_cluster_tests.rb b/tests/requests/elasticache/cache_cluster_tests.rb index 985f23c334..ba90e4abff 100644 --- a/tests/requests/elasticache/cache_cluster_tests.rb +++ b/tests/requests/elasticache/cache_cluster_tests.rb @@ -4,7 +4,7 @@ # Randomize the cluster ID so tests can be fequently re-run CLUSTER_ID = "fog-test-cluster-#{rand(999).to_s}" # 20 chars max! - NUM_NODES = 2 # Must be > 1, because one of the tests reomves a node! + NUM_NODES = 2 # Must be > 1, because one of the tests removes a node! tests( '#create_cache_cluster' diff --git a/tests/requests/elasticache/subnet_group_tests.rb b/tests/requests/elasticache/subnet_group_tests.rb index 6493f995cf..c31219cb4c 100644 --- a/tests/requests/elasticache/subnet_group_tests.rb +++ b/tests/requests/elasticache/subnet_group_tests.rb @@ -1,7 +1,7 @@ Shindo.tests('AWS::Elasticache | subnet group requests', ['aws', 'elasticache']) do # random_differentiator # Useful when rapidly re-running tests, so we don't have to wait - # serveral minutes for deleted VPCs/subnets to disappear + # several minutes for deleted VPCs/subnets to disappear suffix = rand(65536).to_s(16) @subnet_group_name = "fog-test-#{suffix}" diff --git a/tests/requests/elb/listener_tests.rb b/tests/requests/elb/listener_tests.rb index c7b4e88b65..72ff6d32e3 100644 --- a/tests/requests/elb/listener_tests.rb +++ b/tests/requests/elb/listener_tests.rb @@ -20,9 +20,9 @@ Fog::AWS[:elb].delete_load_balancer_listeners(@load_balancer_id, ports).body end - tests("#create_load_balancer_listeners with non-existant SSL certificate") do + tests("#create_load_balancer_listeners with non-existent SSL certificate") do listeners = [ - {'Protocol' => 'HTTPS', 'InstanceProtocol' => 'HTTPS', 'LoadBalancerPort' => 443, 'InstancePort' => 443, 'SSLCertificateId' => 'non-existant'}, + {'Protocol' => 'HTTPS', 'InstanceProtocol' => 'HTTPS', 'LoadBalancerPort' => 443, 'InstancePort' => 443, 'SSLCertificateId' => 'non-existent'}, ] raises(Fog::AWS::IAM::NotFound) { Fog::AWS[:elb].create_load_balancer_listeners(@load_balancer_id, listeners) } end diff --git a/tests/requests/elb/load_balancer_tests.rb b/tests/requests/elb/load_balancer_tests.rb index 66d64c7d6a..b5216b85bc 100644 --- a/tests/requests/elb/load_balancer_tests.rb +++ b/tests/requests/elb/load_balancer_tests.rb @@ -76,8 +76,8 @@ Fog::AWS[:elb].delete_load_balancer(@load_balancer_id).body end - tests("#delete_load_balancer when non existant").formats(AWS::ELB::Formats::DELETE_LOAD_BALANCER) do - Fog::AWS[:elb].delete_load_balancer('non-existant').body + tests("#delete_load_balancer when non existent").formats(AWS::ELB::Formats::DELETE_LOAD_BALANCER) do + Fog::AWS[:elb].delete_load_balancer('non-existent').body end tests("#delete_load_balancer when already deleted").formats(AWS::ELB::Formats::DELETE_LOAD_BALANCER) do diff --git a/tests/requests/iam/versioned_managed_policy_tests.rb b/tests/requests/iam/versioned_managed_policy_tests.rb index 87f719b9bc..909170c028 100644 --- a/tests/requests/iam/versioned_managed_policy_tests.rb +++ b/tests/requests/iam/versioned_managed_policy_tests.rb @@ -43,7 +43,7 @@ 'PolicyVersion' => [versioned_policy_format] } - policy_verions_format = { + policy_versions_format = { 'CreateDate' => Time, 'IsDefaultVersion' => Fog::Boolean, 'VersionId' => String @@ -51,7 +51,7 @@ list_policy_versions_format = { 'RequestId' => String, - 'Versions' => [policy_verions_format], + 'Versions' => [policy_versions_format], 'Marker' => String, 'IsTruncated' => Fog::Boolean } diff --git a/tests/requests/rds/helper.rb b/tests/requests/rds/helper.rb index bccad7bf5e..c71ded7255 100644 --- a/tests/requests/rds/helper.rb +++ b/tests/requests/rds/helper.rb @@ -165,7 +165,7 @@ module Formats 'BackupRetentionPeriod' => Integer, 'CACertificateIdentifier' => String, 'CharacterSetName' => Fog::Nullable::String, - 'DBClusterIndentifier' => Fog::Nullable::String, + 'DBClusterIdentifier' => Fog::Nullable::String, 'DbiResourceId' => Fog::Nullable::String, 'DBInstanceClass' => String, 'DBInstanceIdentifier' => String, diff --git a/tests/requests/rds/instance_tests.rb b/tests/requests/rds/instance_tests.rb index 60ac62fd0a..3ac1f497e0 100644 --- a/tests/requests/rds/instance_tests.rb +++ b/tests/requests/rds/instance_tests.rb @@ -2,7 +2,7 @@ # random_differentiator # Useful when rapidly re-running tests, so we don't have to wait - # serveral minutes for deleted servers to disappear + # several minutes for deleted servers to disappear suffix = rand(65536).to_s(16) @db_instance_id = "fog-test-#{suffix}" diff --git a/tests/requests/rds/subnet_groups_tests.rb b/tests/requests/rds/subnet_groups_tests.rb index f85b2be0b5..7eff598258 100644 --- a/tests/requests/rds/subnet_groups_tests.rb +++ b/tests/requests/rds/subnet_groups_tests.rb @@ -1,7 +1,7 @@ Shindo.tests('AWS::RDS | subnet group requests', ['aws', 'rds']) do # random_differentiator # Useful when rapidly re-running tests, so we don't have to wait - # serveral minutes for deleted VPCs/subnets to disappear + # several minutes for deleted VPCs/subnets to disappear suffix = rand(65536).to_s(16) @subnet_group_name = "fog-test-#{suffix}" diff --git a/tests/requests/storage/bucket_tests.rb b/tests/requests/storage/bucket_tests.rb index 4f871e4b00..d6a22923e5 100644 --- a/tests/requests/storage/bucket_tests.rb +++ b/tests/requests/storage/bucket_tests.rb @@ -225,7 +225,7 @@ pending if Fog.mocking? lifecycle = {'Rules' => [{'ID' => 'test rule', 'Prefix' => '/prefix', 'Enabled' => true, 'Days' => 42}]} - tests('non-existant bucket') do + tests('non-existent bucket') do tests('#put_bucket_lifecycle').returns([404, 'NoSuchBucket']) do begin Fog::Storage[:aws].put_bucket_lifecycle('fognonbucket', lifecycle)