cbeer/rubydora — Issue #11: Rubydora::Datastream#versionable acts like a string, not a real boolean
Author: mbklein
Created: 2012-02-22 21:36:57+00:00
State: open

The `versionable` property of `Rubydora::Datastream` provides/requires "true" or "false" as a string instead of accepting a real Ruby `true` or `false`

```ruby
1.8.7 :015 > obj = Dor::Item.load_instance 'druid:zm445fy5276'
=> #
1.8.7 :016 > ev = obj.datastreams['events']
=> #
1.8.7 :017 > ev.versionable
=> "true"
1.8.7 :018 > ev.send(:to_api_params)
=> {:mimeType=>"text/xml"}
1.8.7 :019 > ev.versionable = false
=> false
1.8.7 :020 > ev.versionable
=> "true"
1.8.7 :021 > ev.send(:to_api_params)
=> {:versionable=>"true", :mimeType=>"text/xml"}
1.8.7 :022 > ev.versionable = 'false'
=> "false"
1.8.7 :023 > ev.versionable
=> "false"
1.8.7 :024 > ev.send(:to_api_params)
=> {:versionable=>"false", :mimeType=>"text/xml"}
1.8.7 :025 >
```