null+****@clear*****
null+****@clear*****
Tue Jun 19 19:40:48 JST 2012
SUZUKI Miho 2012-06-19 19:40:48 +0900 (Tue, 19 Jun 2012) New Revision: 6c69452cc3d2f2016f8bd7de216c5471b07000ed https://github.com/logaling/logaling-command/commit/6c69452cc3d2f2016f8bd7de216c5471b07000ed Merged 7228757: Merge pull request #60 from logaling/refactor-structure Log: Change method name get_all_glossary_source to get_all_glossary_sources Modified files: lib/logaling/glossary_db.rb lib/logaling/repository.rb Modified: lib/logaling/glossary_db.rb (+1 -1) =================================================================== --- lib/logaling/glossary_db.rb 2012-06-19 19:38:58 +0900 (bd87624) +++ lib/logaling/glossary_db.rb 2012-06-19 19:40:48 +0900 (9557c05) @@ -228,7 +228,7 @@ module Logaling glossary.expression.close end - def get_all_glossary_source + def get_all_glossary_sources source_paths = Groonga["glossary_sources"].sort([ {:key=>"_key", :order=>'ascending'} ]).map{|record| record.key} Modified: lib/logaling/repository.rb (+1 -1) =================================================================== --- lib/logaling/repository.rb 2012-06-19 19:38:58 +0900 (40b7387) +++ lib/logaling/repository.rb 2012-06-19 19:40:48 +0900 (80f55da) @@ -100,7 +100,7 @@ module Logaling db.index_glossary(glossary, glossary_source) end end - (db.get_all_glossary_source - all_glossary_sources).each do |glossary_source| + (db.get_all_glossary_sources - all_glossary_sources).each do |glossary_source| glossary = glossary_source.glossary puts "now deindex #{glossary.name}..." db.deindex_glossary(glossary, glossary_source) -------------- next part -------------- An HTML attachment was scrubbed... 다운로드