chargebee / chargebee-ruby

Ruby library for the Chargebee API.

Home Page:https://apidocs.chargebee.com/docs/api?lang=ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upgrading rest-client from 2.0.2 to 2.1.0 breaks lots of requests with change in utf-8 encoding

tomurb opened this issue · comments

Just in case you're not aware
rest-client/rest-client#740

I had to set rest-client in my Gemfile to 2.0.2 to avoid this issue.

An update today from chargebee (2.8.5) to chargebee (2.8.6) changed
-rest-client (2.0.2)
+rest-client (2.1.0)

This now breaks a lot of encoding as per this issue

  1. Version update 2.8.6 doesn't deal with any changes to the dependency rest-client.
  2. The rest-client was added as dependancy '>= 1.8', '< 3.0' and this change happened 4 years ago.

An update today from chargebee (2.8.5) to chargebee (2.8.6) changed
-rest-client (2.0.2)
+rest-client (2.1.0)

This now breaks a lot of encoding as per this issue

  1. Version update 2.8.6 doesn't deal with any changes to the dependency rest-client.
  2. The rest-client was added as dependancy '>= 1.8', '< 3.0' and this change happened 4 years ago.

My git diff begs to differ, this is bundle update chargbee taking 2.8.5 to 2.8.6, you can see that the rest-client bumps from 2.0.2 to 2.1.0 which is a minor version change, however it was actually a major change as per rest-client/rest-client#740

Screen Shot 2021-06-10 at 9 05 12 AM

@scottbarrow I'm looking into this. Will give you an update soon.

This has been fixed with version 2.8.7.