mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Use MultiJSON #dump and #load rather than #encode and #decode
MultiJSON deprecated these methods in 1.3.0 in favour of the new ones. This requires an update to the gemspec to ensure ~>1.3
This commit is contained in:
parent
7ec382cf36
commit
d89dd56fe7
125 changed files with 143 additions and 143 deletions
|
|
@ -121,7 +121,7 @@ module Fog
|
|||
%{mkdir .ssh},
|
||||
%{echo "#{public_key}" >> ~/.ssh/authorized_keys},
|
||||
%{passwd -l #{username}},
|
||||
%{echo "#{MultiJson.encode(attributes)}" >> ~/attributes.json},
|
||||
%{echo "#{MultiJson.dump(attributes)}" >> ~/attributes.json},
|
||||
])
|
||||
rescue Errno::ECONNREFUSED
|
||||
sleep(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue