diff --git a/Gemfile b/Gemfile index 1ec4eaac466c6f22dddbd9684417d51ef07830a7..7d63a5f50c0404982760984044895a86207b97c6 100644 --- a/Gemfile +++ b/Gemfile @@ -402,7 +402,6 @@ group :test do gem 'shoulda-matchers', '~> 4.0.1', require: false gem 'email_spec', '~> 2.2.0' - gem 'json-schema', '~> 2.8.0' gem 'webmock', '~> 3.5.1' gem 'rails-controller-testing' gem 'concurrent-ruby', '~> 1.1' @@ -497,3 +496,4 @@ gem 'valid_email', '~> 0.1' # JSON gem 'json', '~> 2.3.0' +gem 'json-schema', '~> 2.8.0' diff --git a/app/validators/json_schema_validator.rb b/app/validators/json_schema_validator.rb index 89dd660bc16491ca213b3cf07cdd5297f88a9c1b..f84186c9ced5dc230e033d302781072ea0f665fc 100644 --- a/app/validators/json_schema_validator.rb +++ b/app/validators/json_schema_validator.rb @@ -1,7 +1,5 @@ # frozen_string_literal: true - -require "json-schema" - +# # JsonSchemaValidator # # Custom validator for json schema.