null+****@clear*****
null+****@clear*****
Fri Jun 8 10:54:29 JST 2012
SUZUKI Miho 2012-06-08 10:54:29 +0900 (Fri, 08 Jun 2012) New Revision: 705aa4b6fc102282ec4457e2a759d68f8ffad228 Log: fix missing imported project in #projects Modified files: lib/logaling/repository.rb Modified: lib/logaling/repository.rb (+2 -1) =================================================================== --- lib/logaling/repository.rb 2012-06-08 08:34:52 +0900 (f18a527) +++ lib/logaling/repository.rb 2012-06-08 10:54:29 +0900 (70f86b0) @@ -93,7 +93,8 @@ module Logaling end def projects - registered_projects.map do |project_name| + imported_projects = imported_glossaries.map {|path| get_glossary(path).shift} + (imported_projects | registered_projects).sort.map do |project_name| Logaling::Project.new(project_name) end end