Sha256: 35a7e9e2262df57b0c88cfcb0ee3cadb9f5908959780146ebcac9179a43dcace

Contents?: true

Size: 179 Bytes

Versions: 3

Compression:

Stored size: 179 Bytes

Contents

#!/usr/bin/env ruby

if ARGV.size < 2
  puts "usage: parsepac pac-url-or-file url-to-test"
  exit 1
else
  require "pac"
  puts PAC.load(ARGV.shift).find(ARGV.shift)
  exit 0
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
proxy_pac_rb-0.0.3 bin/parsepac
proxy_pac_rb-0.0.2 bin/parsepac
pac-1.0.0 bin/parsepac