Skip to content

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 hoenic07 force-pushed the jruby-compatibility branch from 23c8ebb to b99fa55 Compare July 11, 2018 11:05
@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?

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

@hoenic07 hoenic07 force-pushed the jruby-compatibility branch from 1dce4ad to 4ce07e3 Compare May 20, 2021 05:03
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