chancancode / json_expressions

JSON matchmaking for all your API testing needs.
MIT License
415 stars 38 forks source link

Add support for unified Integer class #38

Closed Jeehut closed 7 years ago

Jeehut commented 7 years ago

Ruby 2.4 first deprecates the Fixnum and Bignum classes in favor of the new Integer class, which unifies both into one. When using this gem in Ruby 2.4.0 I get the following warnings:

.rvm/gems/ruby-2.4.0/gems/json_expressions-0.8.3/lib/json_expressions/matcher.rb:175: warning: constant ::Fixnum is deprecated

Adding support for the Integer seems to be missing.

iamliamnorton commented 7 years ago

PR submitted https://github.com/chancancode/json_expressions/pull/39 to address this issue.

MiroslavCsonka commented 7 years ago

Closed by https://github.com/chancancode/json_expressions/pull/39