RubySSPI 0.0.2 - Enabling Windows NTLM/Negotiate proxy authe

= 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):

  1. Download the gem via rubyforge:
    http://rubyforge.org/frs/download.php/11657/rubysspi-0.0.1-i386-mswin32.gem
  2. Install
  3. Copy spa.rb from the rubysspi gem directory to your site_ruby\1.8
    directory
  4. set your http_proxy environment variable (e.g.
    http://proxy.corp.com:8080)
  5. 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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs