Skip to content

Commit

Permalink
Fixed the logic of importing gems into the validator (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonovk authored Jul 29, 2024
1 parent 7f1eedd commit 443ac5a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/clients_validator.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# frozen_string_literal: true

require 'json-schema'

# class for validating input data from the user
class ClientsValidator
attr_accessor :params
Expand Down
1 change: 1 addition & 0 deletions config/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
require 'ipaddr'
require 'fileutils'
require 'ruby_units/namespaced'
require 'json-schema'

env = ENV.fetch('ENVIRONMENT', 'development')
Config.load_and_set_settings("config/settings/#{env}.yaml")
Expand Down
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
require 'fileutils'
require 'ruby_units/namespaced'
require 'byebug'
require 'json-schema'

Config.load_and_set_settings('config/settings/test.yaml')

Expand Down

0 comments on commit 443ac5a

Please sign in to comment.