From 05a3fd233ec1ac4475bd797449d1284f6824c005 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 1 Mar 2011 20:41:28 -0500 Subject: v3: ruby 1.9 hash symbol syntax adopted --- lib/sisu/v3/git.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'lib/sisu/v3/git.rb') diff --git a/lib/sisu/v3/git.rb b/lib/sisu/v3/git.rb index 39914480..f5fae44b 100644 --- a/lib/sisu/v3/git.rb +++ b/lib/sisu/v3/git.rb @@ -87,16 +87,16 @@ module SiSU_Git #end lng=(@md.opt.f_pth[:lng]) ? (@md.opt.f_pth[:lng]) : (@md.i18n[0]) @git_path={ - :fnb=> git_path_fnb, - :src=> git_path_fnb + '/' + Gt[:src] + '/' + lng, - :po=> git_path_fnb + '/' + Gt[:po] + '/' + lng, - :pot=> git_path_fnb + '/' + Gt[:pot], - :conf=> git_path_fnb + '/' + Gt[:conf], - :skin=> git_path_fnb + '/' + Gt[:skin], - :image=>git_path_fnb + '/' + Gt[:image], - :audio=>git_path_fnb + '/' + Gt[:audio], - :video=>git_path_fnb + '/' + Gt[:video], - :conf=> git_path_fnb + '/' + Gt[:conf] + fnb: git_path_fnb, + src: git_path_fnb + '/' + Gt[:src] + '/' + lng, + po: git_path_fnb + '/' + Gt[:po] + '/' + lng, + pot: git_path_fnb + '/' + Gt[:pot], + conf: git_path_fnb + '/' + Gt[:conf], + skin: git_path_fnb + '/' + Gt[:skin], + image: git_path_fnb + '/' + Gt[:image], + audio: git_path_fnb + '/' + Gt[:audio], + video: git_path_fnb + '/' + Gt[:video], + conf: git_path_fnb + '/' + Gt[:conf] } SiSU_DAL::Source.new(@opt).read # -m end @@ -239,7 +239,7 @@ module SiSU_Git if FileTest.file?(skin) cp_r(skin,"#{@git_path[:conf]}/skin") end - {:skin =>skin, :images =>images} + { skin: skin, images: images } end def sisuyaml_rc sisurc=@env.path.sisurc_path -- cgit v1.2.3