Sha256: c2bcf1be2857e57a9d0fc86646311e080b6888aff25deeaa7e2e3242a3505ac7
Contents?: true
Size: 599 Bytes
Versions: 5
Compression:
Stored size: 599 Bytes
Contents
=eat Instead of require 'open-uri' open('http://169.254.169.254/latest/meta-data/security-groups').gets open('/home/seamus/foo.txt').gets Try require 'eat' eat('http://169.254.169.254/latest/meta-data/security-groups') eat('/home/seamus/foo.txt') ==Global configuration ::Eat.config.remote_timeout = 10 #seconds ==Supported schemas * local filesystem (it will try to use <tt>sudo</tt> if it can't read the file) * http (the timeout is 2 seconds) * https (it won't check the SSL certificate... if you want security, don't use this!) Copyright 2011 Seamus Abshere
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
eat-0.0.7 | README.rdoc |
eat-0.0.6 | README.rdoc |
eat-0.0.5 | README.rdoc |
eat-0.0.4 | README.rdoc |
eat-0.0.3 | README.rdoc |