1
0
Fork 0
mirror of https://github.com/fog/fog-aws.git synced 2022-11-09 13:50:52 -05:00
Commit graph

4 commits

Author SHA1 Message Date
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
Paulo Henrique Lopes Ribeiro
722bbdfa45 Remove unecessary requires 2015-04-06 11:23:35 -03:00
Josh Lane
dcfd354b8a working tests 2015-01-02 09:42:20 -08:00
Josh Lane
d48d376e9c initial import
* take the liberty of correcting Aws naming
2014-12-31 09:17:51 -08:00