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

JRuby compatibility #71

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

hoenic07
Copy link

@hoenic07 hoenic07 commented Jul 11, 2018

Since the Native Extension for the CRC was added, the SDK couldn't be used with JRuby anymore. In this PR the Native Extension was replaced with the CRC gem (https://github.com/dearblue/ruby-crc) if JRuby is used as Ruby platform. Nothing has changed for other platforms.

@CLAassistant
Copy link

CLAassistant commented Jul 11, 2018

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link

coveralls commented Jul 11, 2018

Coverage Status

Coverage decreased (-0.05%) to 98.329% when pulling 4ce07e3 on hoenic07:jruby-compatibility into 1d573e7 on aliyun:master.

@hoenic07
Copy link
Author

The test coverage seemed to decrease, because some lines are now only hit by JRuby and others only by other Ruby versions. So this shouldn't be an issue.

@hoenic07
Copy link
Author

Hi!
Are there any reasons why this can't be merged?

@@ -14,4 +14,4 @@
require_relative 'oss/object'
require_relative 'oss/bucket'
require_relative 'oss/client'
require_relative 'crcx'
require_relative 'crcx' unless RUBY_PLATFORM =~ /java/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a new line here

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hope I've added the new line as you imagined it

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