brixen/redcard

any plans to check RUBY_PATCHLEVEL?

Opened this issue · 1 comments

sorry if this is the wrong forum for questions - I'm trying to constrain an app to use > ruby 1.9.3p0 and was wondering if there's any reason that RedCard doesn't support this yet.

Cheers -
Dave

RubySpec does support the MRI patchlevel, which has semantic meaning as MRI has changed behavior in a patchlevel. While I find that quite annoying, we should be able to support it without too much trouble. This code already should support it https://github.com/brixen/redcard/blob/master/lib/redcard/version.rb#L36 so we just need to append RUBY_PATCHLEVEL to RUBY_VERSION.