voxpupuli / json-schema

Ruby JSON Schema Validator
MIT License
1.52k stars 241 forks source link

Force json version to 2.2.0 for ruby lower than 2.0 #445

Closed h0lyalg0rithm closed 2 years ago

h0lyalg0rithm commented 3 years ago

Json 2.3.0 uses some new features which are only present in ruby 2.0 and above. I have updated the Gemfile to prevent users of ruby 1.9 to install the newer json library and run in to runtime issues

h0lyalg0rithm commented 3 years ago

@Vasfed What do you think about this?

h0lyalg0rithm commented 3 years ago

@iainbeeston @kylog @jarib

Vasfed commented 3 years ago

Ruby 1.9 EOL was in 2015, I think we should drop support for it

pboling commented 3 years ago

https://github.com/ruby-json-schema/json-schema/issues/423#issuecomment-634811990

bastelfreak commented 2 years ago

Hi, I'm going to close this PR. The master branch currently only supports Ruby 2.5 and newer.