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

Money#allocate calculates weights already #2836

Merged
merged 3 commits into from
Sep 4, 2018

Conversation

huoxito
Copy link
Contributor

@huoxito huoxito commented Sep 1, 2018

Related to 3f027e2. Assuming build is still green for both monetize 1.8 and 1.9 we can loose that dependency again.

@huoxito
Copy link
Contributor Author

huoxito commented Sep 1, 2018

also related RubyMoney/monetize#118 (comment)

Copy link
Member

@kennyadsl kennyadsl left a comment

Choose a reason for hiding this comment

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

That's great @huoxito. Thank you!

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Why do we need to also raise the version?

@@ -35,7 +35,7 @@ Gem::Specification.new do |s|
s.add_dependency 'discard', '~> 1.0'
s.add_dependency 'friendly_id', '~> 5.0'
s.add_dependency 'kaminari-activerecord', '~> 1.1'
s.add_dependency 'monetize', '~> 1.8.0'
s.add_dependency 'monetize', '~> 1.9'
Copy link
Member

Choose a reason for hiding this comment

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

1.8 does not work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@tvdeyen it does indeed, we don't have to raise the version I can add it back to ~> 1.8 let me konw

Copy link
Member

Choose a reason for hiding this comment

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

Yes. Please. We want to be as conservative as possible with dependencies

@huoxito
Copy link
Contributor Author

huoxito commented Sep 4, 2018

I've set monetize back to ~> 1.8 thanks

Copy link
Member

@tvdeyen tvdeyen left a comment

Choose a reason for hiding this comment

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

Thank you

@tvdeyen tvdeyen merged commit 9d836a4 into solidusio:master Sep 4, 2018
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.

3 participants