CyberSource / cybersource-rest-client-ruby

Ruby client library for the CyberSource REST API
Other
6 stars 36 forks source link

Cybersource not working with Activesupport-6.0 #46

Closed Shaheryar-Imtiaz closed 2 years ago

Shaheryar-Imtiaz commented 4 years ago

Cybersource depends on activesupport ~> 5.2, >= 5.2.0, while rails-6.0.3.2 depends on version activesupport-6.0.3.2. because of activesupport version conflict I can't use cybersource in my application. I can't downgrade rails version so Kindly provide gem support for activesupport higher versions than 5.* . Just for reference i am using ruby version 2.7.0 and rails version 6.0.3.2.

gnongsie commented 3 years ago

Hi @Shaheryar-Imtiaz

Thank you for reaching out to us.

I am taking a look at this and hopefully, I'll be able to provide you with a solution soon.

-- Gabriel

base10 commented 3 years ago

My app is running into the same issue.

@gnongsie Would it be feasible to specify a range of applicable activesupport versions, or to specify 5.2 as the minimum, but not otherwise restrict what versions could be used?

Alternatively, would it be feasible to drop the requirement for activesupport altogether? It's not critical in my case since I'm already using this in a Rails app, but, it is a very large dependency to introduce if you aren't using Rails.

gnongsie commented 2 years ago

@Shaheryar-Imtiaz : I believe this has been fixed. I will be closing this issue.

@base10 : Thank you for bringing this up. Kindly raise a fresh issue for this. I will need to discuss the implications of this before I commit to a fix. An issue will help to keep the discussion alive.