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 support! #168

Merged
merged 5 commits into from
Nov 20, 2017
Merged

JRuby support! #168

merged 5 commits into from
Nov 20, 2017

Conversation

mach-kernel
Copy link
Contributor

Hi everyone,

I've been using this library's Bayes classifier for a while and didn't really see any reason why it wasn't possible to use in JRuby other than the dependency of fast_stemmer. I found that someone made a wrapper around the Porter Stemmer reference. I'm using my fork because of some import issues, but otherwise it is unchanged from the original.

It appears that all the tests pass. I am happy to test other functionality and write some docs for this.

Thanks much!

@mach-kernel mach-kernel force-pushed the jruby-support branch 4 times, most recently from 9e67aa2 to 430047b Compare November 20, 2017 01:15
@Ch4s3
Copy link
Member

Ch4s3 commented Nov 20, 2017

@mach-kernel Awesome! Thanks for the contribution. Could you remove the change to lib/classifier-reborn/version.rb I'll bump the version on the next release. Could you also update the docs with any necessary setup or general info about jRuby usage?

@mach-kernel mach-kernel force-pushed the jruby-support branch 3 times, most recently from 342cee9 to d3bea6b Compare November 20, 2017 02:41
@mach-kernel
Copy link
Contributor Author

@Ch4s3 Travis seems to be happy now, I made the requested changes. As for the gem, I think you can push out different versions per platform and retain the same name but it's difficult to orchestrate. Note that the other *.gemspec has a gem name of classifier-reborn-jruby. Otherwise, everything else, including require 'classifier-reborn' should work business as usual.

@Ch4s3
Copy link
Member

Ch4s3 commented Nov 20, 2017

Excellent! I'll take a look tomorrow

@Ch4s3 Ch4s3 merged commit 1416fc3 into jekyll:master Nov 20, 2017
@Ch4s3
Copy link
Member

Ch4s3 commented Nov 20, 2017

Thanks @mach-kernel! I'll try to roll a release soon.

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.

2 participants