seancribbs/ripple — pull request #257 by czarneckid (2011-12-18 03:45:59+00:00)
Title: Add content_type to Basic Example.

Without the content_type, I get the following error as the initial object is created with a content type of application/json.

```
ruby-1.9.3-p0 :007 > object = bucket.get_or_new("index.html")
=> #
ruby-1.9.3-p0 :008 > object.data = "

Hello, world!

"
=> "

Hello, world!

"
ruby-1.9.3-p0 :009 > object.store
JSON::ParserError: 743: unexpected token at '"

Hello, world!

"'
from /Users/dczarnecki/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/json/common.rb:148:in `parse'
from /Users/dczarnecki/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/json/common.rb:148:in `parse'
from /Users/dczarnecki/.rvm/gems/ruby-1.9.3-p0@riak/gems/riak-client-0.9.8/lib/riak/robject.rb:222:in `deserialize'
from /Users/dczarnecki/.rvm/gems/ruby-1.9.3-p0@riak/gems/riak-client-0.9.8/lib/riak/robject.rb:106:in `data'
from /Users/dczarnecki/.rvm/gems/ruby-1.9.3-p0@riak/gems/riak-client-0.9.8/lib/riak/robject.rb:235:in `inspect'
from /Users/dczarnecki/.rvm/rubies/ruby-1.9.3-p0/bin/irb:16:in `

'
```