Commit Graph

4 Commits

Author SHA1 Message Date
Pan Thomakos e1f625f9f2 Added Fog::CurrentMachine#ip_address.
This function allows you to get the ip address of the current machine. I
found this useful because I wanted to add my personal or production
machine to a specific RDS security group. The call is quite simple and
connects to amazon's checkip website. The class is threadsafe and I have
included specs with it as well. I have also added the
Fog::AWS::RDS::SecurityGroup#authorize_me function to make adding the
current machine to a given RDS security group very easy.
2011-08-17 14:35:03 -07:00
geemus b689650666 more attributes spec to tests, fix attribute names 2010-12-15 14:05:55 -08:00
Paul Thornthwaite 524a30918d [patch] When an attribute is an empty string, do not try and parse (and get current time)
* Spec to support handling empty strings when attribute is set to time.
2010-11-16 11:11:53 -08:00
Paul Thornthwaite d299ae1579 [patch] Change Model#attribute's :squash options to accept a String as well as a Symbol
* Spec to test "squashed" value patch
2010-11-16 11:11:52 -08:00