Skip to content

Commit

Permalink
Remove unused DQT module
Browse files Browse the repository at this point in the history
This code isn't used anywhere so....
  • Loading branch information
steventux committed May 14, 2024
1 parent 792f2e2 commit 34801e7
Show file tree
Hide file tree
Showing 16 changed files with 0 additions and 625 deletions.
12 changes: 0 additions & 12 deletions config/initializers/dqt.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
# frozen_string_literal: true

require "dqt"

DQT.configure do |config|
def json_to_hash(json)
JSON.parse(json.gsub("=>", ":"), symbolize_names: true)
end

config.client.headers = { Authorization: Rails.application.config.dqt_client_api_key } if Rails.application.config.respond_to?(:dqt_client_api_key)
config.client.host = Rails.application.config.dqt_client_host if Rails.application.config.respond_to?(:dqt_client_host)
config.client.params = json_to_hash(Rails.application.config.dqt_client_params) if Rails.application.config.respond_to?(:dqt_client_params) && Rails.application.config.dqt_client_params.present?
end

require "full_dqt"
21 changes: 0 additions & 21 deletions lib/dqt/api.rb

This file was deleted.

21 changes: 0 additions & 21 deletions lib/dqt/api/v1.rb

This file was deleted.

48 changes: 0 additions & 48 deletions lib/dqt/api/v1/dqt_record.rb

This file was deleted.

48 changes: 0 additions & 48 deletions lib/dqt/client.rb

This file was deleted.

22 changes: 0 additions & 22 deletions lib/dqt/client/response.rb

This file was deleted.

12 changes: 0 additions & 12 deletions lib/dqt/client/response_error.rb

This file was deleted.

19 changes: 0 additions & 19 deletions lib/dqt/configuration.rb

This file was deleted.

107 changes: 0 additions & 107 deletions spec/lib/dqt/api/v1/dqt_record_spec.rb

This file was deleted.

21 changes: 0 additions & 21 deletions spec/lib/dqt/api/v1_spec.rb

This file was deleted.

21 changes: 0 additions & 21 deletions spec/lib/dqt/api_spec.rb

This file was deleted.

Loading

0 comments on commit 34801e7

Please sign in to comment.