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

Changes to relative_require #221

Merged
merged 3 commits into from
Jun 3, 2022
Merged

Changes to relative_require #221

merged 3 commits into from
Jun 3, 2022

Conversation

ehannes
Copy link
Member

@ehannes ehannes commented Jun 2, 2022

Changes all import inside the gem to require_relative to fix the problem with loading the current development version of the gem in Rake tasks.

I'm no big fan of the .../ that we have now. Not sure if we can do anything about that...

@ehannes ehannes requested a review from d-Pixie June 2, 2022 14:48
@codeclimate
Copy link

codeclimate bot commented Jun 2, 2022

Code Climate has analyzed commit bc87a3d and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (50% is the threshold).

This pull request will bring the total coverage in the repository to 98.4% (0.0% change).

View more on Code Climate.

require 'fortnox/api/types'
require 'fortnox/api/models/base'
require_relative 'base'
require_relative '..//types'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double slash

@ehannes ehannes mentioned this pull request Jun 3, 2022
@ehannes ehannes merged commit b553a84 into development Jun 3, 2022
@ehannes ehannes deleted the fix-relative-require branch June 3, 2022 07:02
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