FIX: Use top-level namespace for base classes (#45)

FIX: Use top-level namespace for base classes (#45)

diff --git a/app/jobs/onceoff/voting_ensure_consistency.rb b/app/jobs/onceoff/voting_ensure_consistency.rb
index 7d0fac6..ece3652 100644
--- a/app/jobs/onceoff/voting_ensure_consistency.rb
+++ b/app/jobs/onceoff/voting_ensure_consistency.rb
@@ -1,7 +1,7 @@
 # frozen_string_literal: true
 
 module Jobs
-  class VotingEnsureConsistency < Jobs::Onceoff
+  class VotingEnsureConsistency < ::Jobs::Onceoff
     def execute_onceoff(args)
       aliases = {
         vote_count: DiscourseVoting::VOTE_COUNT,
diff --git a/plugin.rb b/plugin.rb
index fcb91a8..29fe24d 100755
--- a/plugin.rb
+++ b/plugin.rb
@@ -290,7 +290,7 @@ after_initialize do
   require_dependency "jobs/base"
   module ::Jobs
 
-    class VoteRelease < Jobs::Base
+    class VoteRelease < ::Jobs::Base
       def execute(args)
         if topic = Topic.find_by(id: args[:topic_id])
           UserCustomField.where(name: DiscourseVoting::VOTES, value: args[:topic_id]).find_each do |user_field|
@@ -304,7 +304,7 @@ after_initialize do
       end
     end
 
-    class VoteReclaim < Jobs::Base
+    class VoteReclaim < ::Jobs::Base
       def execute(args)
         if topic = Topic.find_by(id: args[:topic_id])
           UserCustomField.where(name: DiscourseVoting::VOTES_ARCHIVE, value: topic.id).find_each do |user_field|

GitHub sha: 6bb3d188