semantic
semantic copied to clipboard
Ruby Semantic Version class
README is a bit out of date now and doesn't show some of the new features added by people since it was last updated.
This is what I get: ``` rake aborted! TypeError: can't dup NilClass /Library/Ruby/Gems/2.0.0/gems/semantic-1.4.1/lib/semantic/version.rb:52:in `dup' /Library/Ruby/Gems/2.0.0/gems/semantic-1.4.1/lib/semantic/version.rb:52:in `' /Users/plundberg/git/mforms-addons-platform/Rakefile:25:in `sort' ``` Too lazy/busy to make a failing spec for it at the...
see the following: ```ruby Semantic::Version.new('1.0.0') == '1.0.0' # true '1.0.0' == Semantic::Version.new('1.0.0') # false ``` IMO this should returns the same value. Surprising behaviors should be avoided at all cost...