[logaling-commit] logaling/logaling-command [master] fix missing imported project in #projects

Back to archive index

null+****@clear***** null+****@clear*****
Thu Jun 28 12:02:32 JST 2012


SUZUKI Miho	2012-06-08 10:54:29 +0900 (Fri, 08 Jun 2012)

  New Revision: 705aa4b6fc102282ec4457e2a759d68f8ffad228
  https://github.com/logaling/logaling-command/commit/705aa4b6fc102282ec4457e2a759d68f8ffad228

  Merged 7228757: Merge pull request #60 from logaling/refactor-structure

  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
-------------- next part --------------
An HTML attachment was scrubbed...
下載 



More information about the logaling-commit mailing list
Back to archive index