-
Notifications
You must be signed in to change notification settings - Fork 69
JRuby compatibility #71
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
base: master
Are you sure you want to change the base?
Conversation
1f5f096
to
934457e
Compare
23c8ebb
to
b99fa55
Compare
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. |
Hi! |
require_relative 'oss/bucket' | ||
require_relative 'oss/client' | ||
require_relative 'crcx' | ||
require_relative 'crcx' unless RUBY_PLATFORM =~ /java/ |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
1dce4ad
to
4ce07e3
Compare
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.