Skip to content

Conversation

@matid
Copy link
Contributor

@matid matid commented Dec 29, 2025

This change addresses two deprecation warnings that can be seen on master when running bundle exec rspec:

  1. HTTParty warns that response#nil? will no longer be overridden in future versions. The code is currently using response.nil? in specs, which should be changed to response.body.nil? || response.body.empty?
  2. The ostruct library is used in lib/currency_cloud/pagination.rb:1 and won't be part of default gems starting from Ruby 3.5.0. It was added as an explicit dependency to gemspec.

This change addresses two deprecation warnings that can be seen on `master` when running `bundle exec rspec`:

1. HTTParty warns that response#nil? will no longer be overridden in future versions. The code is currently using response.nil? in specs, which should be changed to response.body.nil? || response.body.empty?
2. The ostruct library is used in lib/currency_cloud/pagination.rb:1 and won't be part of default gems starting from Ruby 3.5.0. It was addedd as an explicit dependency to gemspec.
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.

1 participant