Readme.md in netrc-0.7.7 vs Readme.md in netrc-0.7.8
- old
+ new
@@ -16,9 +16,15 @@
Read the user's default netrc file (`$HOME/.netrc` on Unix;
`%HOME%\_netrc` on Windows):
n = Netrc.read
+Configure netrc to allow permissive files (with permissions other than 0600):
+
+ Netrc.configure do |config|
+ config[:allow_permissive_netrc_file] = true
+ end
+
Look up a username and password:
user, pass = n["example.com"]
Write a username and password: