readme.md in cmis-ruby-0.5 vs readme.md in cmis-ruby-0.5.1
- old
+ new
@@ -22,10 +22,10 @@
# or by unique property
document = repository.find_object('cmis:document',
'cmis:name' => 'some_unique_name')
# set document content
-document.content = { stream: StringIO.new('Apple is a fruit'),
+document.content = { stream: 'Apple is a fruit',
mime_type: 'text/plain',
filename: 'apple.txt' }
# create a new document
document = repository.new_document