README.md in proxifier-fork-1.0.4 vs README.md in proxifier-fork-1.1.0

- old
+ new

@@ -1,19 +1,30 @@ # ruby-proxifier +## Fork status + +This is a fork of https://github.com/samuelkadolph/ruby-proxifier + +Changes in the fork: + +- **v1.1.0:** Fix schemes to work with Ruby >= 3.1. Remove use of autoload. + +- **v1.0.4:** Allow customizing HTTP User-Agent header sent when connecting to + proxy. + ## Installing ### Recommended ``` -gem install proxifier +gem install proxifier-fork ``` ### Edge ``` -git clone https://github.com/samuelkadolph/ruby-proxifier +git clone https://github.com/ab/ruby-proxifier cd ruby-proxifier && rake install ``` ## Rationale @@ -74,10 +85,10 @@ </table> ### Ruby ```ruby -require "proxifier/proxy" +require "proxifier" proxy = Proxifier::Proxy("socks://localhost") socket = proxy.open("www.google.com", 80) socket << "GET / HTTP/1.1\r\nHost: www.google.com\r\n\r\n" socket.gets # => "HTTP/1.1 200 OK\r\n"