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

Fix v2.0.4 sage #31

Merged
merged 4 commits into from
Jul 29, 2024
Merged

Fix v2.0.4 sage #31

merged 4 commits into from
Jul 29, 2024

Conversation

angelasilva
Copy link
Member

@angelasilva angelasilva commented Jul 22, 2024

Description

With the merging of the original zuora repository into the forked repository, a lot of breaking changes were introduced which then caused the zuora integrations with our apps to stop working as expected.

Resolution Approach

We took an older working version and added the minimum required changes to resolve the dependency errors experienced without bringing the whole breaking changes into this branch.

Copy link

@ianoxley ianoxley left a comment

Choose a reason for hiding this comment

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

Note that there's a savon v3 release imminent, which replaces HTTPI with Faraday.

lib/zuora/objects/invoice_payment.rb Show resolved Hide resolved
lib/zuora/objects/payment.rb Show resolved Hide resolved
lib/zuora/objects/payment_method.rb Show resolved Hide resolved
lib/zuora/objects/product.rb Show resolved Hide resolved
lib/zuora/objects/refund_invoice_payment.rb Show resolved Hide resolved
lib/zuora/objects/subscribe_request.rb Show resolved Hide resolved
lib/zuora/objects/subscribe_request.rb Show resolved Hide resolved
lib/zuora/api.rb Show resolved Hide resolved
lib/zuora/api.rb Show resolved Hide resolved
zuora.gemspec Outdated
@@ -31,6 +31,7 @@ Gem::Specification.new do |s|
s.add_development_dependency 'rspec'
s.add_development_dependency 'simplecov'
s.add_development_dependency 'test-unit'
s.add_development_dependency 'timecop'
s.add_development_dependency 'yard'
s.add_dependency 'akami'
s.add_dependency 'httpi'
Copy link

@ianoxley ianoxley Jul 25, 2024

Choose a reason for hiding this comment

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

Can we remove httpi as a dependency please? That is a dependency of savon < 3.

Can we change the savon dependency to guard against using v3.0.0 when it's released? That version replaces httpi with faraday and contains breaking changes.

s.add_dependency 'savon', '< 3'

Choose a reason for hiding this comment

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

Addressed in this commit a8aa20d

@banjoko01 banjoko01 merged commit 333589a into master Jul 29, 2024
6 checks passed
@ianoxley ianoxley deleted the fix_v2.0.4-sage branch July 29, 2024 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants