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

Multiple improvements to gem generic setup #107

Merged
merged 3 commits into from Oct 6, 2020
Merged

Conversation

nebolsin
Copy link
Member

@nebolsin nebolsin commented Oct 6, 2020

  • update deps
  • introduce common rake tasks
  • fix Travis configuration
  • cleanup and upgrade spec suite
  • reimplement rational price approximation to make it effective on JRuby (so that our base spec suite doesn't timeout on Travis)

Use stdlib `rationalize` method instead of the custom
implementation in `Util::ContinuedFraction`.

Primary motivation for this change was that `Util::ContinuedFraction`
is extremely slow when used with BigDecimal on JRuby, so that a single
test from our suite was unable to complete and timing out after 10
minutes on CI.

It's less code to maintain also.
@sonarcloud
Copy link

sonarcloud bot commented Oct 6, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 0 Security Hotspots to review)
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@nebolsin nebolsin merged commit 56bd541 into master Oct 6, 2020
@nebolsin nebolsin deleted the chore/maintenance branch October 30, 2020 18:06
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.

None yet

1 participant