[logaling-commit] logaling/logaling-command [master] Return right glossary_source_path in ImportedProject

Back to archive index

SUZUKI Miho null+****@clear*****
Thu Aug 9 17:49:24 JST 2012


SUZUKI Miho	2012-08-09 17:49:24 +0900 (Thu, 09 Aug 2012)

  New Revision: 67a1ff2dffe93e422197293afecc9654c7fa3991
  https://github.com/logaling/logaling-command/commit/67a1ff2dffe93e422197293afecc9654c7fa3991

  Merged 3c178f5: Merge pull request #74 from logaling/loga-new-no-project

  Log:
    Return right glossary_source_path in ImportedProject

  Modified files:
    lib/logaling/project.rb

  Modified: lib/logaling/project.rb (+4 -0)
===================================================================
--- lib/logaling/project.rb    2012-08-09 17:26:27 +0900 (3fefaa5)
+++ lib/logaling/project.rb    2012-08-09 17:49:24 +0900 (f646757)
@@ -87,6 +87,10 @@ module Logaling
       name, source_language, target_language, type = File.basename(@path).split(/\./)
       [GlossarySource.create(@path, glossary(source_language, target_language))]
     end
+
+    def glossary_source_path
+      File.dirname(@path)
+    end
   end
 
   class PersonalProject < Project
-------------- next part --------------
An HTML attachment was scrubbed...
Download 



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