Readme.md in netrc-0.10.3 vs Readme.md in netrc-0.11.0

- old
+ new

@@ -1,9 +1,9 @@ # Netrc This library reads and writes -[`.netrc` files](http://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-File.html). +[`.netrc` files](http://www.gnu.org/software/inetutils/manual/html_node/The-_002enetrc-file.html). ## API Read a netrc file: @@ -11,13 +11,16 @@ If the file doesn't exist, Netrc.read will return an empty object. If the filename ends in ".gpg", it will be decrypted using [GPG](http://www.gnupg.org/). -Read the user's default netrc file. On Unix: `$HOME/.netrc`. -On Windows: `%HOME%\_netrc`, `%HOMEDRIVE%%HOMEPATH%\_netrc`, or `%USERPROFILE%\_netrc` (whichever is set first). +Read the user's default netrc file. +**On Unix:** `$NETRC/.netrc` or `$HOME/.netrc` (whichever is set first). + +**On Windows:** `%NETRC%\_netrc`, `%HOME%\_netrc`, `%HOMEDRIVE%%HOMEPATH%\_netrc`, or `%USERPROFILE%\_netrc` (whichever is set first). + n = Netrc.read Configure netrc to allow permissive files (with permissions other than 0600): Netrc.configure do |config| @@ -45,6 +48,6 @@ Have fun! ## Running Tests $ bundle install - $ bundle exec turn test + $ bundle exec ruby -e 'Dir.glob "./test/**/test_*.rb", &method(:require)'