= What’s New
A small release for my library, which now provides a file that can be
copied
into site_ruby and used to enable proxy authentication from the command
line
for any ruby script.
= Where to find it
Hosted on rubyforge:
http://rubyforge.org/projects/rubysspi/
Or via gem install:
gem install rubysspi
= What is it
Previously, if you had a proxy that required NTLM authentication you
needed
to direct all your ruby calls to a local proxy such as the APS NTLM
proxy (
http://ntlmaps.sourceforge.net/). This required you to enter your
password
into a file or on start up. WIth this gem, ruby libraries such as
open-uri
and net/http can directly access internet sites and you never have to
enter
your username or password into any configuration files.
= How to use
The file provided in this release is most useful for rubygems. To use
(assuming your rubygems is not working yet):
- Download the gem via rubyforge:
http://rubyforge.org/frs/download.php/11657/rubysspi-0.0.1-i386-mswin32.gem - Install
- Copy spa.rb from the rubysspi gem directory to your site_ruby\1.8
directory - set your http_proxy environment variable (e.g.
http://proxy.corp.com:8080) - Run rubygems:
ruby -rspa ‘C:\Program Files\ruby\bin\gem’ list --remote rubysspi
The adventerous can modify their gem.bat and gem.cmd files to include
this
library always, and then run the familiar gem commands directly.
Commants and feedback welcome!
Justin