Closed dpep closed 4 years ago
@dpep I suppose, you are suggesting these changes because of error on upgrading to ruby 2.7.x
. Could you please also add 2.7.1
entry here and exclude it from build matrix with old activesupport versions like it is done for 2.6.0?
BTW ruby 2.7
also raises deprecation warnings on kwargs for create and update methods in Requestor
. Removing curly braces resolves the warning.
@sharshenov Thanks for jumping in to help! I pulled in a gem that depended on BigDecimal v2, which caused the trouble. Similarly, Ruby 2.7 ships with that version, which looks like it breaks activesupport 3 and 4 also. I updated the travis matrix per your request
Details: https://github.com/ruby/bigdecimal#which-version-should-you-select
I'll look into the create/update deprecation warning and may follow up in a separate PR if that's ok? Anything else you want to see here?
@sharshenov fixed those warning in https://github.com/JsonApiClient/json_api_client/pull/371
Huge thanks! I was investigating the BigDecimal problem with ruby 2.7 and was going to push my fix, but then I saw your PR :1st_place_medal:
@gaorlov : mind taking a look at this change as well? any changes you'd like to see here?
@dpep @sharshenov 1.17.1
is now live
BigDecimal 2.0 no longer supports
.new
. looks like json_api_client uses bothBigDecimal(x)
andBigDecimal.new(x)
- mind if we upgrade these last few calls?