1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
fog--fog-aws/lib/fog/aws/models/compute
Jacob Burkhart 4abac8e454 Security Group perms of FromPort 0 and ToPort -1
Fix generation of the FromPort and ToPort paramters when authorizing or
revoking permissions on a security group.

Using `min` and `max` to get the parts of a range can somtimes return
nil, using `begin` and `end` will always return the actual values the
range was created with

Example: `(0..-1).min` is nil and `(0..-1).max` is also nil

Error message from AWS would be:

Invalid value 'Must specify both from and to ports with ICMP.' for
portRange
2016-02-09 12:23:47 -08:00
..
address.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
addresses.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
dhcp_option.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
dhcp_options.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
flavor.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
flavors.rb add t2.large 2015-06-17 08:28:54 -07:00
image.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
images.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
internet_gateway.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
internet_gateways.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
key_pair.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
key_pairs.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
network_acl.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
network_acls.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
network_interface.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
network_interfaces.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
route_table.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
route_tables.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
security_group.rb Security Group perms of FromPort 0 and ToPort -1 2016-02-09 12:23:47 -08:00
security_groups.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
server.rb make net/ssh require optional 2015-11-11 10:48:22 -06:00
servers.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
snapshot.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
snapshots.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
spot_request.rb working tests 2015-01-02 09:42:20 -08:00
spot_requests.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
subnet.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
subnets.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
tag.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
tags.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
volume.rb volume#key_id and encrypted tests 2015-08-06 16:10:37 -07:00
volumes.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
vpc.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00
vpcs.rb Remove unecessary requires 2015-04-06 11:23:35 -03:00