mirror of
https://github.com/rest-client/rest-client.git
synced 2022-11-09 13:49:40 -05:00
Call File.expand_path to expand ~ in ~/.restclientrc
This commit is contained in:
parent
723b8e38df
commit
5e14cebb95
2 changed files with 2 additions and 1 deletions
|
@ -77,7 +77,7 @@ if File.exists? ".irbrc"
|
|||
ENV['IRBRC'] = ".irbrc"
|
||||
end
|
||||
|
||||
if File.exists?(rcfile = "~/.restclientrc")
|
||||
if File.exists?( File.expand_path(rcfile = "~/.restclientrc") )
|
||||
load(rcfile)
|
||||
end
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
- only converts headers keys which are Symbols
|
||||
- use CGI for cookie parsing instead of custom code
|
||||
- unescape user and password before using them (patch provided by Lars Gierth)
|
||||
- expand ~ in ~/.restclientrc (patch provided by Mike Fletcher)
|
||||
|
||||
# 1.5.0
|
||||
|
||||
|
|
Loading…
Reference in a new issue