Skip to content

JRuby compatibility - #71

Open
hoenic07 wants to merge 5 commits into
aliyun:masterfrom
hoenic07:jruby-compatibility
Open

JRuby compatibility#71
hoenic07 wants to merge 5 commits into
aliyun:masterfrom
hoenic07:jruby-compatibility

Conversation

@hoenic07

@hoenic07 hoenic07 commented Jul 11, 2018

Copy link
Copy Markdown

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

CLAassistant commented Jul 11, 2018

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Niklas Hösl seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@coveralls

coveralls commented Jul 11, 2018

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Author

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

Comment thread lib/aliyun/oss.rb
require_relative 'oss/bucket'
require_relative 'oss/client'
require_relative 'crcx'
require_relative 'crcx' unless RUBY_PLATFORM =~ /java/ No newline at end of file

Copy link
Copy Markdown

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
Copy Markdown
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