aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/git.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-03-01 20:41:28 -0500
committerRalph Amissah <ralph@amissah.com>2011-03-01 20:41:28 -0500
commit05a3fd233ec1ac4475bd797449d1284f6824c005 (patch)
treefdd93c057196640ec4907f58f66cf5bc00dfbdf6 /lib/sisu/v3/git.rb
parentv3: use rb1.9.2 "require_relative" syntax (diff)
v3: ruby 1.9 hash symbol syntax adopted
Diffstat (limited to 'lib/sisu/v3/git.rb')
-rw-r--r--lib/sisu/v3/git.rb22
1 files changed, 11 insertions, 11 deletions
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