null+****@clear*****
null+****@clear*****
Tue Jun 19 16:33:22 JST 2012
SUZUKI Miho 2012-06-19 16:33:22 +0900 (Tue, 19 Jun 2012) New Revision: 832d19c884f45030e900d1ede5dc4167596a3ee1 https://github.com/logaling/logaling-command/commit/832d19c884f45030e900d1ede5dc4167596a3ee1 Log: Change method name imported_projects to imported_project_paths Modified files: lib/logaling/repository.rb Modified: lib/logaling/repository.rb (+3 -3) =================================================================== --- lib/logaling/repository.rb 2012-06-19 16:31:08 +0900 (287744a) +++ lib/logaling/repository.rb 2012-06-19 16:33:22 +0900 (8f1157d) @@ -82,7 +82,7 @@ module Logaling projects = registered_project_paths.map do |project_path| Logaling::Project.new(project_path, self) end - projects += imported_glossaries.map do |imported_project_path| + projects += imported_glossary_paths.map do |imported_project_path| Logaling::ImportedProject.new(imported_project_path, self) end projects.sort_by(&:path) @@ -114,7 +114,7 @@ module Logaling end def glossary_counts - [registered_project_paths, imported_glossaries].map(&:size).inject(&:+) + [registered_project_paths, imported_glossary_paths].map(&:size).inject(&:+) end def config_path @@ -152,7 +152,7 @@ module Logaling Dir[File.join(logaling_projects_path, "*")] end - def imported_glossaries + def imported_glossary_paths Dir[File.join(cache_path, "*")] end end -------------- next part -------------- An HTML attachment was scrubbed...Download