mirror of
https://github.com/discourse/discourse-data-explorer.git
synced 2025-02-16 08:24:47 +00:00
DEV: Fix autoloading (#322)
A follow-up to e23c31195b097223f030800614b55d09bf54d086 Fixes errors like: ``` NameError: uninitialized constant DiscourseDataExplorer::ValidationError # ./plugins/discourse-data-explorer/spec/lib/parameter_spec.rb:15:in `block (3 levels) in <main>' ```
This commit is contained in:
parent
e23c31195b
commit
ba9ead855e
@ -1,9 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module ::DiscourseDataExplorer
|
||||
class ValidationError < StandardError
|
||||
end
|
||||
|
||||
module DataExplorer
|
||||
# Used for ftype calls, see https://www.rubydoc.info/gems/pg/0.17.1/PG%2FResult:ftype
|
||||
# and /usr/include/postgresql/server/catalog/pg_type_d.h
|
||||
|
6
lib/discourse_data_explorer/validation_error.rb
Normal file
6
lib/discourse_data_explorer/validation_error.rb
Normal file
@ -0,0 +1,6 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module ::DiscourseDataExplorer
|
||||
class ValidationError < StandardError
|
||||
end
|
||||
end
|
Loading…
x
Reference in New Issue
Block a user