Skip to content

Commit

Permalink
update to use new filestore api
Browse files Browse the repository at this point in the history
  • Loading branch information
mccraig mccraig of the clan mccraig committed Aug 12, 2010
1 parent f1958d8 commit 5615380
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sonar_imap_pull_connector/imap_pull_connector.rb
Expand Up @@ -81,7 +81,7 @@ def fetch_and_save(imap, msg_uid)
content = "#{headers}\n\n\n\n\n\n"
json = mail_to_json(content, Time.now)

complete.add(json, "#{msg_uid}")
filestore.write(:complete, "#{msg_uid}.json", json)
end

def mail_to_json(content, timestamp)
Expand Down
4 changes: 4 additions & 0 deletions spec/sonar_imap_pull_connector_spec.rb
@@ -0,0 +1,4 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "SonarImapPullConnector" do
end

0 comments on commit 5615380

Please sign in to comment.