SHIMADA Koji
null+****@clear*****
Wed Nov 21 15:52:40 JST 2012
SHIMADA Koji 2012-11-21 15:52:40 +0900 (Wed, 21 Nov 2012) New Revision: db0fa206fb3891b1d5337424d3d23967f8c7d6a7 https://github.com/logaling/logaling-command/commit/db0fa206fb3891b1d5337424d3d23967f8c7d6a7 Log: Rename FileBasedProject#expand_path to #absolute_path Modified files: lib/logaling/command/application.rb lib/logaling/project.rb Modified: lib/logaling/command/application.rb (+1 -1) =================================================================== --- lib/logaling/command/application.rb 2012-11-21 15:41:32 +0900 (962e85f) +++ lib/logaling/command/application.rb 2012-11-21 15:52:40 +0900 (e1a2620) @@ -90,7 +90,7 @@ module Logaling::Command else raise Logaling::CommandFailed, "[TARGET-LANGUAGE] is required when you use '--personal'" unless target_language personal_project =****@repos*****_personal_project(project_name, source_language, target_language) - say "Successfully created #{personal_project.expand_path}" + say "Successfully created #{personal_project.absolute_path}" end rescue Logaling::CommandFailed => e say e.message Modified: lib/logaling/project.rb (+2 -2) =================================================================== --- lib/logaling/project.rb 2012-11-21 15:41:32 +0900 (f44ccdb) +++ lib/logaling/project.rb 2012-11-21 15:52:40 +0900 (c64881f) @@ -133,10 +133,10 @@ module Logaling glossary_source_language == source_language && glossary_target_language == target_language end - def expand_path + def absolute_path @repository.expand_path(@path) end - alias_method :glossary_source_path, :expand_path + alias_method :glossary_source_path, :absolute_path def normal_project? false -------------- next part -------------- An HTML attachment was scrubbed... ダウンロード