SUZUKI Miho
null+****@clear*****
Wed Nov 21 11:52:25 JST 2012
SUZUKI Miho 2012-11-21 11:52:25 +0900 (Wed, 21 Nov 2012) New Revision: 8325cc4c6d42d147cdc4120d41f5f866ff03b17b https://github.com/logaling/logaling-command/commit/8325cc4c6d42d147cdc4120d41f5f866ff03b17b Merged 6a87d99: Merge pull request #90 from logaling/change-glossarysourcepath-fullpath-to-relativepath Log: Initialize glossary file first... Modified files: spec/logaling/glossary_spec.rb Modified: spec/logaling/glossary_spec.rb (+1 -0) =================================================================== --- spec/logaling/glossary_spec.rb 2012-11-21 03:44:37 +0900 (dc5bf28) +++ spec/logaling/glossary_spec.rb 2012-11-21 11:52:25 +0900 (53ed93d) @@ -32,6 +32,7 @@ module Logaling FileUtils.rm_rf(File.join(logaling_home, 'projects', 'spec'), :secure => true) FileUtils.mkdir_p(File.join(logaling_home, 'projects', 'spec', 'glossary')) FileUtils.touch(glossary_source_path_full) + File.open(glossary_source_path_full, "w") {|f| f << YAML.dump([]) } # and clear db too glossary.index! end -------------- next part -------------- An HTML attachment was scrubbed... Descargar