Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

any plans to check RUBY_PATCHLEVEL? #5

Open
bookshelfdave opened this issue Apr 22, 2014 · 1 comment
Open

any plans to check RUBY_PATCHLEVEL? #5

bookshelfdave opened this issue Apr 22, 2014 · 1 comment

Comments

@bookshelfdave
Copy link

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

@brixen
Copy link
Owner

brixen commented Apr 24, 2014

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants