solnic/virtus — pull request #87 by senny (2012-05-01 14:03:23+00:00)
Title: ValueObject should not be duplicated

This is a small addition to make `Virtus::ValueObjects` `#dup` and `#clone` methods return self. Since ValueObjects can't be mutated having multiple instances representing the same value makes no sense.
This is only a simple implementations and there are cases when we could reuse existing objects. I think it makes sense though to have these specs with a simple implementation.

The topic was discussed here: #62
The issue can be closed after merging this pull-request.

I also took the freedom to add `/bin` to the `.gitignore` file to ignore bundlers generated binstubs. Feel free to dump this commit if you don't agree ;)