lib/sifttter_redux/sifttter.rb in sifttter-redux-0.3.5 vs lib/sifttter_redux/sifttter.rb in sifttter-redux-0.3.6

- old
+ new

@@ -75,11 +75,11 @@ projects.push(project) end end if projects.length <=0 - CliMessage.warning('No entries found...') + CLIMessage.warning('No entries found...') end if projects.length > 0 entrytext = "# Things done on #{ date_for_title }\n\n" projects.each do |project| @@ -89,10 +89,10 @@ Dir.mkdir(Configuration['sifttter_redux']['dayone_local_filepath']) if !Dir.exists?(Configuration['sifttter_redux']['dayone_local_filepath']) fh = File.new(File.expand_path(Configuration['sifttter_redux']['dayone_local_filepath'] + '/' + uuid + '.doentry'), 'w+') fh.puts template.result(binding) fh.close - CliMessage.success("Entry logged for #{ date_for_title }...") + CLIMessage.success("Entry logged for #{ date_for_title }...") end end end end