Skip to content

Commit ba9ead8

Browse files
authored
DEV: Fix autoloading (#322)
A follow-up to e23c311 Fixes errors like: ``` NameError: uninitialized constant DiscourseDataExplorer::ValidationError # ./plugins/discourse-data-explorer/spec/lib/parameter_spec.rb:15:in `block (3 levels) in <main>' ```
1 parent e23c311 commit ba9ead8

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

lib/discourse_data_explorer/data_explorer.rb

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
# frozen_string_literal: true
22

33
module ::DiscourseDataExplorer
4-
class ValidationError < StandardError
5-
end
6-
74
module DataExplorer
85
# Used for ftype calls, see https://www.rubydoc.info/gems/pg/0.17.1/PG%2FResult:ftype
96
# and /usr/include/postgresql/server/catalog/pg_type_d.h
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# frozen_string_literal: true
2+
3+
module ::DiscourseDataExplorer
4+
class ValidationError < StandardError
5+
end
6+
end

0 commit comments

Comments
 (0)