brandur / json_schema

A JSON Schema V4 and Hyperschema V4 parser and validator.
MIT License
230 stars 45 forks source link

remove filename gate, fixes #118 #119

Closed slhck closed 5 years ago

slhck commented 5 years ago

Remove the filename gate in validate-schema and update the test to use ruby's "-c" option to test the syntax.

The filename gate in validate-schema causes problems when it is installed as a binstub via RubyGems, since in this case the program will not execute. This has been described in #118, and it is detailed in https://github.com/rbenv/rbenv/issues/1178

brandur commented 5 years ago

No worries at all. Thanks for the fix!

brandur commented 5 years ago

Ugh, sorry I'm trying to release this, but got stuck — I enabled MFA a few weeks back on Rubygems after rest-client's compromise, which isn't supported by older Bundler versions, and I can't upgrade to a Bundler that does support it because of the utter catastrophe which is Bundler 2. I'll spend a little more time on it tonight.

slhck commented 5 years ago

Eh, no worries. I haven't released a Gem in several years, so I'm not of much help I guess. Good luck!

brandur commented 5 years ago

Okay, finally got it — released as 0.20.8!