8000 Native extension aliases by jdantonio · Pull Request #153 · ruby-concurrency/concurrent-ruby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Native extension aliases #153

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

Merged
merged 6 commits into from
Aug 12, 2014
Merged

Native extension aliases #153

merged 6 commits into from
Aug 12, 2014

Conversation

jdantonio
Copy link
Member

Fix bug #150

We recently discovered that Rubinius installs the gem version with pre-compiled extensions. The internal guard logic assumed that the C-native build would only be installed under MRI. As a result we were experiencing unintended behavior on Rubinius. This PR addresses this issue by adding more robust guard clauses, attempting to ensure that C extensions are only loaded on MRI, regardless of what platform a particular interpreter reports.

Because the release of 0.7.0 was put on hold, the guard clauses are very brute-force. They can probably be cleaned up in a later release.

NOTE: It has been suggested that we consider using a gem called Redcard for the guard functionality. This gem was unknown to us until yesterday. At this time we have explicitly decided to not include an external gem dependencies. We will consider using Redcard in a future release.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) when pulling 40381b9 on native-extension-aliases into eae6e90 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.16%) when pulling 23e2358 on native-extension-aliases into eae6e90 on master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) when pulling 3ee6d2a on native-extension-aliases into eae6e90 on master.

jdantonio added a commit that referenced this pull request Aug 12, 2014
Fix bug #150 -- Erroneous C extension behavior on Rubinius.
@jdantonio jdantonio merged commit 98fb1e3 into master Aug 12, 2014
@brixen
Copy link
Contributor
brixen commented Aug 12, 2014

The suggested gem is redcard. The redcarpet gem is a Markdown processor.

@pitr-ch
Copy link
Member
pitr-ch commented Aug 13, 2014

I would not mind to include redcard. It seems very reasonable and it does not have any other dependencies.

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

Successfully merging this pull request may close these issues.

4 participants
0