DEV: Fix autoloading (#322)
A follow-up to e23c31195b
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
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module ::DiscourseDataExplorer
|
module ::DiscourseDataExplorer
|
||||||
class ValidationError < StandardError
|
|
||||||
end
|
|
||||||
|
|
||||||
module DataExplorer
|
module DataExplorer
|
||||||
# Used for ftype calls, see https://www.rubydoc.info/gems/pg/0.17.1/PG%2FResult:ftype
|
# 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
|
# and /usr/include/postgresql/server/catalog/pg_type_d.h
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
module ::DiscourseDataExplorer
|
||||||
|
class ValidationError < StandardError
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in New Issue